Home
last modified time | relevance | path

Searched refs:SkiaGpuContext (Results 1 – 21 of 21) sorted by relevance

/frameworks/native/libs/renderengine/skia/compat/
DSkiaGpuContext.h45 class SkiaGpuContext {
50 static std::unique_ptr<SkiaGpuContext> MakeGL_Ganesh(
57 static std::unique_ptr<SkiaGpuContext> MakeVulkan_Ganesh(
65 static std::unique_ptr<SkiaGpuContext> MakeVulkan_Graphite(
68 virtual ~SkiaGpuContext() = default;
DGaneshGpuContext.cpp51 std::unique_ptr<SkiaGpuContext> SkiaGpuContext::MakeGL_Ganesh( in MakeGL_Ganesh()
58 std::unique_ptr<SkiaGpuContext> SkiaGpuContext::MakeVulkan_Ganesh( in MakeVulkan_Ganesh()
DGraphiteGpuContext.cpp43 std::unique_ptr<SkiaGpuContext> SkiaGpuContext::MakeVulkan_Graphite( in MakeVulkan_Graphite()
DGaneshGpuContext.h25 class GaneshGpuContext : public SkiaGpuContext {
DGraphiteGpuContext.h26 class GraphiteGpuContext : public SkiaGpuContext {
/frameworks/native/libs/renderengine/skia/
DSkiaRenderEngine.h87 using Contexts = std::pair<unique_ptr<SkiaGpuContext>, unique_ptr<SkiaGpuContext>>;
91 virtual void waitFence(SkiaGpuContext* context, base::borrowed_fd fenceFd) = 0;
92 virtual base::unique_fd flushAndSubmit(SkiaGpuContext* context,
99 SkiaGpuContext* getActiveContext();
190 unique_ptr<SkiaGpuContext> mContext;
192 unique_ptr<SkiaGpuContext> mProtectedContext;
DGaneshVkRenderEngine.h28 std::unique_ptr<SkiaGpuContext> createContext(VulkanInterface& vulkanInterface) override;
29 void waitFence(SkiaGpuContext* context, base::borrowed_fd fenceFd) override;
30 base::unique_fd flushAndSubmit(SkiaGpuContext* context, sk_sp<SkSurface> dstSurface) override;
DGraphiteVkRenderEngine.h30 std::unique_ptr<SkiaGpuContext> createContext(VulkanInterface& vulkanInterface) override;
31 void waitFence(SkiaGpuContext* context, base::borrowed_fd fenceFd) override;
32 base::unique_fd flushAndSubmit(SkiaGpuContext* context, sk_sp<SkSurface> dstSurface) override;
DGaneshVkRenderEngine.cpp53 std::unique_ptr<SkiaGpuContext> GaneshVkRenderEngine::createContext( in createContext()
55 return SkiaGpuContext::MakeVulkan_Ganesh(vulkanInterface.getGaneshBackendContext(), in createContext()
59 void GaneshVkRenderEngine::waitFence(SkiaGpuContext* context, base::borrowed_fd fenceFd) { in waitFence()
77 base::unique_fd GaneshVkRenderEngine::flushAndSubmit(SkiaGpuContext* context, in flushAndSubmit()
DGraphiteVkRenderEngine.cpp62 std::unique_ptr<SkiaGpuContext> GraphiteVkRenderEngine::createContext( in createContext()
64 return SkiaGpuContext::MakeVulkan_Graphite(vulkanInterface.getGraphiteBackendContext()); in createContext()
67 void GraphiteVkRenderEngine::waitFence(SkiaGpuContext*, base::borrowed_fd fenceFd) { in waitFence() argument
84 base::unique_fd GraphiteVkRenderEngine::flushAndSubmit(SkiaGpuContext* context, sk_sp<SkSurface>) { in flushAndSubmit()
DSkiaVkRenderEngine.h73 virtual std::unique_ptr<SkiaGpuContext> createContext(VulkanInterface& vulkanInterface) = 0;
75 virtual void waitFence(SkiaGpuContext* context, base::borrowed_fd fenceFd) override = 0;
76 virtual base::unique_fd flushAndSubmit(SkiaGpuContext* context,
DSkiaGLRenderEngine.h65 void waitFence(SkiaGpuContext* context, base::borrowed_fd fenceFd) override;
66 base::unique_fd flushAndSubmit(SkiaGpuContext* context, sk_sp<SkSurface> dstSurface) override;
DSkiaGLRenderEngine.cpp309 contexts.first = SkiaGpuContext::MakeGL_Ganesh(glInterface, mSkSLCacheMonitor); in createContexts()
312 contexts.second = SkiaGpuContext::MakeGL_Ganesh(glInterface, mSkSLCacheMonitor); in createContexts()
333 void SkiaGLRenderEngine::waitFence(SkiaGpuContext*, base::borrowed_fd fenceFd) { in waitFence() argument
340 base::unique_fd SkiaGLRenderEngine::flushAndSubmit(SkiaGpuContext* context, in flushAndSubmit()
DSkiaRenderEngine.cpp342 SkiaGpuContext* SkiaRenderEngine::getActiveContext() { in getActiveContext()
/frameworks/native/libs/renderengine/skia/filters/
DMouriMap.h67 sk_sp<SkShader> mouriMap(SkiaGpuContext* context, sk_sp<SkShader> input, float hdrSdrRatio);
70 sk_sp<SkImage> downchunk(SkiaGpuContext* context, sk_sp<SkShader> input,
72 sk_sp<SkImage> blur(SkiaGpuContext* context, SkImage* input) const;
DMouriMap.cpp116 sk_sp<SkShader> MouriMap::mouriMap(SkiaGpuContext* context, sk_sp<SkShader> input, in mouriMap()
123 sk_sp<SkImage> MouriMap::downchunk(SkiaGpuContext* context, sk_sp<SkShader> input, in downchunk()
161 sk_sp<SkImage> MouriMap::blur(SkiaGpuContext* context, SkImage* input) const { in blur()
DGaussianBlurFilter.h40 sk_sp<SkImage> generate(SkiaGpuContext* context, const uint32_t radius,
DKawaseBlurFilter.h45 sk_sp<SkImage> generate(SkiaGpuContext* context, const uint32_t radius,
DBlurFilter.h43 virtual sk_sp<SkImage> generate(SkiaGpuContext* context, const uint32_t radius,
DGaussianBlurFilter.cpp45 sk_sp<SkImage> GaussianBlurFilter::generate(SkiaGpuContext* context, const uint32_t blurRadius, in generate()
DKawaseBlurFilter.cpp76 sk_sp<SkImage> KawaseBlurFilter::generate(SkiaGpuContext* context, const uint32_t blurRadius, in generate()