Loading libs/renderengine/skia/GaneshVkRenderEngine.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -55,7 +55,7 @@ static void unref_semaphore(void* semaphore) { std::unique_ptr<SkiaGpuContext> GaneshVkRenderEngine::createContext( VulkanInterface& vulkanInterface) { return SkiaGpuContext::MakeVulkan_Ganesh(vulkanInterface.getGaneshBackendContext(), return SkiaGpuContext::MakeVulkan_Ganesh(vulkanInterface.createSkiaVulkanBackendContext(), mSkSLCacheMonitor); } Loading libs/renderengine/skia/GraphiteVkRenderEngine.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -65,7 +65,7 @@ static void unref_semaphore(void* semaphore, skgpu::CallbackResult result) { std::unique_ptr<SkiaGpuContext> GraphiteVkRenderEngine::createContext( VulkanInterface& vulkanInterface) { return SkiaGpuContext::MakeVulkan_Graphite(vulkanInterface.getGraphiteBackendContext()); return SkiaGpuContext::MakeVulkan_Graphite(vulkanInterface.createSkiaVulkanBackendContext()); } void GraphiteVkRenderEngine::waitFence(SkiaGpuContext*, base::borrowed_fd fenceFd) { Loading libs/renderengine/skia/VulkanInterface.cpp +1 −5 Original line number Diff line number Diff line Loading @@ -32,11 +32,7 @@ namespace android { namespace renderengine { namespace skia { VulkanBackendContext VulkanInterface::getGaneshBackendContext() { return this->getGraphiteBackendContext(); }; VulkanBackendContext VulkanInterface::getGraphiteBackendContext() { VulkanBackendContext VulkanInterface::createSkiaVulkanBackendContext() { VulkanBackendContext backendContext; backendContext.fInstance = mInstance; backendContext.fPhysicalDevice = mPhysicalDevice; Loading libs/renderengine/skia/VulkanInterface.h +1 −3 Original line number Diff line number Diff line Loading @@ -44,9 +44,7 @@ public: bool takeOwnership(); void teardown(); // TODO(b/309785258) Combine these into one now that they are the same implementation. VulkanBackendContext getGaneshBackendContext(); VulkanBackendContext getGraphiteBackendContext(); VulkanBackendContext createSkiaVulkanBackendContext(); VkSemaphore createExportableSemaphore(); VkSemaphore importSemaphoreFromSyncFd(int syncFd); int exportSemaphoreSyncFd(VkSemaphore semaphore); Loading Loading
libs/renderengine/skia/GaneshVkRenderEngine.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -55,7 +55,7 @@ static void unref_semaphore(void* semaphore) { std::unique_ptr<SkiaGpuContext> GaneshVkRenderEngine::createContext( VulkanInterface& vulkanInterface) { return SkiaGpuContext::MakeVulkan_Ganesh(vulkanInterface.getGaneshBackendContext(), return SkiaGpuContext::MakeVulkan_Ganesh(vulkanInterface.createSkiaVulkanBackendContext(), mSkSLCacheMonitor); } Loading
libs/renderengine/skia/GraphiteVkRenderEngine.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -65,7 +65,7 @@ static void unref_semaphore(void* semaphore, skgpu::CallbackResult result) { std::unique_ptr<SkiaGpuContext> GraphiteVkRenderEngine::createContext( VulkanInterface& vulkanInterface) { return SkiaGpuContext::MakeVulkan_Graphite(vulkanInterface.getGraphiteBackendContext()); return SkiaGpuContext::MakeVulkan_Graphite(vulkanInterface.createSkiaVulkanBackendContext()); } void GraphiteVkRenderEngine::waitFence(SkiaGpuContext*, base::borrowed_fd fenceFd) { Loading
libs/renderengine/skia/VulkanInterface.cpp +1 −5 Original line number Diff line number Diff line Loading @@ -32,11 +32,7 @@ namespace android { namespace renderengine { namespace skia { VulkanBackendContext VulkanInterface::getGaneshBackendContext() { return this->getGraphiteBackendContext(); }; VulkanBackendContext VulkanInterface::getGraphiteBackendContext() { VulkanBackendContext VulkanInterface::createSkiaVulkanBackendContext() { VulkanBackendContext backendContext; backendContext.fInstance = mInstance; backendContext.fPhysicalDevice = mPhysicalDevice; Loading
libs/renderengine/skia/VulkanInterface.h +1 −3 Original line number Diff line number Diff line Loading @@ -44,9 +44,7 @@ public: bool takeOwnership(); void teardown(); // TODO(b/309785258) Combine these into one now that they are the same implementation. VulkanBackendContext getGaneshBackendContext(); VulkanBackendContext getGraphiteBackendContext(); VulkanBackendContext createSkiaVulkanBackendContext(); VkSemaphore createExportableSemaphore(); VkSemaphore importSemaphoreFromSyncFd(int syncFd); int exportSemaphoreSyncFd(VkSemaphore semaphore); Loading