Home
last modified time | relevance | path

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

/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/src/gpu/
DGrOpFlushState.cpp92 GrSurface* dstSurface = dstProxy->peekSurface(); in doUpload() local
93 if (!fGpu->caps()->surfaceSupportsWritePixels(dstSurface) && in doUpload()
94 … fGpu->caps()->supportedWritePixelsColorType(dstSurface->config(), srcColorType) != srcColorType) { in doUpload()
97 return this->fGpu->writePixels(dstSurface, left, top, width, height, srcColorType, buffer, in doUpload()
DGrContextPriv.cpp512 GrSurface* dstSurface = dstProxy->peekSurface(); in writeSurfacePixels() local
514 if (!GrSurfacePriv::AdjustWritePixelParams(dstSurface->width(), dstSurface->height(), in writeSurfacePixels()
538 if (!caps->surfaceSupportsWritePixels(dstSurface) || in writeSurfacePixels()
655 top = dstSurface->height() - top - height; in writeSurfacePixels()
667 top = dstSurface->height() - top - height; in writeSurfacePixels()
670 if (!(kDontFlush_PixelOpsFlag & pixelOpsFlags) && dstSurface->surfacePriv().hasPendingIO()) { in writeSurfacePixels()
674 return this->getGpu()->writePixels(dstSurface, left, top, width, height, srcColorType, buffer, in writeSurfacePixels()
/external/swiftshader/src/Vulkan/
DVkImage.cpp465 sw::Surface* dstSurface = Cast(dstImage)->asSurface(dstFlags, region.dstSubresource.mipLevel, 0); in blit() local
476 blitter->blit(srcSurface, sRect, dstSurface, dRect, in blit()
483 delete dstSurface; in blit()
/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/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/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()