diff options
author | 2017-03-31 10:03:45 -0400 | |
---|---|---|
committer | 2017-03-31 16:11:30 +0000 | |
commit | f7a7261b4ac23f97580a8ff6f0307b3c47399b9d (patch) | |
tree | 3d50ff5737ce2dd1f45c05b3de6814ec6a589d59 /src/gpu/GrResourceProvider.cpp | |
parent | 9bd301d640ff63c280b202c7dd00bc00a3315ff4 (diff) |
Add tracking of unique proxyID beside unique renderTargetID in auditTrail and clearOp
Split out of: https://skia-review.googlesource.com/c/10284/ (Omnibus: Remove GrSurface-derived classes from ops)
Change-Id: I5845a47d94decc455ec3b1f0a5876b1c82aa32e8
Reviewed-on: https://skia-review.googlesource.com/10750
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/GrResourceProvider.cpp')
-rw-r--r-- | src/gpu/GrResourceProvider.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrResourceProvider.cpp b/src/gpu/GrResourceProvider.cpp index 407fffb079..42f5e29d71 100644 --- a/src/gpu/GrResourceProvider.cpp +++ b/src/gpu/GrResourceProvider.cpp @@ -43,7 +43,7 @@ GrResourceProvider::GrResourceProvider(GrGpu* gpu, GrResourceCache* cache, GrSin fQuadIndexBufferKey = gQuadIndexBufferKey; } -bool GrResourceProvider::IsFunctionallyExact(GrTextureProxy* proxy) { +bool GrResourceProvider::IsFunctionallyExact(GrSurfaceProxy* proxy) { return proxy->priv().isExact() || (SkIsPow2(proxy->width()) && SkIsPow2(proxy->height())); } |