/third_party/flutter/skia/include/core/ |
D | SkPixmap.h | 567 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes) const { in readPixels() function 568 return this->readPixels(dstInfo, dstPixels, dstRowBytes, 0, 0); in readPixels() 597 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, int srcX, 622 bool readPixels(const SkPixmap& dst, int srcX, int srcY) const { in readPixels() function 623 return this->readPixels(dst.info(), dst.writable_addr(), dst.rowBytes(), srcX, srcY); in readPixels() 643 bool readPixels(const SkPixmap& dst) const { in readPixels() function 644 return this->readPixels(dst.info(), dst.writable_addr(), dst.rowBytes(), 0, 0); in readPixels()
|
D | SkBitmap.h | 925 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, 954 bool readPixels(const SkPixmap& dst, int srcX, int srcY) const; 976 bool readPixels(const SkPixmap& dst) const { in readPixels() function 977 return this->readPixels(dst, 0, 0); in readPixels()
|
/third_party/skia/include/core/ |
D | SkPixmap.h | 563 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes) const { in readPixels() function 564 return this->readPixels(dstInfo, dstPixels, dstRowBytes, 0, 0); in readPixels() 593 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, int srcX, 618 bool readPixels(const SkPixmap& dst, int srcX, int srcY) const { in readPixels() function 619 return this->readPixels(dst.info(), dst.writable_addr(), dst.rowBytes(), srcX, srcY); in readPixels() 639 bool readPixels(const SkPixmap& dst) const { in readPixels() function 640 return this->readPixels(dst.info(), dst.writable_addr(), dst.rowBytes(), 0, 0); in readPixels()
|
/third_party/skia/tests/ |
D | SkImageTest.cpp | 41 tgt.readPixels(info, &pixel, 4, 0, 0); in DEF_TEST() 43 tgt.readPixels(info, &pixel, 4, gWidth - 6, gWidth - 6); in DEF_TEST() 46 tgt.readPixels(info, &pixel, 4, gWidth - 5, gWidth - 5); in DEF_TEST()
|
D | ExtendedSkColorTypeTests.cpp | 124 REPORTER_ASSERT(reporter, i->readPixels(nullptr, readbackPM, 0, 0)); in raster_tests() 151 REPORTER_ASSERT(reporter, i->readPixels(nullptr, readbackPM, 0, 0)); in raster_tests() 229 if (img->readPixels(dContext, nativeActual, 0, 0)) { in gpu_tests() 246 REPORTER_ASSERT(reporter, s->readPixels(nativeActual, 0, 0)); in gpu_tests() 263 if (img->readPixels(dContext, f32Actual, 0, 0)) { in gpu_tests() 287 REPORTER_ASSERT(reporter, s->readPixels(f32Actual, 0, 0)); in gpu_tests()
|
D | ImageNewShaderTest.cpp | 56 sourceSurface->readPixels(bmOrig, 0, 0); in run_shader_test() 61 destinationSurface->readPixels(bm, 0, 0); in run_shader_test() 83 destinationSurface->readPixels(bmt, 0, 0); in run_shader_test()
|
/third_party/flutter/skia/tests/ |
D | SkImageTest.cpp | 40 tgt.readPixels(info, &pixel, 4, 0, 0); in DEF_TEST() 42 tgt.readPixels(info, &pixel, 4, gWidth - 6, gWidth - 6); in DEF_TEST() 45 tgt.readPixels(info, &pixel, 4, gWidth - 5, gWidth - 5); in DEF_TEST()
|
D | GrUploadPixelsTests.cpp | 41 bool result = sContext->readPixels(dstInfo, dstBuffer, 0, {0, 0}); in basic_texture_test() 54 result = sContext->readPixels(dstInfo, dstBuffer, 0, {2, 10}); in basic_texture_test() 73 bool result = sContext->readPixels(dstInfo, dstBuffer, 0, {0, 0}); in basic_texture_test() 86 result = sContext->readPixels(dstInfo, dstBuffer, 0, {5, 4}); in basic_texture_test()
|
D | ImageNewShaderTest.cpp | 57 sourceSurface->readPixels(bmOrig, 0, 0); in run_shader_test() 62 destinationSurface->readPixels(bm, 0, 0); in run_shader_test() 84 destinationSurface->readPixels(bmt, 0, 0); in run_shader_test()
|
/third_party/skia/src/image/ |
D | SkSurface.cpp | 97 if (!this->readPixels(src, origSrcRect.x(), origSrcRect.y())) { in onAsyncRescaleAndReadPixels() 239 bool SkSurface::readPixels(const SkPixmap& pm, int srcX, int srcY) { in readPixels() function in SkSurface 240 return this->getCanvas()->readPixels(pm, srcX, srcY); in readPixels() 243 bool SkSurface::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, in readPixels() function in SkSurface 245 return this->readPixels({dstInfo, dstPixels, dstRowBytes}, srcX, srcY); in readPixels() 248 bool SkSurface::readPixels(const SkBitmap& bitmap, int srcX, int srcY) { in readPixels() function in SkSurface 250 return bitmap.peekPixels(&pm) && this->readPixels(pm, srcX, srcY); in readPixels()
|
D | SkImage.cpp | 60 bool SkImage::readPixels(GrDirectContext* dContext, const SkImageInfo& dstInfo, void* dstPixels, in readPixels() function in SkImage 66 bool SkImage::readPixels(const SkImageInfo& dstInfo, void* dstPixels, in readPixels() function in SkImage 69 return this->readPixels(dContext, dstInfo, dstPixels, dstRowBytes, srcX, srcY, chint); in readPixels() 116 return this->readPixels(dContext, dst, 0, 0, chint); in scalePixels() 277 if (!this->readPixels(dContext, src.pixmap(), origSrcRect.x(), origSrcRect.y())) { in onAsyncRescaleAndReadPixels() 455 bool SkImage::readPixels(GrDirectContext* dContext, const SkPixmap& pmap, int srcX, int srcY, in readPixels() function in SkImage 457 return this->readPixels(dContext, pmap.info(), pmap.writable_addr(), pmap.rowBytes(), srcX, in readPixels() 462 bool SkImage::readPixels(const SkPixmap& pmap, int srcX, int srcY, CachingHint chint) const { in readPixels() function in SkImage 464 return this->readPixels(dContext, pmap, srcX, srcY, chint); in readPixels() 492 if (!this->readPixels(dContext, bitmap->info(), bitmap->getPixels(), bitmap->rowBytes(), in onAsLegacyBitmap() [all …]
|
/third_party/flutter/skia/docs/examples/ |
D | Pixmap_readPixels_4.cpp | 12 image->readPixels(pixmap, 0, 0); in draw() 17 pixmap.readPixels(dstmap); in draw()
|
D | Pixmap_readPixels_2.cpp | 12 image->readPixels(pixmap, 0, 0); in draw() 16 pixmap.readPixels(info, &dstPixels.front(), rowBytes, offset, 0); in draw()
|
D | Pixmap_readPixels_3.cpp | 12 image->readPixels(pixmap, 0, 0); in draw() 17 pixmap.readPixels(dstmap, offset, 0); in draw()
|
/third_party/skia/docs/examples/ |
D | Pixmap_readPixels_3.cpp | 12 image->readPixels(nullptr, pixmap, 0, 0); in draw() 17 pixmap.readPixels(dstmap, offset, 0); in draw()
|
D | Pixmap_readPixels_4.cpp | 12 image->readPixels(nullptr, pixmap, 0, 0); in draw() 17 pixmap.readPixels(dstmap); in draw()
|
D | Pixmap_readPixels_2.cpp | 12 image->readPixels(nullptr, pixmap, 0, 0); in draw() 16 pixmap.readPixels(info, &dstPixels.front(), rowBytes, offset, 0); in draw()
|
/third_party/vk-gl-cts/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() 407 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)
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fFlushFinishTests.cpp | 159 void readPixels (void); 283 void FlushFinishCase::readPixels (void) in readPixels() function in deqp::gles3::Functional::__anonf9388eda0111::FlushFinishCase 288 gl.readPixels(0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &tmp); in readPixels() 317 readPixels(); in calibrate() 378 readPixels(); in calibrate() 438 readPixels(); in verifyCalibration() 560 readPixels(); in iterate() 611 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);
|
/third_party/vk-gl-cts/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);
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fFlushFinishTests.cpp | 147 void readPixels (void); 257 void FlushFinishCase::readPixels (void) in readPixels() function in deqp::gles2::Functional::__anond70067b80111::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()
|