diff options
author | robertphillips <robertphillips@google.com> | 2016-08-31 14:04:06 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-08-31 14:04:06 -0700 |
commit | 8abb370aca280516f4861c6c942ec453aad018fa (patch) | |
tree | b7e1c12fab48df526ba92763add2aca80806d554 /src/gpu/effects | |
parent | bde96c6263112de755a2573f6f5f02703386f328 (diff) |
Have GrSurfaceProxys and GrGpuResources draw from the same pool of unique ids
The idea here is that, for wrapped Proxy objects, we want the uniqueID to reflect that of the wrapped object. For this to work the IDs for the non-wrapped versions can't conflict with GrGpuResource's pool of IDs.
Split off of: https://codereview.chromium.org/2215323003/ (Start using RenderTargetProxy (omnibus))
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2301523003
Review-Url: https://codereview.chromium.org/2301523003
Diffstat (limited to 'src/gpu/effects')
-rw-r--r-- | src/gpu/effects/GrSingleTextureEffect.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/effects/GrSingleTextureEffect.h b/src/gpu/effects/GrSingleTextureEffect.h index ae7c69426f..65b515aba2 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()->getUniqueID()); + str.appendf("Texture: %d", fTextureAccess.getTexture()->uniqueID()); return str; } |