aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/VkClearTests.cpp2
-rw-r--r--tests/VkUploadPixelsTests.cpp1
-rwxr-xr-xtests/VkWrapTests.cpp2
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;