Home
last modified time | relevance | path

Searched refs:readPixels (Results 1 – 25 of 239) sorted by relevance

12345678910

/external/skia/tests/
DSkImageTest.cpp42 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()
DSurfaceTest.cpp202 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()
DImageNewShaderTest.cpp62 sourceSurface->getCanvas()->readPixels(rect, &bmOrig); in runShaderTest()
66 destinationCanvas->readPixels(rect, &bm); in runShaderTest()
89 destinationCanvas->readPixels(rect, &bmt); in runShaderTest()
DReadWriteAlphaTest.cpp68 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()
DFloatingPointTextureTest.cpp69 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()
DPremulAlphaRoundTripTest.cpp113 canvas.readPixels(&readBmp1, 0, 0); in DEF_GPUTEST()
116 canvas.readPixels(&readBmp2, 0, 0); in DEF_GPUTEST()
/external/deqp/modules/egl/
DteglGLES2RenderUtil.cpp44 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()
DteglVGRenderUtil.cpp48 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)
DteglColorClearCase.cpp136 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()
DteglGLES1RenderUtil.cpp50 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)
DteglGLES1RenderUtil.hpp38 void readPixels (tcu::Surface& dst, int x, int y, int width, int height);
DteglVGRenderUtil.hpp38 void readPixels (tcu::Surface& dst, int x, int y, int width, int height);
DteglGLES2RenderUtil.hpp43 void readPixels (const glw::Functions& gl, tcu::Surface& dst, int x, int y, int width, int height);
/external/deqp/modules/gles3/functional/
Des3fFlushFinishTests.cpp157 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()
Des3fFboTestCase.hpp59 …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);
Des3fFboTestCase.cpp127 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()
Des3fFboRenderTest.cpp598 context.readPixels(dst, 0, 0, context.getWidth(), context.getHeight()); in render()
601readPixels(context, dst, 0, 0, width, height, colorFormat, fboRangeInfo.lookupScale, fboRangeInfo.… in render()
728 context.readPixels(dst, 0, 0, context.getWidth(), context.getHeight()); in render()
731readPixels(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()
964readPixels(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/
Des31fFboTestCase.hpp59 …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);
Des31fFboTestCase.cpp131 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/
Des2fFlushFinishTests.cpp147 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()
Des2fFboRenderTest.cpp713 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/
DsglrContext.cpp77 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/
DGrSurface.cpp28 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/
DCopyTilesRenderer.cpp77 fCanvas->readPixels(SkIRect::MakeSize(fCanvas->getBaseLayerSize()), &baseBitmap); in render()
98 dst.pixelRef()->readPixels(&copy, &subset); in render()
/external/skia/src/image/
DSkSurface.cpp173 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()

12345678910