/external/skia/tests/ |
D | SkImageTest.cpp | 42 canvas.readPixels(info, &pixel, 4, 0, 0); in DEF_TEST() 44 canvas.readPixels(info, &pixel, 4, gWidth - 6, gWidth - 6); in DEF_TEST() 47 canvas.readPixels(info, &pixel, 4, gWidth - 5, gWidth - 5); in DEF_TEST()
|
D | SurfaceTest.cpp | 202 REPORTER_ASSERT(reporter, !image->readPixels(info, pixels, rowBytes, 0, 0)); in test_image_readpixels() 206 REPORTER_ASSERT(reporter, !image->readPixels(info, pixels, rowBytes, -w, 0)); in test_image_readpixels() 207 REPORTER_ASSERT(reporter, !image->readPixels(info, pixels, rowBytes, 0, -h)); in test_image_readpixels() 208 REPORTER_ASSERT(reporter, !image->readPixels(info, pixels, rowBytes, image->width(), 0)); in test_image_readpixels() 209 REPORTER_ASSERT(reporter, !image->readPixels(info, pixels, rowBytes, 0, image->height())); in test_image_readpixels() 213 REPORTER_ASSERT(reporter, image->readPixels(info, pixels, rowBytes, 0, 0)); in test_image_readpixels() 218 REPORTER_ASSERT(reporter, image->readPixels(info, pixels, rowBytes, in test_image_readpixels() 224 REPORTER_ASSERT(reporter, image->readPixels(info, pixels, rowBytes, -1, -1)); in test_image_readpixels() 230 REPORTER_ASSERT(reporter, image->readPixels(info, pixels, rowBytes, in test_image_readpixels() 637 REPORTER_ASSERT(reporter, image->readPixels(info, &pixel, sizeof(pixel), 0, 0)); in test_image_color()
|
D | ImageNewShaderTest.cpp | 62 sourceSurface->getCanvas()->readPixels(rect, &bmOrig); in runShaderTest() 66 destinationCanvas->readPixels(rect, &bm); in runShaderTest() 89 destinationCanvas->readPixels(rect, &bmt); in runShaderTest()
|
D | ReadWriteAlphaTest.cpp | 68 texture->readPixels(0, 0, desc.fWidth, desc.fHeight, desc.fConfig, in DEF_GPUTEST() 97 texture->readPixels(0, 0, desc.fWidth, desc.fHeight, desc.fConfig, in DEF_GPUTEST()
|
D | FloatingPointTextureTest.cpp | 69 fpTexture->readPixels(0, 0, DEV_W, DEV_H, desc.fConfig, readBuffer.begin(), 0); in DEF_GPUTEST() 116 fpTexture->readPixels(0, 0, DEV_W, DEV_H, desc.fConfig, readBuffer.begin(), 0); in DEF_GPUTEST()
|
D | PremulAlphaRoundTripTest.cpp | 113 canvas.readPixels(&readBmp1, 0, 0); in DEF_GPUTEST() 116 canvas.readPixels(&readBmp2, 0, 0); in DEF_GPUTEST()
|
/external/deqp/modules/egl/ |
D | teglGLES2RenderUtil.cpp | 44 void readPixels (const glw::Functions& gl, tcu::Surface& dst, int x, int y, int width, int height) in readPixels() function 47 gl.readPixels(x, y, width, height, GL_RGBA, GL_UNSIGNED_BYTE, dst.getAccess().getDataPtr()); in readPixels()
|
D | teglVGRenderUtil.cpp | 48 void readPixels (tcu::Surface& dst, int x, int y, int width, int height) in readPixels() function 68 void readPixels (tcu::Surface& dst, int x, int y, int width, int height)
|
D | teglColorClearCase.cpp | 136 static void readPixels (EGLint api, const ApiFunctions& func, tcu::Surface& dst) in readPixels() function 140 case EGL_OPENGL_ES_BIT: gles1::readPixels (dst, 0, 0, dst.getWidth(), dst.getHeight()); break; in readPixels() 141 …case EGL_OPENGL_ES2_BIT: gles2::readPixels (func.gl, dst, 0, 0, dst.getWidth(), dst.getHeight());… in readPixels() 142 …case EGL_OPENGL_ES3_BIT_KHR: gles2::readPixels (func.gl, dst, 0, 0, dst.getWidth(), dst.getHeight(… in readPixels() 143 case EGL_OPENVG_BIT: vg::readPixels (dst, 0, 0, dst.getWidth(), dst.getHeight()); break; in readPixels() 236 readPixels(api, funcs, frame); in executeForContexts() 405 readPixels(api, funcs, frame); in executeForContexts()
|
D | teglGLES1RenderUtil.cpp | 50 void readPixels (tcu::Surface& dst, int x, int y, int width, int height) in readPixels() function 70 void readPixels (tcu::Surface& dst, int x, int y, int width, int height)
|
D | teglGLES1RenderUtil.hpp | 38 void readPixels (tcu::Surface& dst, int x, int y, int width, int height);
|
D | teglVGRenderUtil.hpp | 38 void readPixels (tcu::Surface& dst, int x, int y, int width, int height);
|
D | teglGLES2RenderUtil.hpp | 43 void readPixels (const glw::Functions& gl, tcu::Surface& dst, int x, int y, int width, int height);
|
/external/deqp/modules/gles3/functional/ |
D | es3fFlushFinishTests.cpp | 157 void readPixels (void); 281 void FlushFinishCase::readPixels (void) in readPixels() function in deqp::gles3::Functional::__anon8e897bb90111::FlushFinishCase 286 gl.readPixels(0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &tmp); in readPixels() 312 readPixels(); in calibrate() 366 readPixels(); in calibrate() 420 readPixels(); in verifyCalibration() 542 readPixels(); in iterate() 593 readPixels(); in iterate()
|
D | es3fFboTestCase.hpp | 59 …void readPixels (tcu::Surface& dst, int x, int y, int width, int height, const tcu::TextureF… 60 void readPixels (tcu::Surface& dst, int x, int y, int width, int height);
|
D | es3fFboTestCase.cpp | 127 void FboTestCase::readPixels (tcu::Surface& dst, int x, int y, int width, int height, const tcu::Te… in readPixels() function in deqp::gles3::Functional::FboTestCase 129 FboTestUtil::readPixels(*getCurrentContext(), dst, x, y, width, height, format, scale, bias); in readPixels() 132 void FboTestCase::readPixels (tcu::Surface& dst, int x, int y, int width, int height) in readPixels() function in deqp::gles3::Functional::FboTestCase 134 getCurrentContext()->readPixels(dst, x, y, width, height); in readPixels()
|
D | es3fFboRenderTest.cpp | 598 context.readPixels(dst, 0, 0, context.getWidth(), context.getHeight()); in render() 601 …readPixels(context, dst, 0, 0, width, height, colorFormat, fboRangeInfo.lookupScale, fboRangeInfo.… in render() 728 context.readPixels(dst, 0, 0, context.getWidth(), context.getHeight()); in render() 731 …readPixels(context, dst, 0, 0, width, height, glu::mapGLInternalFormat(fboA.getConfig().colorForma… in render() 831 context.readPixels(dst, 0, 0, context.getWidth(), context.getHeight()); in render() 834 readPixels(context, dst, 0, 0, width, height, colorFormat, Vec4(1.0f), Vec4(0.0f)); in render() 959 context.readPixels(dst, 0, 0, context.getWidth(), context.getHeight()); in render() 964 …readPixels(context, dst, 0, 0, width, height, glu::mapGLInternalFormat(m_config.colorFormat), Vec4… in render() 1021 context.readPixels(dst, 0, 0, context.getWidth(), context.getHeight()); 1091 context.readPixels(dst, 0, 0, context.getWidth(), context.getHeight()); [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fFboTestCase.hpp | 59 …void readPixels (tcu::Surface& dst, int x, int y, int width, int height, const tcu::TextureF… 60 void readPixels (tcu::Surface& dst, int x, int y, int width, int height);
|
D | es31fFboTestCase.cpp | 131 void FboTestCase::readPixels (tcu::Surface& dst, int x, int y, int width, int height, const tcu::Te… in readPixels() function in deqp::gles31::Functional::FboTestCase 133 FboTestUtil::readPixels(*getCurrentContext(), dst, x, y, width, height, format, scale, bias); in readPixels() 136 void FboTestCase::readPixels (tcu::Surface& dst, int x, int y, int width, int height) in readPixels() function in deqp::gles31::Functional::FboTestCase 138 getCurrentContext()->readPixels(dst, x, y, width, height); in readPixels()
|
/external/deqp/modules/gles2/functional/ |
D | es2fFlushFinishTests.cpp | 147 void readPixels (void); 257 void FlushFinishCase::readPixels (void) in readPixels() function in deqp::gles2::Functional::__anon6c5154970111::FlushFinishCase 262 gl.readPixels(0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &tmp); in readPixels() 285 readPixels(); in calibrate() 432 readPixels(); in iterate() 463 readPixels(); in iterate()
|
D | es2fFboRenderTest.cpp | 713 context.readPixels(dst, 0, 0, context.getWidth(), context.getHeight()); in render() 718 context.readPixels(dst, 0, 0, width, height); in render() 806 ctx.readPixels(dst, 0, 0, ctx.getWidth(), ctx.getHeight()); in render() 811 ctx.readPixels(dst, 0, 0, width, height); in render() 907 context.readPixels(dst, 0, 0, context.getWidth(), context.getHeight()); in render() 980 context.readPixels(dst, 0, 0, context.getWidth(), context.getHeight()); in render() 983 context.readPixels(dst, 0, 0, width, height); in render() 1058 context.readPixels(dst, 0, 0, context.getWidth(), context.getHeight()); in render() 1061 context.readPixels(dst, 0, 0, width, height); in render() 1166 ctx.readPixels(dst, 0, 0, ctx.getWidth(), ctx.getHeight()); in render() [all …]
|
/external/deqp/framework/opengl/simplereference/ |
D | sglrContext.cpp | 77 void Context::readPixels (tcu::Surface& dst, int x, int y, int width, int height) in readPixels() function in sglr::Context 80 readPixels(x, y, width, height, GL_RGBA, GL_UNSIGNED_BYTE, dst.getAccess().getDataPtr()); in readPixels()
|
/external/skia/src/gpu/ |
D | GrSurface.cpp | 28 bool GrSurface::readPixels(int left, int top, int width, int height, in readPixels() function in GrSurface 62 bool result = this->readPixels(0, 0, this->width(), this->height(), kSkia8888_GrPixelConfig, in savePixels()
|
/external/skia/tools/ |
D | CopyTilesRenderer.cpp | 77 fCanvas->readPixels(SkIRect::MakeSize(fCanvas->getBaseLayerSize()), &baseBitmap); in render() 98 dst.pixelRef()->readPixels(©, &subset); in render()
|
/external/skia/src/image/ |
D | SkSurface.cpp | 173 bool SkSurface::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, in readPixels() function in SkSurface 175 return this->getCanvas()->readPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY); in readPixels()
|