From 2a4f983c94e4f749fe24b08bc8b5ae7cc8550d1d Mon Sep 17 00:00:00 2001 From: Brian Salomon Date: Sat, 3 Mar 2018 22:43:43 -0500 Subject: Remove GrSurfaceOrigin from GrSurfaceDesc. This field has no interpretation at the GrTexture/GrGpu as the orientation is handled at the GrSurfaceProxy level. This change requires GrGpu to accept a GrSurfaceOrigin when creating a texture with initial data. The origin refers to the texel data to be uploaded. Longer term the plan is to remove this and require the data to be kTopLeft. Additionally, kBottomLeft will only be allowed for wrapped texture/RTs as this evolves. Change-Id: I7d25b0199aafd9bf3b74c39b2cae451acadcd772 Reviewed-on: https://skia-review.googlesource.com/111806 Reviewed-by: Robert Phillips Commit-Queue: Brian Salomon --- tests/BlendTest.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'tests/BlendTest.cpp') diff --git a/tests/BlendTest.cpp b/tests/BlendTest.cpp index 3ac7e3c41c..5332b10149 100644 --- a/tests/BlendTest.cpp +++ b/tests/BlendTest.cpp @@ -89,7 +89,6 @@ static sk_sp create_gpu_surface_backend_texture_as_render_target( sk_sp* backingSurface) { GrSurfaceDesc backingDesc; backingDesc.fFlags = kRenderTarget_GrSurfaceFlag; - backingDesc.fOrigin = origin; backingDesc.fWidth = width; backingDesc.fHeight = height; backingDesc.fConfig = config; -- cgit v1.2.3