Rename GrColorSpaceInfo -> GrColorInfo
Add version SkImageInfo::Make() that takes SkISize instead of separate
width and height.
Change-Id: I42aa79d23b19e22f5405631728c245b04bce0559
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/245172
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
diff --git a/src/gpu/GrBlurUtils.cpp b/src/gpu/GrBlurUtils.cpp
index 130d840..71a54bd 100644
--- a/src/gpu/GrBlurUtils.cpp
+++ b/src/gpu/GrBlurUtils.cpp
@@ -411,8 +411,8 @@
if (maskRTC) {
filteredMask = maskFilter->filterMaskGPU(context,
maskRTC->asTextureProxyRef(),
- maskRTC->colorSpaceInfo().colorType(),
- maskRTC->colorSpaceInfo().alphaType(),
+ maskRTC->colorInfo().colorType(),
+ maskRTC->colorInfo().alphaType(),
viewMatrix,
maskRect);
SkASSERT(kTopLeft_GrSurfaceOrigin == filteredMask->origin());
@@ -459,8 +459,7 @@
}
GrPaint grPaint;
- if (!SkPaintToGrPaint(context, renderTargetContext->colorSpaceInfo(), paint, viewMatrix,
- &grPaint)) {
+ if (!SkPaintToGrPaint(context, renderTargetContext->colorInfo(), paint, viewMatrix, &grPaint)) {
return;
}