From 467022b1861033d968195687da15270c208279ff Mon Sep 17 00:00:00 2001 From: Robert Phillips Date: Fri, 21 Jul 2017 08:44:46 -0400 Subject: Reduce dependence on GrSurface's origin field Unfortunately, GrGPU and its ilk are still using the GrSurface's origin a lot. I will clean that up in a second CL. Change-Id: Iba729440ce8ea8d24bb7f4e5de55ed576a0f176d Reviewed-on: https://skia-review.googlesource.com/24700 Commit-Queue: Robert Phillips Reviewed-by: Brian Salomon --- gm/texturedomaineffect.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'gm/texturedomaineffect.cpp') diff --git a/gm/texturedomaineffect.cpp b/gm/texturedomaineffect.cpp index 3fa835bd65..68260dee0f 100644 --- a/gm/texturedomaineffect.cpp +++ b/gm/texturedomaineffect.cpp @@ -86,6 +86,7 @@ protected: } GrSurfaceDesc desc; + desc.fOrigin = kTopLeft_GrSurfaceOrigin; desc.fWidth = fBmp.width(); desc.fHeight = fBmp.height(); desc.fConfig = SkImageInfo2GrPixelConfig(fBmp.info(), *context->caps()); -- cgit v1.2.3