diff options
author | Brian Osman <brianosman@google.com> | 2016-10-26 12:02:18 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2016-10-26 17:17:40 +0000 |
commit | 62e7b5fd79d3d61e9821ecd6123a3588d94893cc (patch) | |
tree | 365f6bf23fa89d8f216fb9931962eb58a06431ec /src/gpu/GrOpList.cpp | |
parent | c7d853343a42e28edd9c38a3308afaa846fce1bc (diff) |
Create GrTextureOpList to support deferred copy batches for textures
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=3967
Change-Id: I63b926f63294795f999a130c0ceead87fbaf978d
Reviewed-on: https://skia-review.googlesource.com/3967
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Diffstat (limited to 'src/gpu/GrOpList.cpp')
-rw-r--r-- | src/gpu/GrOpList.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gpu/GrOpList.cpp b/src/gpu/GrOpList.cpp index ac7f1b274d..2010e65af3 100644 --- a/src/gpu/GrOpList.cpp +++ b/src/gpu/GrOpList.cpp @@ -11,9 +11,10 @@ #include "GrRenderTargetOpList.h" #include "GrSurface.h" -GrOpList::GrOpList(GrSurface* surface) +GrOpList::GrOpList(GrSurface* surface, GrAuditTrail* auditTrail) : fFlags(0) - , fTarget(surface) { + , fTarget(surface) + , fAuditTrail(auditTrail) { surface->setLastOpList(this); |