From 16d8ec66cdce2f30ce89b87066d3ac7a244c460d Mon Sep 17 00:00:00 2001 From: Robert Phillips Date: Thu, 27 Jul 2017 16:16:25 -0400 Subject: Pull non-substantive changes out of omnibus GrSurface CL https://skia-review.googlesource.com/c/26363 (Remove origin field from GrSurface) is already too large. This pulls some of the cosmetic changes out for separate review. Change-Id: I1d8b95522144b2f4cbd916ef38faa3dde6f78087 Reviewed-on: https://skia-review.googlesource.com/27840 Reviewed-by: Brian Salomon Commit-Queue: Robert Phillips --- tests/ProcessorTest.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/ProcessorTest.cpp') diff --git a/tests/ProcessorTest.cpp b/tests/ProcessorTest.cpp index e2840cef5f..ec157f9003 100644 --- a/tests/ProcessorTest.cpp +++ b/tests/ProcessorTest.cpp @@ -145,10 +145,11 @@ void testingOnly_getIORefCnts(GrTextureProxy* proxy, int* refCnt, int* readCnt, DEF_GPUTEST_FOR_ALL_CONTEXTS(ProcessorRefTest, reporter, ctxInfo) { GrContext* context = ctxInfo.grContext(); - GrTextureDesc desc; - desc.fConfig = kRGBA_8888_GrPixelConfig; + GrSurfaceDesc desc; + desc.fOrigin = kTopLeft_GrSurfaceOrigin; desc.fWidth = 10; desc.fHeight = 10; + desc.fConfig = kRGBA_8888_GrPixelConfig; for (int parentCnt = 0; parentCnt < 2; parentCnt++) { sk_sp renderTargetContext(context->makeDeferredRenderTargetContext( -- cgit v1.2.3