Home
last modified time | relevance | path

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

/external/skia/tools/viewer/sk_app/
DVulkanWindowContext.cpp43 fBackendContext.reset(GrVkBackendContext::Create(&fPresentQueueIndex, canPresent)); in VulkanWindowContext()
45 if (!(fBackendContext->fExtensions & kKHR_surface_GrVkExtensionFlag) || in VulkanWindowContext()
46 !(fBackendContext->fExtensions & kKHR_swapchain_GrVkExtensionFlag)) { in VulkanWindowContext()
47 fBackendContext.reset(nullptr); in VulkanWindowContext()
51 VkInstance instance = fBackendContext->fInstance; in VulkanWindowContext()
52 VkDevice device = fBackendContext->fDevice; in VulkanWindowContext()
64 fContext = GrContext::Create(kVulkan_GrBackend, (GrBackendContext) fBackendContext.get(), in VulkanWindowContext()
69 fBackendContext.reset(nullptr); in VulkanWindowContext()
74 VkResult res = fGetPhysicalDeviceSurfaceSupportKHR(fBackendContext->fPhysicalDevice, in VulkanWindowContext()
88 vkGetDeviceQueue(fBackendContext->fDevice, fPresentQueueIndex, 0, &fPresentQueue); in VulkanWindowContext()
[all …]
DGLWindowContext.cpp27 , fBackendContext(nullptr) in GLWindowContext()
39 fBackendContext.reset(GrGLCreateNativeInterface()); in initializeContext()
40 fContext = GrContext::Create(kOpenGL_GrBackend, (GrBackendContext)fBackendContext.get(), in initializeContext()
68 fBackendContext.reset(nullptr); in destroyContext()
84 GR_GL_CALL(fBackendContext.get(), GetIntegerv(GR_GL_FRAMEBUFFER_BINDING, &buffer)); 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()
40 return (GrBackendContext) fBackendContext.get(); in getBackendContext()
66 sk_sp<const GrVkBackendContext> fBackendContext; variable
/external/skia/src/gpu/vk/
DGrVkGpu.h47 const GrVkInterface* vkInterface() const { return fBackendContext->fInterface.get(); } in vkInterface()
251 sk_sp<const GrVkBackendContext> fBackendContext; variable
DGrVkGpu.cpp98 fBackendContext.reset(backendCtx); in GrVkGpu()
201 VK_CALL(DestroyDebugReportCallbackEXT(fBackendContext->fInstance, fCallback, nullptr)); in ~GrVkGpu()