| Index: src/gpu/GrGpuFactory.cpp
|
| diff --git a/src/gpu/GrGpuFactory.cpp b/src/gpu/GrGpuFactory.cpp
|
| index f769ce4c578c187cb6ad94c436218a1470f58327..8525af76708dcc82c88a5178aed2c3822588b9f8 100644
|
| --- a/src/gpu/GrGpuFactory.cpp
|
| +++ b/src/gpu/GrGpuFactory.cpp
|
| @@ -12,13 +12,14 @@
|
| #include "GrGpu.h"
|
| #include "gl/GrGLConfig.h"
|
| #include "gl/GrGLGpu.h"
|
| +#ifdef SK_VULKAN
|
| +#include "vk/GrVkGpu.h"
|
| +#endif
|
|
|
| static CreateGpuProc gGpuFactories[kBackendCount] = { GrGLGpu::Create, nullptr };
|
|
|
| #ifdef SK_VULKAN
|
| -extern GrGpu* vk_gpu_create(GrBackendContext backendContext, const GrContextOptions& options,
|
| - GrContext* context);
|
| -GrGpuFactoryRegistrar gVkGpuFactoryProc(kVulkan_GrBackend, vk_gpu_create);
|
| +GrGpuFactoryRegistrar gVkGpuFactoryProc(kVulkan_GrBackend, GrVkGpu::Create);
|
| #endif
|
|
|
| GrGpuFactoryRegistrar::GrGpuFactoryRegistrar(int i, CreateGpuProc proc) {
|
|
|