Home
last modified time | relevance | path

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

/external/skia/tools/viewer/sk_app/
DVulkanWindowContext.cpp48 fBackendContext.reset(GrVkBackendContext::Create(vkGetInstanceProcAddr, vkGetDeviceProcAddr, in initializeContext()
51 if (!(fBackendContext->fExtensions & kKHR_surface_GrVkExtensionFlag) || in initializeContext()
52 !(fBackendContext->fExtensions & kKHR_swapchain_GrVkExtensionFlag)) { in initializeContext()
53 fBackendContext.reset(nullptr); in initializeContext()
57 VkInstance instance = fBackendContext->fInstance; in initializeContext()
58 VkDevice device = fBackendContext->fDevice; in initializeContext()
70 fContext = GrContext::Create(kVulkan_GrBackend, (GrBackendContext) fBackendContext.get(), in initializeContext()
75 fBackendContext.reset(nullptr); in initializeContext()
80 VkResult res = fGetPhysicalDeviceSurfaceSupportKHR(fBackendContext->fPhysicalDevice, in initializeContext()
94 vkGetDeviceQueue(fBackendContext->fDevice, fPresentQueueIndex, 0, &fPresentQueue); in initializeContext()
[all …]
DGLWindowContext.cpp25 , fBackendContext(nullptr) in GLWindowContext()
36 fBackendContext.reset(GrGLCreateNativeInterface()); in initializeContext()
37 fContext = GrContext::Create(kOpenGL_GrBackend, (GrBackendContext)fBackendContext.get(), in initializeContext()
65 fBackendContext.reset(nullptr); in destroyContext()
75 GR_GL_CALL(fBackendContext.get(), GetIntegerv(GR_GL_FRAMEBUFFER_BINDING, in getBackbufferSurface()
DGLWindowContext.h27 bool isValid() override { return SkToBool(fBackendContext.get()); } in isValid()
35 return (GrBackendContext) fBackendContext.get(); in getBackendContext()
53 sk_sp<const GrGLInterface> fBackendContext; variable
DVulkanWindowContext.h29 bool isValid() override { return SkToBool(fBackendContext.get()); } in isValid()
42 return (GrBackendContext) fBackendContext.get(); in getBackendContext()
69 sk_sp<const GrVkBackendContext> fBackendContext; variable
/external/skia/src/gpu/vk/
DGrVkGpu.h48 const GrVkInterface* vkInterface() const { return fBackendContext->fInterface.get(); } in vkInterface()
256 sk_sp<const GrVkBackendContext> fBackendContext; variable
DGrVkGpu.cpp103 fBackendContext.reset(backendCtx); in GrVkGpu()
212 VK_CALL(DestroyDebugReportCallbackEXT(fBackendContext->fInstance, fCallback, nullptr)); in destroyResources()