aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrRenderTargetOpList.cpp
diff options
context:
space:
mode:
authorGravatar Chris Dalton <csmartdalton@google.com>2017-10-04 10:30:29 -0600
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-10-04 16:57:03 +0000
commita84cacf14a1fa1b982f0d1b7241a2012fb74fd91 (patch)
treed9d9605e1d3aca3f7f9f0d3ac2be99b51c0e8fb2 /src/gpu/GrRenderTargetOpList.cpp
parent172c6bd8e93a3a4a25234a301d53e1363cee46ec (diff)
Rename GrOpList::reset to endFlush
Bug: skia:7111 Change-Id: I9e48224c7edcc51bd0368cb7c115acbc3bf8da16 Reviewed-on: https://skia-review.googlesource.com/54500 Commit-Queue: Chris Dalton <csmartdalton@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/GrRenderTargetOpList.cpp')
-rw-r--r--src/gpu/GrRenderTargetOpList.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrRenderTargetOpList.cpp b/src/gpu/GrRenderTargetOpList.cpp
index bc293bb1e3..33240ea3f1 100644
--- a/src/gpu/GrRenderTargetOpList.cpp
+++ b/src/gpu/GrRenderTargetOpList.cpp
@@ -180,7 +180,7 @@ bool GrRenderTargetOpList::onExecute(GrOpFlushState* flushState) {
return true;
}
-void GrRenderTargetOpList::reset() {
+void GrRenderTargetOpList::endFlush() {
fLastClipStackGenID = SK_InvalidUniqueID;
fRecordedOps.reset();
if (fInstancedRendering) {
@@ -188,7 +188,7 @@ void GrRenderTargetOpList::reset() {
fInstancedRendering = nullptr;
}
- INHERITED::reset();
+ INHERITED::endFlush();
}
void GrRenderTargetOpList::abandonGpuResources() {