Searched refs:skgpu (Results 1 – 17 of 17) sorted by relevance
/frameworks/native/libs/renderengine/skia/compat/ |
D | GraphiteGpuContext.cpp | 36 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 …]
|
D | GraphiteGpuContext.h | 28 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;
|
D | GraphiteBackendTexture.h | 38 GraphiteBackendTexture(std::shared_ptr<skgpu::graphite::Recorder> recorder, 55 const std::shared_ptr<skgpu::graphite::Recorder> mRecorder; 56 skgpu::graphite::BackendTexture mBackendTexture;
|
D | SkiaGpuContext.h | 66 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()
|
D | GraphiteBackendTexture.cpp | 37 GraphiteBackendTexture::GraphiteBackendTexture(std::shared_ptr<skgpu::graphite::Recorder> recorder, in GraphiteBackendTexture() 103 const skgpu::graphite::TextureInfo& textureInfo = mBackendTexture.info(); in logFatalTexture()
|
D | GaneshGpuContext.cpp | 87 return SkSurfaces::RenderTarget(mGrContext.get(), skgpu::Budgeted::kNo, imageInfo, kSampleCount, in createRenderTarget()
|
/frameworks/native/libs/renderengine/skia/ |
D | VulkanInterface.h | 25 using namespace skgpu; variable 27 namespace skgpu { 89 skgpu::VulkanExtensions mGrExtensions; 94 skgpu::VulkanGetProc mGrGetProc = nullptr;
|
D | GraphiteVkRenderEngine.cpp | 53 static void unref_semaphore(void* semaphore, skgpu::CallbackResult result) { in unref_semaphore() 54 if (result != skgpu::CallbackResult::kSuccess) { in unref_semaphore()
|
D | VulkanInterface.cpp | 200 static skgpu::VulkanGetProc sGetProc = [](const char* proc_name, 609 mGrExtensions = skgpu::VulkanExtensions(); in teardown()
|
D | SkiaRenderEngine.cpp | 1160 skgpu::ganesh::Flush(activeSurface); in drawLayersInternal()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaGpuPipeline.cpp | 87 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()
|
D | GLFunctorDrawable.cpp | 50 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()
|
D | SkiaOpenGLPipeline.cpp | 182 skgpu::ganesh::FlushAndSubmit(surface); in draw()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | CacheManagerTests.cpp | 50 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/ |
D | AutoBackendTextureRelease.cpp | 146 skgpu::MutableTextureState newState = skgpu::MutableTextureStates::MakeVulkan( in releaseQueueOwnership()
|
D | Readback.cpp | 177 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/ |
D | VulkanManager.cpp | 609 skgpu::ganesh::FlushAndSubmit(bufferInfo->skSurface.get()); in dequeueNextBuffer()
|