diff options
author | egdaniel <egdaniel@google.com> | 2016-06-27 12:57:00 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-06-27 12:57:00 -0700 |
commit | 4583ec51d9ddc830eeb854db068235be96ce59c4 (patch) | |
tree | fb98aa1bd78dc79617f324592c64bde6a41a337e /tests | |
parent | 8e0a09c1a14adf246fabfd88185c918911d3603c (diff) |
Add support for draws in vulkan read and write pixels
GL has a lot more optimizations checks here to make sure we do the most
effecient and correct draw here, but for now as long as the features
are support we just do basic draws for both reads and writes when we
need certain conversions.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2105433002
Review-Url: https://codereview.chromium.org/2105433002
Diffstat (limited to 'tests')
-rw-r--r-- | tests/WritePixelsTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/WritePixelsTest.cpp b/tests/WritePixelsTest.cpp index 8ad84510c9..90f5d805f1 100644 --- a/tests/WritePixelsTest.cpp +++ b/tests/WritePixelsTest.cpp @@ -406,7 +406,7 @@ DEF_TEST(WritePixels, reporter) { } } #if SK_SUPPORT_GPU -DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS(WritePixels_Gpu, reporter, ctxInfo) { +DEF_GPUTEST_FOR_RENDERING_CONTEXTS(WritePixels_Gpu, reporter, ctxInfo) { for (auto& origin : { kTopLeft_GrSurfaceOrigin, kBottomLeft_GrSurfaceOrigin }) { GrSurfaceDesc desc; desc.fFlags = kRenderTarget_GrSurfaceFlag; |