diff options
author | Robert Phillips <robertphillips@google.com> | 2017-04-17 07:53:07 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-04-17 12:41:59 +0000 |
commit | c589b0b5c0235c3adedc574c8846fb62414ed93c (patch) | |
tree | 747f760e5b74a05ce5c0cbc7c778d3faece2693a /src/gpu/GrTextureOpList.cpp | |
parent | bab2dbb5fa50da8e8365abbaa9f1490e659f436c (diff) |
Remove lastOpList capability from GrSurface
This is split out of: https://skia-review.googlesource.com/c/11581/ (Split up opLists)
TBR=bsalomon@google.com
Change-Id: I80d589b42918ddd77538484c808b069576691da4
Reviewed-on: https://skia-review.googlesource.com/11793
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'src/gpu/GrTextureOpList.cpp')
-rw-r--r-- | src/gpu/GrTextureOpList.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gpu/GrTextureOpList.cpp b/src/gpu/GrTextureOpList.cpp index d4becad579..175f178d5e 100644 --- a/src/gpu/GrTextureOpList.cpp +++ b/src/gpu/GrTextureOpList.cpp @@ -42,6 +42,11 @@ void GrTextureOpList::dump() const { clippedBounds.fBottom); } } + +void GrTextureOpList::validateTargetsSingleRenderTarget() const { + SkASSERT(1 == fRecordedOps.count() || 0 == fRecordedOps.count()); +} + #endif void GrTextureOpList::prepareOps(GrOpFlushState* flushState) { |