From 1fabd51f585383b0f7b8f82c4489989e9379627b Mon Sep 17 00:00:00 2001 From: Brian Salomon Date: Fri, 9 Feb 2018 09:54:25 -0500 Subject: Track dirty rects on GrRenderTargets in native space rather than origin-relative Change-Id: Icccf2fcb5d468696c42c5a0ccf405e30e5e9bc65 Reviewed-on: https://skia-review.googlesource.com/105980 Commit-Queue: Brian Salomon Reviewed-by: Robert Phillips --- src/gpu/vk/GrVkGpuCommandBuffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gpu/vk/GrVkGpuCommandBuffer.cpp') diff --git a/src/gpu/vk/GrVkGpuCommandBuffer.cpp b/src/gpu/vk/GrVkGpuCommandBuffer.cpp index 52dfede267..f6ef5a7920 100644 --- a/src/gpu/vk/GrVkGpuCommandBuffer.cpp +++ b/src/gpu/vk/GrVkGpuCommandBuffer.cpp @@ -562,7 +562,7 @@ static void prepare_sampled_images(const GrResourceIOProcessor& processor, GrVkG // We may need to resolve the texture first if it is also a render target GrVkRenderTarget* texRT = static_cast(vkTexture->asRenderTarget()); if (texRT) { - gpu->onResolveRenderTarget(texRT, sampler.proxy()->origin()); + gpu->onResolveRenderTarget(texRT); } // Check if we need to regenerate any mip maps -- cgit v1.2.3