Home
last modified time | relevance | path

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

12345678910>>...12

/external/skia/tests/
DVkClearTests.cpp68 gpu->readPixels(tex, 0, 0, 5, 5, config, (void*)buffer.get(), 0); in basic_clear_test()
78 gpu->readPixels(tex, 0, 0, 5, 5, config, (void*)buffer.get(), 0); in basic_clear_test()
90 gpu->readPixels(tex, 0, 0, 5, 5, config, (void*)buffer.get(), 0); in basic_clear_test()
123 gpu->readPixels(tex, 0, 0, width, height, config, (void*)buffer.get(), 0); in sub_clear_test()
139 gpu->readPixels(tex, 0, 0, width, height, config, (void*)buffer.get(), 0); in sub_clear_test()
149 gpu->readPixels(tex, 0, 0, width, height, config, (void*)buffer.get(), 0); in sub_clear_test()
171 gpu->readPixels(tex, 0, 0, subWidth, subHeight, config, (void*)subBuffer.get(), 0); in sub_clear_test()
177 gpu->readPixels(tex, subWidth, 0, subWidth, subHeight, config, (void*)subBuffer.get(), 0); in sub_clear_test()
183 gpu->readPixels(tex, 0, subHeight, subWidth, subHeight, config, (void*)subBuffer.get(), 0); in sub_clear_test()
189 gpu->readPixels(tex, subWidth, subHeight, subWidth, subHeight, in sub_clear_test()
DSkImageTest.cpp40 canvas.readPixels(info, &pixel, 4, 0, 0); in DEF_TEST()
42 canvas.readPixels(info, &pixel, 4, gWidth - 6, gWidth - 6); in DEF_TEST()
45 canvas.readPixels(info, &pixel, 4, gWidth - 5, gWidth - 5); in DEF_TEST()
DImageTest.cpp50 REPORTER_ASSERT(reporter, a->readPixels(pmapA, srcX, srcY)); in assert_equal()
51 REPORTER_ASSERT(reporter, b->readPixels(pmapB, 0, 0)); in assert_equal()
256 image->readPixels(dstInfo, pixels, dstRowBytes, 0, 0); in DEF_TEST()
279 REPORTER_ASSERT(reporter, image1->readPixels(dstInfo, pixels, dstRowBytes, 0, 0)); in DEF_TEST()
291 REPORTER_ASSERT(reporter, image2->readPixels(dstInfo, pixels, dstRowBytes, 0, 0)); in DEF_TEST()
506 REPORTER_ASSERT(reporter, !image->readPixels(info, pixels, rowBytes, 0, 0)); in test_read_pixels()
510 REPORTER_ASSERT(reporter, !image->readPixels(info, pixels, rowBytes, -w, 0)); in test_read_pixels()
511 REPORTER_ASSERT(reporter, !image->readPixels(info, pixels, rowBytes, 0, -h)); in test_read_pixels()
512 REPORTER_ASSERT(reporter, !image->readPixels(info, pixels, rowBytes, image->width(), 0)); in test_read_pixels()
513 REPORTER_ASSERT(reporter, !image->readPixels(info, pixels, rowBytes, 0, image->height())); in test_read_pixels()
[all …]
DVkUploadPixelsTests.cpp89 gpu->readPixels(tex0, 0, 0, kWidth, kHeight, config, dstBuffer, 0); in basic_texture_test()
98 gpu->readPixels(tex0, 2, 10, 10, 2, config, dstBuffer, 0); in basic_texture_test()
114 gpu->readPixels(tex1, 0, 0, kWidth, kHeight, config, dstBuffer, 0); in basic_texture_test()
123 gpu->readPixels(tex1, 5, 4, 4, 5, config, dstBuffer, 0); in basic_texture_test()
DImageNewShaderTest.cpp62 sourceSurface->getCanvas()->readPixels(rect, &bmOrig); in runShaderTest()
66 destinationCanvas->readPixels(rect, &bm); in runShaderTest()
89 destinationCanvas->readPixels(rect, &bmt); in runShaderTest()
DReadWriteAlphaTest.cpp79 texture->readPixels(0, 0, desc.fWidth, desc.fHeight, desc.fConfig, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
104 texture->readPixels(0, 0, desc.fWidth, desc.fHeight, desc.fConfig, readback.get(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
170 texture->readPixels(0, 0, desc.fWidth, desc.fHeight, kAlpha_8_GrPixelConfig, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/include/core/
DSkPixmap.h151 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
153 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes) const { in readPixels() function
154 return this->readPixels(dstInfo, dstPixels, dstRowBytes, 0, 0); in readPixels()
156 bool readPixels(const SkPixmap& dst, int srcX, int srcY) const { in readPixels() function
157 return this->readPixels(dst.info(), dst.writable_addr(), dst.rowBytes(), srcX, srcY); in readPixels()
159 bool readPixels(const SkPixmap& dst) const { in readPixels() function
160 return this->readPixels(dst.info(), dst.writable_addr(), dst.rowBytes(), 0, 0); in readPixels()
/external/opencv3/3rdparty/openexr/IlmImf/
DImfScanLineInputFile.h148 void readPixels (int scanLine1, int scanLine2);
149 void readPixels (int scanLine);
DImfRgbaFile.cpp818 void readPixels (int scanLine1, int scanLine2);
822 void readPixels (int scanLine);
950 RgbaInputFile::FromYca::readPixels (int scanLine1, int scanLine2) in readPixels() function in Imf::RgbaInputFile::FromYca
958 readPixels (y); in readPixels()
963 readPixels (y); in readPixels()
969 RgbaInputFile::FromYca::readPixels (int scanLine) in readPixels() function in Imf::RgbaInputFile::FromYca
1125 _inputFile.readPixels (y); in readYCAScanLine()
1292 RgbaInputFile::readPixels (int scanLine1, int scanLine2) in readPixels() function in Imf::RgbaInputFile
1297 _fromYca->readPixels (scanLine1, scanLine2); in readPixels()
1301 _inputFile->readPixels (scanLine1, scanLine2); in readPixels()
[all …]
DImfInputFile.h166 void readPixels (int scanLine1, int scanLine2);
167 void readPixels (int scanLine);
DImfAcesFile.cpp502 AcesInputFile::readPixels (int scanLine1, int scanLine2) in readPixels() function in Imf::AcesInputFile
508 _data->rgbaFile->readPixels (scanLine1, scanLine2); in readPixels()
543 AcesInputFile::readPixels (int scanLine) in readPixels() function in Imf::AcesInputFile
545 readPixels (scanLine, scanLine); in readPixels()
DImfAcesFile.h282 void readPixels (int scanLine1, int scanLine2);
283 void readPixels (int scanLine);
/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)
/external/skia/src/image/
DSkImage.cpp51 bool SkImage::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, in readPixels() function in SkImage
62 return this->readPixels(dst, 0, 0, chint); in scalePixels()
257 bool SkImage::readPixels(const SkPixmap& pmap, int srcX, int srcY, CachingHint chint) const { in readPixels() function in SkImage
258 return this->readPixels(pmap.info(), pmap.writable_addr(), pmap.rowBytes(), srcX, srcY, chint); in readPixels()
319 if (!this->readPixels(bitmap->info(), bitmap->getPixels(), bitmap->rowBytes(), 0, 0)) { in onAsLegacyBitmap()
/external/skia/src/gpu/
DGrTextureToYUVPlanes.cpp174 if (!yuvTex->readPixels(0, 0, yuvSize.fWidth, yuvSize.fHeight, in GrTextureToYUVPlanes()
202 if (!yTex->readPixels(0, 0, sizes[0].fWidth, sizes[0].fHeight, in GrTextureToYUVPlanes()
211 if (!uvTex->readPixels(0, 0, uvSize.fWidth, uvSize.fHeight, in GrTextureToYUVPlanes()
235 if (!uTex->readPixels(0, 0, sizes[1].fWidth, sizes[1].fHeight, in GrTextureToYUVPlanes()
239 if (!vTex->readPixels(0, 0, sizes[2].fWidth, sizes[2].fHeight, in GrTextureToYUVPlanes()
/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/gles3/functional/
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);
Des3fFlushFinishTests.cpp157 void readPixels (void);
281 void FlushFinishCase::readPixels (void) in readPixels() function in deqp::gles3::Functional::__anon23102b050111::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.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()
/external/deqp/modules/gles2/functional/
Des2fFlushFinishTests.cpp147 void readPixels (void);
257 void FlushFinishCase::readPixels (void) in readPixels() function in deqp::gles2::Functional::__anon00d803e30111::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()
/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()

12345678910>>...12