Searched refs:fBackendContext (Results 1 – 6 of 6) sorted by relevance
/external/skia/tools/viewer/sk_app/ |
D | VulkanWindowContext.cpp | 43 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 …]
|
D | GLWindowContext.cpp | 27 , 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()
|
D | GLWindowContext.h | 27 bool isValid() override { return SkToBool(fBackendContext.get()); } in isValid() 35 return (GrBackendContext) fBackendContext.get(); in getBackendContext() 53 sk_sp<const GrGLInterface> fBackendContext; variable
|
D | VulkanWindowContext.h | 29 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/ |
D | GrVkGpu.h | 47 const GrVkInterface* vkInterface() const { return fBackendContext->fInterface.get(); } in vkInterface() 251 sk_sp<const GrVkBackendContext> fBackendContext; variable
|
D | GrVkGpu.cpp | 98 fBackendContext.reset(backendCtx); in GrVkGpu() 201 VK_CALL(DestroyDebugReportCallbackEXT(fBackendContext->fInstance, fCallback, nullptr)); in ~GrVkGpu()
|