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
This commit is contained in:
kkinnunen 2016-03-31 08:08:20 -07:00 committed by Commit bot
parent dda239e25b
commit 2ae4b2e95d
3 changed files with 5 additions and 0 deletions

View File

@ -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,

View File

@ -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) {

View File

@ -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;