Home
last modified time | relevance | path

Searched refs:dstSurface (Results 1 – 13 of 13) sorted by relevance

/external/skia/src/gpu/
DGrCopyRenderTask.cpp86 GrSurface* dstSurface = dstProxy->peekSurface(); in onExecute() local
90 dstPoint.fY = dstSurface->height() - dstPoint.fY - srcRect.height(); in onExecute()
92 return flushState->gpu()->copySurface(dstSurface, srcSurface, srcRect, dstPoint); in onExecute()
DGrWritePixelsRenderTask.cpp62 GrSurface* dstSurface = dstProxy->peekSurface(); in onExecute() local
63 return flushState->gpu()->writePixels(dstSurface, in onExecute()
DGrOpFlushState.cpp105 GrSurface* dstSurface = dstProxy->peekSurface(); in doUpload() local
106 if (!fGpu->caps()->surfaceSupportsWritePixels(dstSurface)) { in doUpload()
110 colorType, dstSurface->backendFormat(), colorType); in doUpload()
128 return this->fGpu->writePixels(dstSurface, left, top, width, height, colorType, in doUpload()
DGrSurfaceContext.cpp458 GrSurface* dstSurface = dstProxy->peekSurface(); in internalWritePixels() local
484 if ((!caps->surfaceSupportsWritePixels(dstSurface) || canvas2DFastPath) && numLevels == 1) { in internalWritePixels()
610 pt.fY = flip ? dstSurface->height() - pt.fY - src[0].height() : pt.fY; in internalWritePixels()
/external/skqp/src/gpu/
DGrOpFlushState.cpp79 GrSurface* dstSurface = dstProxy->peekSurface(); in doUpload() local
80 if (!fGpu->caps()->surfaceSupportsWritePixels(dstSurface) && in doUpload()
81 … fGpu->caps()->supportedWritePixelsColorType(dstSurface->config(), srcColorType) != srcColorType) { in doUpload()
84 return this->fGpu->writePixels(dstSurface, left, top, width, height, srcColorType, buffer, in doUpload()
DGrContext.cpp417 GrSurface* dstSurface = dstProxy->peekSurface(); in writeSurfacePixels() local
419 if (!GrSurfacePriv::AdjustWritePixelParams(dstSurface->width(), dstSurface->height(), in writeSurfacePixels()
443 if (!caps->surfaceSupportsWritePixels(dstSurface) || in writeSurfacePixels()
560 top = dstSurface->height() - top - height; in writeSurfacePixels()
572 top = dstSurface->height() - top - height; in writeSurfacePixels()
575 if (!(kDontFlush_PixelOpsFlag & pixelOpsFlags) && dstSurface->surfacePriv().hasPendingIO()) { in writeSurfacePixels()
579 return this->getGpu()->writePixels(dstSurface, left, top, width, height, srcColorType, buffer, in writeSurfacePixels()
/external/skia/experimental/ddlbench/
Dddlbench.cpp380 sk_sp<SkSurface> dstSurface = SkSurface::MakeRenderTarget(mainContext->fDirectContext, in main() local
383 if (!dstSurface) { in main()
390 dstSurface->getCanvas()->drawPicture(skp); in main()
429 maybe_save_file(dstSurface.get()); in main()
/external/skia/tools/skpbench/
Dskpbench.cpp253 sk_sp<SkSurface> dstSurface, SkPicture* inputPicture, in run_ddl_benchmark() argument
260 SkAssertResult(dstSurface->characterize(&dstCharacterization)); in run_ddl_benchmark()
262 SkIRect viewport = dstSurface->imageInfo().bounds(); in run_ddl_benchmark()
326 dstSurface->draw(tiles.composeDDL()); in run_ddl_benchmark()
327 dstSurface->flushAndSubmit(); in run_ddl_benchmark()
/external/skia/dm/
DDMSrcSink.cpp1718 sk_sp<SkSurface> dstSurface, in ooprDraw() argument
1721 SkAssertResult(dstSurface->characterize(&dstCharacterization)); in ooprDraw()
1737 SkAssertResult(dstSurface->draw(std::move(ddl))); in ooprDraw()
1789 sk_sp<SkSurface> dstSurface, in ddlDraw() argument
1799 SkAssertResult(dstSurface->characterize(&dstCharacterization)); in ddlDraw()
1853 gpuTaskGroup->add([dstSurface, ddl = tiles.composeDDL()]() { in ddlDraw()
1854 dstSurface->draw(ddl); in ddlDraw()
DDMSrcSink.h484 Result ooprDraw(const Src&, sk_sp<SkSurface> dstSurface, GrDirectContext*) const;
505 sk_sp<SkSurface> dstSurface,
/external/deqp/modules/gles2/functional/
Des2fClippingTests.cpp540 tcu::Surface& dstSurface = *surfaces[contextNdx]; in testRender() local
561 ctx.readPixels(dstSurface, 0, 0, TEST_CANVAS_SIZE, TEST_CANVAS_SIZE); in testRender()
679 tcu::Surface& dstSurface = *surfaces[contextNdx]; in testRender() local
701 ctx.readPixels(dstSurface, 0, 0, TEST_CANVAS_SIZE, TEST_CANVAS_SIZE); in testRender()
907 tcu::Surface& dstSurface = *surfaces[contextNdx]; in testRender() local
928 ctx.readPixels(dstSurface, 0, 0, TEST_CANVAS_SIZE, TEST_CANVAS_SIZE); in testRender()
/external/deqp/modules/gles3/functional/
Des3fClippingTests.cpp543 tcu::Surface& dstSurface = *surfaces[contextNdx]; in testRender() local
564 ctx.readPixels(dstSurface, 0, 0, TEST_CANVAS_SIZE, TEST_CANVAS_SIZE); in testRender()
682 tcu::Surface& dstSurface = *surfaces[contextNdx]; in testRender() local
704 ctx.readPixels(dstSurface, 0, 0, TEST_CANVAS_SIZE, TEST_CANVAS_SIZE); in testRender()
911 tcu::Surface& dstSurface = *surfaces[contextNdx]; in testRender() local
932 ctx.readPixels(dstSurface, 0, 0, TEST_CANVAS_SIZE, TEST_CANVAS_SIZE); in testRender()
/external/deqp/modules/gles31/functional/
Des31fGeometryShaderTests.cpp1815 … renderWithContext (sglr::Context& ctx, sglr::ShaderProgram& program, tcu::Surface& dstSurface);
2048 …est::renderWithContext (sglr::Context& ctx, sglr::ShaderProgram& program, tcu::Surface& dstSurface) in renderWithContext() argument
2146 ctx.readPixels(dstSurface, 0, 0, m_viewportSize.x(), m_viewportSize.y()); in renderWithContext()