/frameworks/native/libs/renderengine/skia/ |
D | AutoBackendTexture.h | 104 sk_sp<SkSurface> getOrCreateSurface(ui::Dataspace dataspace, GrDirectContext* context) { in getOrCreateSurface() 137 sk_sp<SkSurface> getOrCreateSurface(ui::Dataspace dataspace, GrDirectContext* context); 146 static void releaseSurfaceProc(SkSurface::ReleaseContext releaseContext); 153 sk_sp<SkSurface> mSurface = nullptr;
|
D | AutoBackendTexture.cpp | 73 void AutoBackendTexture::releaseSurfaceProc(SkSurface::ReleaseContext releaseContext) { in releaseSurfaceProc() 116 sk_sp<SkSurface> AutoBackendTexture::getOrCreateSurface(ui::Dataspace dataspace, in getOrCreateSurface() 121 sk_sp<SkSurface> surface = in getOrCreateSurface() 122 SkSurface::MakeFromBackendTexture(context, mBackendTexture, in getOrCreateSurface()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaPipeline.h | 59 const Rect& contentDrawBounds, sk_sp<SkSurface> surface, 97 sk_sp<SkSurface> surface, const SkMatrix& preTransform); 101 SkCanvas* tryCapture(SkSurface* surface, RenderNode* root, const LayerUpdateQueue& dirtyLayers); 103 void endCapture(SkSurface* surface);
|
D | GLFunctorDrawable.cpp | 88 sk_sp<SkSurface> tmpSurface; in onDraw() 95 SkSurface::MakeRenderTarget(directContext, SkBudgeted::kYes, surfaceInfo); in onDraw() 99 if (!tmpSurface->getBackendRenderTarget(SkSurface::kFlushWrite_BackendHandleAccess) in onDraw()
|
D | SkiaPipeline.cpp | 172 SkSurface* layer = node->getLayerSurface(); in createOrUpdateLayer() 179 node->setLayerSurface(SkSurface::MakeRenderTarget(mRenderThread.getGrContext(), in createOrUpdateLayer() 343 SkCanvas* SkiaPipeline::tryCapture(SkSurface* surface, RenderNode* root, in tryCapture() 399 void SkiaPipeline::endCapture(SkSurface* surface) { in endCapture() 443 const Rect& contentDrawBounds, sk_sp<SkSurface> surface, in renderFrame() 648 const Rect& contentDrawBounds, sk_sp<SkSurface> surface, in renderOverdraw() 652 sk_sp<SkSurface> offscreen = surface->makeSurface(offscreenInfo); in renderOverdraw()
|
D | SkiaLayer.h | 30 sk_sp<SkSurface> layerSurface;
|
D | StretchMask.h | 58 sk_sp<SkSurface> mMaskSurface;
|
D | SkiaOpenGLPipeline.cpp | 107 sk_sp<SkSurface> surface(SkSurface::MakeFromBackendRenderTarget( in draw()
|
D | StretchMask.cpp | 35 mMaskSurface = SkSurface::MakeRenderTarget( in draw()
|
D | SkiaVulkanPipeline.cpp | 76 sk_sp<SkSurface> backBuffer = mVkSurface->getCurrentSkSurface(); in draw()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | CacheManagerTests.cpp | 43 std::vector<sk_sp<SkSurface>> surfaces; in RENDERTHREAD_SKIA_PIPELINE_TEST() 47 sk_sp<SkSurface> surface = SkSurface::MakeRenderTarget(grContext, SkBudgeted::kYes, info); in RENDERTHREAD_SKIA_PIPELINE_TEST()
|
D | SkiaPipelineTests.cpp | 56 auto surface = SkSurface::MakeRasterN32Premul(1, 1); in RENDERTHREAD_SKIA_PIPELINE_TEST() 78 auto surface = SkSurface::MakeRasterN32Premul(2, 2); in RENDERTHREAD_SKIA_PIPELINE_TEST() 102 auto surface = SkSurface::MakeRasterN32Premul(2, 2); in RENDERTHREAD_SKIA_PIPELINE_TEST() 118 auto surfaceLayer1 = SkSurface::MakeRasterN32Premul(1, 1); in RENDERTHREAD_SKIA_PIPELINE_TEST() 129 auto surfaceLayer2 = SkSurface::MakeRasterN32Premul(2, 2); in RENDERTHREAD_SKIA_PIPELINE_TEST() 152 redNode->setLayerSurface(sk_sp<SkSurface>()); in RENDERTHREAD_SKIA_PIPELINE_TEST() 153 blueNode->setLayerSurface(sk_sp<SkSurface>()); in RENDERTHREAD_SKIA_PIPELINE_TEST() 171 auto surface = SkSurface::MakeRasterN32Premul(1, 1); in RENDERTHREAD_SKIA_PIPELINE_TEST() 221 sk_sp<SkSurface> onNewSurface(const SkImageInfo&) override { return nullptr; } in onNewSurface() 430 auto surface = SkSurface::MakeRasterN32Premul(1, 1); in RENDERTHREAD_SKIA_PIPELINE_TEST()
|
D | RenderNodeDrawableTests.cpp | 143 auto surface = SkSurface::MakeRasterN32Premul(1, 1); in TEST() 154 auto surfaceLayer = SkSurface::MakeRasterN32Premul(1, 1); in TEST() 171 rootNode->setLayerSurface(sk_sp<SkSurface>()); in TEST() 189 auto surface = SkSurface::MakeRasterN32Premul(400, 800); in TEST() 471 sk_sp<SkSurface> onNewSurface(const SkImageInfo&) override { return nullptr; } in RENDERTHREAD_SKIA_PIPELINE_TEST() 530 sk_sp<SkSurface> surfaceLayer1(new ProjectionLayer(&drawCounter)); in RENDERTHREAD_SKIA_PIPELINE_TEST() 1076 layerNode->setLayerSurface(SkSurface::MakeRasterN32Premul(LAYER_WIDTH, LAYER_HEIGHT)); in RENDERTHREAD_SKIA_PIPELINE_TEST()
|
D | SkiaCanvasTests.cpp | 29 auto surface = SkSurface::MakeRasterN32Premul(10, 10); in TEST()
|
/frameworks/base/libs/hwui/renderthread/ |
D | VulkanSurface.h | 28 class SkSurface; variable 43 sk_sp<SkSurface> getCurrentSkSurface() { in getCurrentSkSurface() 57 sk_sp<SkSurface> skSurface;
|
D | VulkanManager.cpp | 497 nsecs_t VulkanManager::finishFrame(SkSurface* surface) { in finishFrame() 529 surface->flush(SkSurface::BackendSurfaceAccess::kPresent, flushInfo); in finishFrame() 541 surface->getBackendRenderTarget(SkSurface::kFlushRead_BackendHandleAccess); in finishFrame()
|
D | VulkanManager.h | 89 nsecs_t finishFrame(SkSurface* surface);
|
/frameworks/native/libs/renderengine/skia/debug/ |
D | SkiaCapture.h | 49 SkCanvas* tryCapture(SkSurface* surface); 62 SkCanvas* tryOffscreenCapture(SkSurface* surface, OffscreenState* state);
|
D | SkiaCapture.cpp | 44 SkCanvas* SkiaCapture::tryCapture(SkSurface* surface) NO_THREAD_SAFETY_ANALYSIS { in tryCapture() 98 SkCanvas* SkiaCapture::tryOffscreenCapture(SkSurface* surface, OffscreenState* state) { in tryOffscreenCapture()
|
/frameworks/native/libs/renderengine/skia/filters/ |
D | GaussianBlurFilter.cpp | 48 sk_sp<SkSurface> surface = SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, scaledInfo); in generate()
|
/frameworks/base/libs/hwui/ |
D | Readback.cpp | 143 sk_sp<SkSurface> tmpSurface = in copySurfaceInto() 144 SkSurface::MakeRenderTarget(mRenderThread.getGrContext(), SkBudgeted::kYes, in copySurfaceInto() 151 tmpSurface = SkSurface::MakeRenderTarget(mRenderThread.getGrContext(), SkBudgeted::kYes, in copySurfaceInto() 353 sk_sp<SkSurface> tmpSurface = SkSurface::MakeRenderTarget(mRenderThread.getGrContext(), in copyLayerInto() 361 tmpSurface = SkSurface::MakeRenderTarget(mRenderThread.getGrContext(), SkBudgeted::kYes, in copyLayerInto()
|
D | RenderNode.h | 49 class SkSurface; variable 323 void setLayerSurface(sk_sp<SkSurface> layer) { in setLayerSurface() 351 SkSurface* getLayerSurface() const { in getLayerSurface()
|
/frameworks/base/libs/hwui/apex/ |
D | android_canvas.cpp | 48 sk_sp<SkSurface> surface = SkSurface::MakeRasterDirect(imageInfo, buffer->bits, rowBytes); in convert()
|
/frameworks/native/services/surfaceflinger/ |
D | RefreshRateOverlay.cpp | 167 sk_sp<SkSurface> surface = SkSurface::MakeRasterN32Premul(bufferWidth, bufferHeight); in draw()
|
/frameworks/base/libs/hwui/tests/common/ |
D | TestUtils.cpp | 122 SkColor TestUtils::getColor(const sk_sp<SkSurface>& surface, int x, int y) { in getColor()
|