Change-Id: I5e3cbac5caa483dfebd17444d9fb98e1adf1fdff
Reviewed-on: https://skia-review.googlesource.com/7267
Commit-Queue: Mike Klein <mtklein@chromium.org>
Reviewed-by: Herb Derby <herb@google.com>
static inline bool append_gamut_transform(SkRasterPipeline* p, SkArenaAlloc* scratch,
SkColorSpace* src, SkColorSpace* dst) {
- struct matrix_3x4 { float arr[12]; };
- return append_gamut_transform(p, scratch->make<matrix_3x4>()->arr, src, dst);
+ return append_gamut_transform(p, scratch->makeArrayDefault<float>(12), src, dst);
}
static inline SkColor4f SkColor4f_from_SkColor(SkColor color, SkColorSpace* dst) {