Home
last modified time | relevance | path

Searched refs:fBackendContext (Results 1 - 5 of 5) sorted by relevance

/third_party/skia/tools/gpu/vk/
H A DVkTestHelper.cpp17 fVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, fBackendContext.fInstance,\
48 fBackendContext.fInstance = VK_NULL_HANDLE; in init()
49 fBackendContext.fDevice = VK_NULL_HANDLE; in init()
51 if (!sk_gpu_test::CreateVkBackendContext(getProc, &fBackendContext, &fExtensions, in init()
56 fDevice = fBackendContext.fDevice; in init()
60 instProc(fBackendContext.fInstance, "vkDestroyDebugReportCallbackEXT")); in init()
80 fDirectContext = GrDirectContext::MakeVulkan(fBackendContext); in init()
97 fBackendContext.fMemoryAllocator.reset(); in cleanup()
104 fDestroyDebugCallback(fBackendContext.fInstance, fDebugCallback, nullptr); in cleanup()
107 if (fBackendContext in cleanup()
[all...]
H A DVkTestHelper.h64 GrVkBackendContext fBackendContext; member in VkTestHelper
/third_party/skia/tools/sk_app/
H A DGLWindowContext.cpp25 , fBackendContext(nullptr) in GLWindowContext()
33 fBackendContext = this->onInitializeContext(); in initializeContext()
35 fContext = GrDirectContext::MakeGL(fBackendContext, fDisplayParams.fGrContextOptions); in initializeContext()
52 fBackendContext.reset(nullptr); in destroyContext()
61 GR_GL_CALL(fBackendContext.get(), GetIntegerv(GR_GL_FRAMEBUFFER_BINDING, &buffer)); in getBackbufferSurface()
H A DGLWindowContext.h25 bool isValid() override { return SkToBool(fBackendContext.get()); }
47 sk_sp<const GrGLInterface> fBackendContext; member in sk_app::GLWindowContext
/third_party/skia/tests/
H A DVkHardwareBufferTest.cpp370 fVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, fBackendContext.fInstance,\
414 fBackendContext.fMemoryAllocator.reset();
422 fDestroyDebugCallback(fBackendContext.fInstance, fDebugCallback, nullptr);
425 if (fBackendContext.fInstance != VK_NULL_HANDLE) {
426 fVkDestroyInstance(fBackendContext.fInstance, nullptr);
427 fBackendContext.fInstance = VK_NULL_HANDLE;
505 GrVkBackendContext fBackendContext; member in VulkanTestHelper
529 fBackendContext.fInstance = VK_NULL_HANDLE; in init()
530 fBackendContext.fDevice = VK_NULL_HANDLE; in init()
532 if (!sk_gpu_test::CreateVkBackendContext(getProc, &fBackendContext, fExtension in init()
[all...]

Completed in 2 milliseconds