Home
last modified time | relevance | path

Searched refs:fBackendContext (Results 1 – 6 of 6) sorted by relevance

/external/skia/tools/sk_app/
DGLWindowContext.cpp25 , fBackendContext(nullptr) in GLWindowContext()
33 fBackendContext = this->onInitializeContext(); in initializeContext()
34 fContext = GrContext::MakeGL(fBackendContext, fDisplayParams.fGrContextOptions); in initializeContext()
51 fBackendContext.reset(nullptr); in destroyContext()
60 GR_GL_CALL(fBackendContext.get(), GetIntegerv(GR_GL_FRAMEBUFFER_BINDING, &buffer)); in getBackbufferSurface()
DGLWindowContext.h27 bool isValid() override { return SkToBool(fBackendContext.get()); } in isValid()
49 sk_sp<const GrGLInterface> fBackendContext; variable
/external/skqp/tools/sk_app/
DGLWindowContext.cpp25 , fBackendContext(nullptr) in GLWindowContext()
33 fBackendContext = this->onInitializeContext(); in initializeContext()
34 fContext = GrContext::MakeGL(fBackendContext, fDisplayParams.fGrContextOptions); in initializeContext()
51 fBackendContext.reset(nullptr); in destroyContext()
60 GR_GL_CALL(fBackendContext.get(), GetIntegerv(GR_GL_FRAMEBUFFER_BINDING, &buffer)); in getBackbufferSurface()
DGLWindowContext.h27 bool isValid() override { return SkToBool(fBackendContext.get()); } in isValid()
49 sk_sp<const GrGLInterface> fBackendContext; variable
/external/skia/tests/
DVkHardwareBufferTest.cpp368 fVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, fBackendContext.fInstance,\
409 fBackendContext.fMemoryAllocator.reset(); in cleanup()
417 fDestroyDebugCallback(fBackendContext.fInstance, fDebugCallback, nullptr); in cleanup()
420 if (fBackendContext.fInstance != VK_NULL_HANDLE) { in cleanup()
421 fVkDestroyInstance(fBackendContext.fInstance, nullptr); in cleanup()
422 fBackendContext.fInstance = VK_NULL_HANDLE; in cleanup()
500 GrVkBackendContext fBackendContext; member in VulkanTestHelper
524 fBackendContext.fInstance = VK_NULL_HANDLE; in init()
525 fBackendContext.fDevice = VK_NULL_HANDLE; in init()
527 if (!sk_gpu_test::CreateVkBackendContext(getProc, &fBackendContext, fExtensions, in init()
[all …]
/external/skqp/tests/
DVkHardwareBufferTest.cpp368 fVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, fBackendContext.fInstance,\
406 fBackendContext.fMemoryAllocator.reset(); in cleanup()
414 fDestroyDebugCallback(fBackendContext.fInstance, fDebugCallback, nullptr); in cleanup()
417 if (fBackendContext.fInstance != VK_NULL_HANDLE) { in cleanup()
418 fVkDestroyInstance(fBackendContext.fInstance, nullptr); in cleanup()
419 fBackendContext.fInstance = VK_NULL_HANDLE; in cleanup()
494 GrVkBackendContext fBackendContext; member in VulkanTestHelper
518 fBackendContext.fInstance = VK_NULL_HANDLE; in init()
519 fBackendContext.fDevice = VK_NULL_HANDLE; in init()
521 if (!sk_gpu_test::CreateVkBackendContext(getProc, &fBackendContext, fExtensions, in init()
[all …]