/external/skia/tests/ |
D | VkClearTests.cpp | 69 gpu->readPixels(tex, 0, 0, 5, 5, config, (void*)buffer.get(), 0); in basic_clear_test() 79 gpu->readPixels(tex, 0, 0, 5, 5, config, (void*)buffer.get(), 0); in basic_clear_test() 91 gpu->readPixels(tex, 0, 0, 5, 5, config, (void*)buffer.get(), 0); in basic_clear_test() 125 gpu->readPixels(tex, 0, 0, width, height, config, (void*)buffer.get(), 0); in sub_clear_test() 141 gpu->readPixels(tex, 0, 0, width, height, config, (void*)buffer.get(), 0); in sub_clear_test() 151 gpu->readPixels(tex, 0, 0, width, height, config, (void*)buffer.get(), 0); in sub_clear_test() 173 gpu->readPixels(tex, 0, 0, subWidth, subHeight, config, (void*)subBuffer.get(), 0); in sub_clear_test() 179 gpu->readPixels(tex, subWidth, 0, subWidth, subHeight, config, (void*)subBuffer.get(), 0); in sub_clear_test() 185 gpu->readPixels(tex, 0, subHeight, subWidth, subHeight, config, (void*)subBuffer.get(), 0); in sub_clear_test() 191 gpu->readPixels(tex, subWidth, subHeight, subWidth, subHeight, in sub_clear_test()
|
D | IntTextureTest.cpp | 92 bool success = texture->readPixels(0, 0, kS, kS, kRGBA_8888_GrPixelConfig, readData.get()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 97 bool success = texture->readPixels(0, 0, kS, kS, kRGBA_half_GrPixelConfig, halfData.get()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 105 bool success = texture->readPixels(0, 0, kS, kS, kRGBA_8888_sint_GrPixelConfig, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 114 bool success = texture->readPixels(0, 0, kS, kS, kRGBA_8888_sint_GrPixelConfig, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 136 bool success = copySurface->readPixels(0, 0, kS, kS, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 191 success = texture->readPixels(0, 0, kS, kS, kRGBA_8888_sint_GrPixelConfig, readData.get()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 251 rtContext->readPixels(readInfo, actualData.get(), 0, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | SkImageTest.cpp | 40 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()
|
D | VkUploadPixelsTests.cpp | 88 gpu->readPixels(tex0, 0, 0, kWidth, kHeight, config, dstBuffer, 0); in basic_texture_test() 97 gpu->readPixels(tex0, 2, 10, 10, 2, config, dstBuffer, 0); in basic_texture_test() 113 gpu->readPixels(tex1, 0, 0, kWidth, kHeight, config, dstBuffer, 0); in basic_texture_test() 122 gpu->readPixels(tex1, 5, 4, 4, 5, config, dstBuffer, 0); in basic_texture_test()
|
D | ImageTest.cpp | 66 REPORTER_ASSERT(reporter, a->readPixels(pmapA, srcX, srcY)); in assert_equal() 67 REPORTER_ASSERT(reporter, b->readPixels(pmapB, 0, 0)); in assert_equal() 315 image->readPixels(dstInfo, pixels, dstRowBytes, 0, 0); in DEF_TEST() 338 REPORTER_ASSERT(reporter, image1->readPixels(dstInfo, pixels, dstRowBytes, 0, 0)); in DEF_TEST() 350 REPORTER_ASSERT(reporter, image2->readPixels(dstInfo, pixels, dstRowBytes, 0, 0)); in DEF_TEST() 631 REPORTER_ASSERT(reporter, !image->readPixels(info, pixels, rowBytes, 0, 0)); in image_test_read_pixels() 635 REPORTER_ASSERT(reporter, !image->readPixels(info, pixels, rowBytes, -w, 0)); in image_test_read_pixels() 636 REPORTER_ASSERT(reporter, !image->readPixels(info, pixels, rowBytes, 0, -h)); in image_test_read_pixels() 637 REPORTER_ASSERT(reporter, !image->readPixels(info, pixels, rowBytes, image->width(), 0)); in image_test_read_pixels() 638 REPORTER_ASSERT(reporter, !image->readPixels(info, pixels, rowBytes, 0, image->height())); in image_test_read_pixels() [all …]
|
D | ImageNewShaderTest.cpp | 63 sourceSurface->getCanvas()->readPixels(rect, &bmOrig); in run_shader_test() 67 destinationCanvas->readPixels(rect, &bm); in run_shader_test() 88 destinationCanvas->readPixels(rect, &bmt); in run_shader_test()
|
D | ReadWriteAlphaTest.cpp | 92 result = sContext->readPixels(ii, readback.get(), rowBytes, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 114 result = surf->readPixels(ii, readback.get(), nonZeroRowBytes, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 180 bool result = texture->readPixels(0, 0, desc.fWidth, desc.fHeight, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | PremulAlphaRoundTripTest.cpp | 79 canvas->readPixels(&readBmp1, 0, 0); in test_premul_alpha_roundtrip() 82 canvas->readPixels(&readBmp2, 0, 0); in test_premul_alpha_roundtrip()
|
/external/skia/include/core/ |
D | SkPixmap.h | 185 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, 187 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes) const { in readPixels() function 188 return this->readPixels(dstInfo, dstPixels, dstRowBytes, 0, 0); in readPixels() 190 bool readPixels(const SkPixmap& dst, int srcX, int srcY) const { in readPixels() function 191 return this->readPixels(dst.info(), dst.writable_addr(), dst.rowBytes(), srcX, srcY); in readPixels() 193 bool readPixels(const SkPixmap& dst) const { in readPixels() function 194 return this->readPixels(dst.info(), dst.writable_addr(), dst.rowBytes(), 0, 0); in readPixels()
|
D | SkBitmap.h | 647 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, 649 bool readPixels(const SkPixmap& dst, int srcX, int srcY) const; 650 bool readPixels(const SkPixmap& dst) const { in readPixels() function 651 return this->readPixels(dst, 0, 0); in readPixels()
|
/external/skia/src/gpu/ |
D | GrTextureToYUVPlanes.cpp | 168 if (!yuvRenderTargetContext->readPixels(ii, tempYUV.get(), 0, 0, 0)) { in GrTextureToYUVPlanes() 197 if (!yRenderTargetContext->readPixels(ii, planes[0], rowBytes[0], 0, 0)) { in GrTextureToYUVPlanes() 210 if (!uvRenderTargetContext->readPixels(ii, tempUV.get(), 0, 0, 0)) { in GrTextureToYUVPlanes() 235 if (!uRenderTargetContext->readPixels(ii, planes[1], rowBytes[1], 0, 0)) { in GrTextureToYUVPlanes() 240 if (!vRenderTargetContext->readPixels(ii, planes[2], rowBytes[2], 0, 0)) { in GrTextureToYUVPlanes()
|
/external/skia/include/gpu/ |
D | GrSurface.h | 86 bool readPixels(SkColorSpace* srcColorSpace, 109 bool readPixels(int left, int top, int width, int height, 114 return this->readPixels(nullptr, left, top, width, height, config, nullptr, buffer,
|
/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 | 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() 406 readPixels(api, funcs, frame); in executeForContexts()
|
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 | 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)
|
/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()
|
/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/skia/src/image/ |
D | SkImage.cpp | 55 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() 212 bool SkImage::readPixels(const SkPixmap& pmap, int srcX, int srcY, CachingHint chint) const { in readPixels() function in SkImage 213 return this->readPixels(pmap.info(), pmap.writable_addr(), pmap.rowBytes(), srcX, srcY, chint); in readPixels() 243 if (!this->readPixels(bitmap->info(), bitmap->getPixels(), bitmap->rowBytes(), 0, 0)) { in onAsLegacyBitmap() 438 if (!src->readPixels(pm, 0, 0, SkImage::kDisallow_CachingHint)) { in SkImageMakeRasterCopyAndAssignColorSpace()
|
/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()
|