From 294870ff119b89fc902773643b054f14e5d1f554 Mon Sep 17 00:00:00 2001 From: Robert Phillips Date: Fri, 11 Nov 2016 12:38:40 -0500 Subject: Add explicit UniqueID classes for GrGpuResource & GrSurfaceProxy This sets the stage for using the Proxy's/RenderTargetContext's ID above the flush and the RenderTarget's/GrGpuResource's below the flush. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4650 Change-Id: I9f1e6b00c02a0691d90b58c49e1d8c60684884c1 Reviewed-on: https://skia-review.googlesource.com/4650 Commit-Queue: Robert Phillips Reviewed-by: Brian Salomon --- src/gpu/effects/GrSingleTextureEffect.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gpu/effects') diff --git a/src/gpu/effects/GrSingleTextureEffect.h b/src/gpu/effects/GrSingleTextureEffect.h index 7d110bf2ae..12b3a8f791 100644 --- a/src/gpu/effects/GrSingleTextureEffect.h +++ b/src/gpu/effects/GrSingleTextureEffect.h @@ -26,7 +26,7 @@ public: SkString dumpInfo() const override { SkString str; - str.appendf("Texture: %d", fTextureAccess.getTexture()->uniqueID()); + str.appendf("Texture: %d", fTextureAccess.getTexture()->uniqueID().asUInt()); return str; } -- cgit v1.2.3