diff options
author | Michael Ludwig <michaelludwig@google.com> | 2019-01-15 10:03:43 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2019-01-16 17:27:44 +0000 |
commit | c39d0c850fa7572d4a0906a8e6f99cc5186984b0 (patch) | |
tree | 6f5ba96e1d3f3ff1296754062354a6f27388deed /gm | |
parent | 1374c85fbf53947e0f826bc721ef561750518092 (diff) | |
download | platform_external_skqp-c39d0c850fa7572d4a0906a8e6f99cc5186984b0.tar.gz platform_external_skqp-c39d0c850fa7572d4a0906a8e6f99cc5186984b0.tar.bz2 platform_external_skqp-c39d0c850fa7572d4a0906a8e6f99cc5186984b0.zip |
Implement generic draw-as-clear fallback for color and stencil
This will likely have a perf hit for GL devices that trigger the clear-as-draw fallback since
the fillrectop cannot be as optimized as the direct GLSL shader. However, since the Metal
backend now needs to perform something very similar for scissored clears, I think this
improves code maintainability and is worth it.
Bug: skia:
Change-Id: Id87513784e5892c7ff3dc988115da1d39a46d8e0
Reviewed-on: https://skia-review.googlesource.com/c/182971
Reviewed-by: Chris Dalton <csmartdalton@google.com>
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
Diffstat (limited to 'gm')
0 files changed, 0 insertions, 0 deletions