diff options
author | kkinnunen <kkinnunen@nvidia.com> | 2016-03-31 08:08:20 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-31 08:08:20 -0700 |
commit | 2ae4b2e95ddd36ede0d3cbc4d274b6d6618a049d (patch) | |
tree | 471374611b4956589647e0d92cc6d2d19e137efd | |
parent | dda239e25b54f4265734c62e2fdc76c872406f28 (diff) |
Fix Vulkan tests after GrContextFactory move to sk_gpu_test
Fix Vulkan tests after GrContextFactory move to sk_gpu_test
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1844983003
Review URL: https://codereview.chromium.org/1844983003
-rw-r--r-- | tests/VkClearTests.cpp | 2 | ||||
-rw-r--r-- | tests/VkUploadPixelsTests.cpp | 1 | ||||
-rwxr-xr-x | tests/VkWrapTests.cpp | 2 |
3 files changed, 5 insertions, 0 deletions
diff --git a/tests/VkClearTests.cpp b/tests/VkClearTests.cpp index 7cca4e4a5a..ab13ffd1c9 100644 --- a/tests/VkClearTests.cpp +++ b/tests/VkClearTests.cpp @@ -16,6 +16,8 @@ #include "Test.h" #include "vk/GrVkGpu.h" +using sk_gpu_test::GrContextFactory; + bool does_full_buffer_contain_correct_color(GrColor* buffer, GrColor clearColor, GrPixelConfig config, diff --git a/tests/VkUploadPixelsTests.cpp b/tests/VkUploadPixelsTests.cpp index 53d9cfcadc..a509978eda 100644 --- a/tests/VkUploadPixelsTests.cpp +++ b/tests/VkUploadPixelsTests.cpp @@ -16,6 +16,7 @@ #include "Test.h" #include "vk/GrVkGpu.h" +using sk_gpu_test::GrContextFactory; void fill_pixel_data(int width, int height, GrColor* data) { diff --git a/tests/VkWrapTests.cpp b/tests/VkWrapTests.cpp index 472664bd97..382bdbe64e 100755 --- a/tests/VkWrapTests.cpp +++ b/tests/VkWrapTests.cpp @@ -19,6 +19,8 @@ #include "vk/GrVkMemory.h" #include "vk/GrVkTypes.h" +using sk_gpu_test::GrContextFactory; + const int kW = 1024; const int kH = 1024; const GrPixelConfig kPixelConfig = kRGBA_8888_GrPixelConfig; |