Home
last modified time | relevance | path

Searched refs:skgpu (Results 1 – 17 of 17) sorted by relevance

/frameworks/native/libs/renderengine/skia/compat/
DGraphiteGpuContext.cpp36 static skgpu::graphite::ContextOptions graphiteOptions() { in graphiteOptions()
37 skgpu::graphite::ContextOptions options; in graphiteOptions()
44 const skgpu::VulkanBackendContext& vulkanBackendContext) { in MakeVulkan_Graphite()
46 skgpu::graphite::ContextFactory::MakeVulkan(vulkanBackendContext, graphiteOptions())); in MakeVulkan_Graphite()
49 GraphiteGpuContext::GraphiteGpuContext(std::unique_ptr<skgpu::graphite::Context> context) in GraphiteGpuContext()
52 LOG_ALWAYS_FATAL_IF(mContext->backend() != skgpu::BackendApi::kVulkan, in GraphiteGpuContext()
56 static_cast<int>(skgpu::BackendApi::kVulkan)); in GraphiteGpuContext()
60 skgpu::graphite::RecorderOptions recorderOptions = skgpu::graphite::RecorderOptions(); in GraphiteGpuContext()
69 mContext->submit(skgpu::graphite::SyncToCpu::kYes); in ~GraphiteGpuContext()
81 std::shared_ptr<skgpu::graphite::Context> GraphiteGpuContext::graphiteContext() { in graphiteContext()
[all …]
DGraphiteGpuContext.h28 GraphiteGpuContext(std::unique_ptr<skgpu::graphite::Context> context);
31 std::shared_ptr<skgpu::graphite::Context> graphiteContext() override;
32 std::shared_ptr<skgpu::graphite::Recorder> graphiteRecorder() override;
60 std::shared_ptr<skgpu::graphite::Context> mContext;
61 std::shared_ptr<skgpu::graphite::Recorder> mRecorder;
DGraphiteBackendTexture.h38 GraphiteBackendTexture(std::shared_ptr<skgpu::graphite::Recorder> recorder,
55 const std::shared_ptr<skgpu::graphite::Recorder> mRecorder;
56 skgpu::graphite::BackendTexture mBackendTexture;
DSkiaGpuContext.h66 const skgpu::VulkanBackendContext& vulkanBackendContext);
80 virtual std::shared_ptr<skgpu::graphite::Context> graphiteContext() { in graphiteContext()
87 virtual std::shared_ptr<skgpu::graphite::Recorder> graphiteRecorder() { in graphiteRecorder()
DGraphiteBackendTexture.cpp37 GraphiteBackendTexture::GraphiteBackendTexture(std::shared_ptr<skgpu::graphite::Recorder> recorder, in GraphiteBackendTexture()
103 const skgpu::graphite::TextureInfo& textureInfo = mBackendTexture.info(); in logFatalTexture()
DGaneshGpuContext.cpp87 return SkSurfaces::RenderTarget(mGrContext.get(), skgpu::Budgeted::kNo, imageInfo, kSampleCount, in createRenderTarget()
/frameworks/native/libs/renderengine/skia/
DVulkanInterface.h25 using namespace skgpu; variable
27 namespace skgpu {
89 skgpu::VulkanExtensions mGrExtensions;
94 skgpu::VulkanGetProc mGrGetProc = nullptr;
DGraphiteVkRenderEngine.cpp53 static void unref_semaphore(void* semaphore, skgpu::CallbackResult result) { in unref_semaphore()
54 if (result != skgpu::CallbackResult::kSuccess) { in unref_semaphore()
DVulkanInterface.cpp200 static skgpu::VulkanGetProc sGetProc = [](const char* proc_name,
609 mGrExtensions = skgpu::VulkanExtensions(); in teardown()
DSkiaRenderEngine.cpp1160 skgpu::ganesh::Flush(activeSurface); in drawLayersInternal()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaGpuPipeline.cpp87 skgpu::Budgeted::kYes, info, 0, in createOrUpdateLayer()
121 if (skgpu::ganesh::PinAsTexture(mRenderThread.getGrContext(), image)) { in pinImages()
132 skgpu::ganesh::UnpinTexture(mRenderThread.getGrContext(), image.get()); in unpinImages()
143 skgpu::ganesh::PinAsTexture(context, image.get()); in prepareToDraw()
144 skgpu::ganesh::UnpinTexture(context, image.get()); in prepareToDraw()
DGLFunctorDrawable.cpp50 GrBackendRenderTarget renderTarget = skgpu::ganesh::TopLayerBackendRenderTarget(canvas); in GetFboDetails()
90 SkIRect surfaceBounds = skgpu::ganesh::TopLayerBounds(canvas); in onDraw()
103 SkSurfaces::RenderTarget(directContext, skgpu::Budgeted::kYes, surfaceInfo); in onDraw()
DSkiaOpenGLPipeline.cpp182 skgpu::ganesh::FlushAndSubmit(surface); in draw()
/frameworks/base/libs/hwui/tests/unit/
DCacheManagerTests.cpp50 sk_sp<SkSurface> surface = SkSurfaces::RenderTarget(grContext, skgpu::Budgeted::kYes, in RENDERTHREAD_TEST()
62 ASSERT_TRUE(skgpu::ganesh::PinAsTexture(grContext, image.get())); in RENDERTHREAD_TEST()
74 skgpu::ganesh::UnpinTexture(grContext, image.get()); in RENDERTHREAD_TEST()
/frameworks/base/libs/hwui/
DAutoBackendTextureRelease.cpp146 skgpu::MutableTextureState newState = skgpu::MutableTextureStates::MakeVulkan( in releaseQueueOwnership()
DReadback.cpp177 SkSurfaces::RenderTarget(mRenderThread.getGrContext(), skgpu::Budgeted::kYes, in copySurfaceInto()
185 skgpu::Budgeted::kYes, in copySurfaceInto()
353 skgpu::Budgeted::kYes, in copyLayerInto()
363 skgpu::Budgeted::kYes, in copyLayerInto()
/frameworks/base/libs/hwui/renderthread/
DVulkanManager.cpp609 skgpu::ganesh::FlushAndSubmit(bufferInfo->skSurface.get()); in dequeueNextBuffer()