commit | 952144753dc31d9d935683123cae43fca483bade | [log] [tgz] |
---|---|---|
author | Robert Phillips <robertphillips@google.com> | Tue Aug 08 18:00:03 2017 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Aug 08 22:32:36 2017 +0000 |
tree | 96c33ad4c1face6aa9f3e55214f7f3518987c013 | |
parent | 8d8b016f5241dd04c48229200ebd44a9a36a2f45 [diff] [blame] |
Add explicit clear of stencil buffer before opLists that use them Change-Id: I9e2468e1331c6593dbc6da3ad510f08d1c589e8d Reviewed-on: https://skia-review.googlesource.com/32041 Commit-Queue: Stan Iliev <stani@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
diff --git a/src/gpu/mock/GrMockGpuCommandBuffer.h b/src/gpu/mock/GrMockGpuCommandBuffer.h index 0213cb9..d2f6baf 100644 --- a/src/gpu/mock/GrMockGpuCommandBuffer.h +++ b/src/gpu/mock/GrMockGpuCommandBuffer.h
@@ -20,6 +20,7 @@ GrRenderTargetProxy*) override {} void discard(GrRenderTargetProxy*) override {} void insertEventMarker(GrRenderTargetProxy*, const char*) override {} + void begin() override {} void end() override {} int numDraws() const { return fNumDraws; }