Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrGpu.cpp292 bool GrGpu::getWritePixelsInfo(GrSurface* dstSurface, int width, int height, in getWritePixelsInfo() argument
299 if (GrPixelConfigIsCompressed(dstSurface->desc().fConfig) && in getWritePixelsInfo()
300 dstSurface->desc().fConfig != srcConfig) { in getWritePixelsInfo()
304 if (SkToBool(dstSurface->asRenderTarget())) { in getWritePixelsInfo()
308 (width < dstSurface->width() || height < dstSurface->height())) { in getWritePixelsInfo()
313 if (!this->onGetWritePixelsInfo(dstSurface, width, height, srcConfig, drawPreference, in getWritePixelsInfo()
319 if (!dstSurface->asRenderTarget() || in getWritePixelsInfo()
DGrGpu.h228 bool getWritePixelsInfo(GrSurface* dstSurface, int width, int height,
543 virtual bool onGetWritePixelsInfo(GrSurface* dstSurface, int width, int height,
DGrTest.cpp305 bool onGetWritePixelsInfo(GrSurface* dstSurface, int width, int height, in onGetWritePixelsInfo() argument
/external/skia/src/gpu/gl/
DGrGLGpu.cpp721 bool GrGLGpu::onGetWritePixelsInfo(GrSurface* dstSurface, int width, int height, in onGetWritePixelsInfo() argument
725 if (kIndex_8_GrPixelConfig == srcConfig || GrPixelConfigIsCompressed(dstSurface->config())) { in onGetWritePixelsInfo()
731 if (!dstSurface->asTexture()) { in onGetWritePixelsInfo()
734 GrGLTexture* texture = static_cast<GrGLTexture*>(dstSurface->asTexture()); in onGetWritePixelsInfo()
741 if (GrPixelConfigIsSRGB(dstSurface->config()) != GrPixelConfigIsSRGB(srcConfig)) { in onGetWritePixelsInfo()
758 bool configsAreRBSwaps = GrPixelConfigSwapRAndB(srcConfig) == dstSurface->config(); in onGetWritePixelsInfo()
763 tempDrawInfo->fTempSurfaceDesc.fConfig = dstSurface->config(); in onGetWritePixelsInfo()
765 tempDrawInfo->fWriteConfig = dstSurface->config(); in onGetWritePixelsInfo()
769 tempDrawInfo->fTempSurfaceDesc.fConfig = dstSurface->config(); in onGetWritePixelsInfo()
771 tempDrawInfo->fWriteConfig = dstSurface->config(); in onGetWritePixelsInfo()
[all …]
DGrGLGpu.h66 bool onGetWritePixelsInfo(GrSurface* dstSurface, int width, int height,
/external/skia/src/gpu/vk/
DGrVkGpu.h63 bool onGetWritePixelsInfo(GrSurface* dstSurface, int width, int height,
DGrVkGpu.cpp239 bool GrVkGpu::onGetWritePixelsInfo(GrSurface* dstSurface, int width, int height, in onGetWritePixelsInfo() argument
242 if (kIndex_8_GrPixelConfig == srcConfig || GrPixelConfigIsCompressed(dstSurface->config())) { in onGetWritePixelsInfo()
251 if (dstSurface->config() != srcConfig) { in onGetWritePixelsInfo()
/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()