diff options
author | Brian Osman <brianosman@google.com> | 2017-09-11 13:38:55 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-09-11 17:58:00 +0000 |
commit | 5d034744ab749d37a0b4c889271160236ec8be4e (patch) | |
tree | 733dea50e748bbfe1f49b0da5bc330268890ad19 /tests | |
parent | 3b67faa561db3283def904d2458a5b5b12ee4ba6 (diff) |
Do software clip mask generation with worker threads
Also refactor the prepare callback stuff to share logic
between software path rendering and clip mask generation.
Bug: skia:
Change-Id: I0c56c6df8703eb59d2d49a4c3985bd4f5ef20f01
Reviewed-on: https://skia-review.googlesource.com/44421
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ClipStackTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ClipStackTest.cpp b/tests/ClipStackTest.cpp index 03bc89bdf3..8984027664 100644 --- a/tests/ClipStackTest.cpp +++ b/tests/ClipStackTest.cpp @@ -1457,7 +1457,7 @@ DEF_TEST(ClipStack, reporter) { #if SK_SUPPORT_GPU sk_sp<GrTextureProxy> GrClipStackClip::testingOnly_createClipMask(GrContext* context) const { const GrReducedClip reducedClip(*fStack, SkRect::MakeWH(512, 512), 0); - return this->createSoftwareClipMask(context, reducedClip); + return this->createSoftwareClipMask(context, reducedClip, nullptr); } // Verify that clip masks are freed up when the clip state that generated them goes away. |