/frameworks/base/libs/hwui/pipeline/skia/ |
D | VectorDrawableAtlas.h | 37 sk_sp<SkSurface> surface; 120 const sk_sp<SkSurface>& newSurface) in CacheEntry() 136 sk_sp<SkSurface> surface; 147 sk_sp<SkSurface> mSurface; 199 sk_sp<SkSurface> createSurface(int width, int height, GrContext* context);
|
D | SkiaPipeline.h | 54 const Rect& contentDrawBounds, sk_sp<SkSurface> surface, 131 sk_sp<SkSurface> surface, const SkMatrix& preTransform); 138 SkCanvas* tryCapture(SkSurface* surface); 139 void endCapture(SkSurface* surface);
|
D | SkiaPipeline.cpp | 164 SkSurface* layer = node->getLayerSurface(); in createOrUpdateLayer() 171 node->setLayerSurface(SkSurface::MakeRenderTarget(mRenderThread.getGrContext(), in createOrUpdateLayer() 241 SkCanvas* SkiaPipeline::tryCapture(SkSurface* surface) { in tryCapture() 265 void SkiaPipeline::endCapture(SkSurface* surface) { in endCapture() 294 const Rect& contentDrawBounds, sk_sp<SkSurface> surface, in renderFrame() 486 const Rect& contentDrawBounds, sk_sp<SkSurface> surface, in renderOverdraw() 490 sk_sp<SkSurface> offscreen = surface->makeSurface(offscreenInfo); in renderOverdraw()
|
D | GLFunctorDrawable.cpp | 99 sk_sp<SkSurface> tmpSurface; in onDraw() 106 SkSurface::MakeRenderTarget(canvas->getGrContext(), SkBudgeted::kYes, surfaceInfo); in onDraw() 110 if (!tmpSurface->getBackendRenderTarget(SkSurface::kFlushWrite_BackendHandleAccess) in onDraw()
|
D | SkiaLayer.h | 30 sk_sp<SkSurface> layerSurface;
|
D | VectorDrawableAtlas.cpp | 78 sk_sp<SkSurface> newSurface; in repack() 264 sk_sp<SkSurface> VectorDrawableAtlas::createSurface(int width, int height, GrContext* context) { in createSurface() 268 return SkSurface::MakeRenderTarget(context, SkBudgeted::kYes, info, 0, kTopLeft_GrSurfaceOrigin, in createSurface()
|
D | SkiaOpenGLPipeline.cpp | 98 sk_sp<SkSurface> surface(SkSurface::MakeFromBackendRenderTarget( in draw()
|
D | SkiaVulkanPipeline.cpp | 68 sk_sp<SkSurface> backBuffer = mVkSurface->getCurrentSkSurface(); in draw()
|
/frameworks/base/libs/hwui/renderthread/ |
D | VulkanSurface.h | 27 class SkSurface; variable 42 sk_sp<SkSurface> getCurrentSkSurface() { in getCurrentSkSurface() 54 sk_sp<SkSurface> skSurface;
|
D | VulkanSurface.cpp | 507 bufferInfo->skSurface = SkSurface::MakeFromAHardwareBuffer( in dequeueNativeBuffer()
|
D | VulkanManager.cpp | 527 bufferInfo->skSurface->flush(SkSurface::BackendSurfaceAccess::kPresent, in swapBuffers()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | CacheManagerTests.cpp | 42 std::vector<sk_sp<SkSurface>> surfaces; in RENDERTHREAD_SKIA_PIPELINE_TEST() 46 sk_sp<SkSurface> surface = SkSurface::MakeRenderTarget(grContext, SkBudgeted::kYes, info); in RENDERTHREAD_SKIA_PIPELINE_TEST()
|
D | SkiaPipelineTests.cpp | 54 auto surface = SkSurface::MakeRasterN32Premul(1, 1); in RENDERTHREAD_SKIA_PIPELINE_TEST() 85 auto surface = SkSurface::MakeRasterN32Premul(1, 1); in RENDERTHREAD_SKIA_PIPELINE_TEST() 109 auto surface = SkSurface::MakeRasterN32Premul(2, 2); in RENDERTHREAD_SKIA_PIPELINE_TEST() 133 auto surface = SkSurface::MakeRasterN32Premul(2, 2); in RENDERTHREAD_SKIA_PIPELINE_TEST() 149 auto surfaceLayer1 = SkSurface::MakeRasterN32Premul(1, 1); in RENDERTHREAD_SKIA_PIPELINE_TEST() 160 auto surfaceLayer2 = SkSurface::MakeRasterN32Premul(2, 2); in RENDERTHREAD_SKIA_PIPELINE_TEST() 183 redNode->setLayerSurface(sk_sp<SkSurface>()); in RENDERTHREAD_SKIA_PIPELINE_TEST() 184 blueNode->setLayerSurface(sk_sp<SkSurface>()); in RENDERTHREAD_SKIA_PIPELINE_TEST() 202 auto surface = SkSurface::MakeRasterN32Premul(1, 1); in RENDERTHREAD_SKIA_PIPELINE_TEST() 252 sk_sp<SkSurface> onNewSurface(const SkImageInfo&) override { return nullptr; } in onNewSurface()
|
D | VectorDrawableAtlasTests.cpp | 35 sk_sp<SkSurface> atlasSurface; in RENDERTHREAD_SKIA_PIPELINE_TEST() 123 sk_sp<SkSurface> atlasSurface; in RENDERTHREAD_SKIA_PIPELINE_TEST()
|
D | RenderNodeDrawableTests.cpp | 142 auto surface = SkSurface::MakeRasterN32Premul(1, 1); in TEST() 153 auto surfaceLayer = SkSurface::MakeRasterN32Premul(1, 1); in TEST() 170 rootNode->setLayerSurface(sk_sp<SkSurface>()); in TEST() 188 auto surface = SkSurface::MakeRasterN32Premul(400, 800); in TEST() 470 sk_sp<SkSurface> onNewSurface(const SkImageInfo&) override { return nullptr; } in RENDERTHREAD_SKIA_PIPELINE_TEST() 529 sk_sp<SkSurface> surfaceLayer1(new ProjectionLayer(&drawCounter)); in RENDERTHREAD_SKIA_PIPELINE_TEST() 1072 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/ |
D | Readback.cpp | 168 sk_sp<SkSurface> tmpSurface = SkSurface::MakeRenderTarget(mRenderThread.getGrContext(), in copyLayerInto() 176 tmpSurface = SkSurface::MakeRenderTarget(mRenderThread.getGrContext(), SkBudgeted::kYes, in copyLayerInto()
|
D | RenderNode.h | 46 class SkSurface; variable 309 void setLayerSurface(sk_sp<SkSurface> layer) { in setLayerSurface() 330 SkSurface* getLayerSurface() const { in getLayerSurface()
|
D | VectorDrawable.cpp | 491 sk_sp<SkSurface> surface = mCache.getSurface(&dst); in updateCache() 527 sk_sp<SkSurface> Tree::Cache::getSurface(SkRect* bounds) { in getSurface() 528 sk_sp<SkSurface> surface; in getSurface() 573 sk_sp<SkSurface> vdSurface = mCache.getSurface(&src); in draw()
|
D | RecordingCanvas.h | 142 sk_sp<SkSurface> onNewSurface(const SkImageInfo&, const SkSurfaceProps&) override;
|
D | VectorDrawable.h | 684 sk_sp<SkSurface> getSurface(SkRect* bounds);
|
D | RecordingCanvas.cpp | 776 sk_sp<SkSurface> RecordingCanvas::onNewSurface(const SkImageInfo&, const SkSurfaceProps&) { in onNewSurface()
|
/frameworks/base/libs/hwui/tests/common/ |
D | TestUtils.cpp | 122 SkColor TestUtils::getColor(const sk_sp<SkSurface>& surface, int x, int y) { in getColor()
|
D | TestUtils.h | 301 static SkColor getColor(const sk_sp<SkSurface>& surface, int x, int y);
|