aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/private/GrSurfaceProxy.h
diff options
context:
space:
mode:
authorGravatar Chris Dalton <csmartdalton@google.com>2017-11-29 11:32:18 -0700
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-11-29 19:02:45 +0000
commitc666502bc6975a73ef352d673b151017a21e8562 (patch)
treefd2b693b80a8fedaff81bac3cd4e1f048abc0519 /include/private/GrSurfaceProxy.h
parent0425febe6132a0e2824efbbd323efb2a71504776 (diff)
Make sure to visit clips and dst proxies during gather
Bug: skia:7190 Change-Id: I6ba5bad6e155e9092dff9c2ad3241f603c333b4d Reviewed-on: https://skia-review.googlesource.com/76460 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Chris Dalton <csmartdalton@google.com>
Diffstat (limited to 'include/private/GrSurfaceProxy.h')
-rw-r--r--include/private/GrSurfaceProxy.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/private/GrSurfaceProxy.h b/include/private/GrSurfaceProxy.h
index 23f62195c2..49051f2844 100644
--- a/include/private/GrSurfaceProxy.h
+++ b/include/private/GrSurfaceProxy.h
@@ -428,6 +428,10 @@ private:
// This pointer is unreffed. OpLists own a ref on their surface proxies.
GrOpList* fLastOpList;
+ // Notifies the resource allocator when a proxy is a direct read from the render target itself
+ // (via texture barrier). This information is necessary for certain assertions.
+ SkDEBUGCODE(bool fIsDirectDstRead = false;)
+
typedef GrIORefProxy INHERITED;
};