diff options
author | Brian Salomon <bsalomon@google.com> | 2017-07-31 16:07:39 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-07-31 20:44:27 +0000 |
commit | f3ce7e3c673fd4ace2ca56effe4cfd2908919b9d (patch) | |
tree | 20914a1e1721c545aadf9d1023fe6f2d1f96a6aa /src/gpu/GrGpuCommandBuffer.cpp | |
parent | 179849efe5f5bb20e7036bb6e5a9f4bb9ad8b2f1 (diff) |
More GrPipeline cleanup.
Remove CanCombine and AreEqual (unused)
Remove isInitialized() now that pipelines are initialized at creation.
Change-Id: Ibacf81d1f879c7ef9ea91a8f471c3d1df3eb2fed
Reviewed-on: https://skia-review.googlesource.com/29020
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/GrGpuCommandBuffer.cpp')
-rw-r--r-- | src/gpu/GrGpuCommandBuffer.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gpu/GrGpuCommandBuffer.cpp b/src/gpu/GrGpuCommandBuffer.cpp index e240068a53..56376e2287 100644 --- a/src/gpu/GrGpuCommandBuffer.cpp +++ b/src/gpu/GrGpuCommandBuffer.cpp @@ -57,7 +57,6 @@ bool GrGpuCommandBuffer::draw(const GrPipeline& pipeline, return false; } - SkASSERT(pipeline.isInitialized()); if (primProc.numAttribs() > this->gpu()->caps()->maxVertexAttributes()) { this->gpu()->stats()->incNumFailedDraws(); return false; |