Home
last modified time | relevance | path

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

12345678910>>...26

/external/skqp/include/core/
DSkPixmap.h560 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes) const { in readPixels() function
561 return this->readPixels(dstInfo, dstPixels, dstRowBytes, 0, 0); in readPixels()
590 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, int srcX,
615 bool readPixels(const SkPixmap& dst, int srcX, int srcY) const { in readPixels() function
616 return this->readPixels(dst.info(), dst.writable_addr(), dst.rowBytes(), srcX, srcY); in readPixels()
636 bool readPixels(const SkPixmap& dst) const { in readPixels() function
637 return this->readPixels(dst.info(), dst.writable_addr(), dst.rowBytes(), 0, 0); in readPixels()
/external/skia/include/core/
DSkPixmap.h563 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()
/external/skia/tests/
DSkImageTest.cpp41 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()
DExtendedSkColorTypeTests.cpp124 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()
DImageNewShaderTest.cpp56 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()
/external/skqp/tests/
DGrUploadPixelsTests.cpp39 bool result = sContext->readPixels(dstInfo, dstBuffer, 0, 0, 0); in basic_texture_test()
52 result = sContext->readPixels(dstInfo, dstBuffer, 0, 2, 10); in basic_texture_test()
69 bool result = sContext->readPixels(dstInfo, dstBuffer, 0, 0, 0); in basic_texture_test()
82 result = sContext->readPixels(dstInfo, dstBuffer, 0, 5, 4); in basic_texture_test()
DSkImageTest.cpp40 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()
DImageNewShaderTest.cpp57 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()
DImageTest.cpp70 REPORTER_ASSERT(reporter, a->readPixels(pmapA, srcX, srcY)); in assert_equal()
71 REPORTER_ASSERT(reporter, b->readPixels(pmapB, 0, 0)); in assert_equal()
267 REPORTER_ASSERT(reporter, image1->readPixels(dstInfo, pixels, dstRowBytes, 0, 0)); in DEF_TEST()
279 REPORTER_ASSERT(reporter, image2->readPixels(dstInfo, pixels, dstRowBytes, 0, 0)); in DEF_TEST()
529 if (!texImage->readPixels(unpremul.info(), unpremul.getPixels(), unpremul.rowBytes(), 0, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
547 if (!texImage->readPixels(premul.info(), premul.getPixels(), premul.rowBytes(), 0, 0)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
668 REPORTER_ASSERT(reporter, !image->readPixels(info, pixels, rowBytes, 0, 0)); in image_test_read_pixels()
672 REPORTER_ASSERT(reporter, !image->readPixels(info, pixels, rowBytes, -w, 0)); in image_test_read_pixels()
673 REPORTER_ASSERT(reporter, !image->readPixels(info, pixels, rowBytes, 0, -h)); in image_test_read_pixels()
674 REPORTER_ASSERT(reporter, !image->readPixels(info, pixels, rowBytes, image->width(), 0)); in image_test_read_pixels()
[all …]
/external/skqp/src/image/
DSkSurface.cpp196 bool SkSurface::readPixels(const SkPixmap& pm, int srcX, int srcY) { in readPixels() function in SkSurface
197 return this->getCanvas()->readPixels(pm, srcX, srcY); in readPixels()
200 bool SkSurface::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, in readPixels() function in SkSurface
202 return this->readPixels({dstInfo, dstPixels, dstRowBytes}, srcX, srcY); in readPixels()
205 bool SkSurface::readPixels(const SkBitmap& bitmap, int srcX, int srcY) { in readPixels() function in SkSurface
207 return bitmap.peekPixels(&pm) && this->readPixels(pm, srcX, srcY); in readPixels()
DSkImage.cpp52 bool SkImage::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, in readPixels() function in SkImage
59 return this->readPixels(dst, 0, 0, chint); in scalePixels()
205 bool SkImage::readPixels(const SkPixmap& pmap, int srcX, int srcY, CachingHint chint) const { in readPixels() function in SkImage
206 return this->readPixels(pmap.info(), pmap.writable_addr(), pmap.rowBytes(), srcX, srcY, chint); in readPixels()
235 if (!this->readPixels(bitmap->info(), bitmap->getPixels(), bitmap->rowBytes(), 0, 0)) { in onAsLegacyBitmap()
364 if (!this->readPixels(pm, 0, 0)) { in makeRasterImage()
496 if (!src->readPixels(pm, 0, 0, SkImage::kDisallow_CachingHint)) { in SkImageMakeRasterCopyAndAssignColorSpace()
/external/skqp/docs/
DSkPixmap_Reference.bmh134 image->readPixels(pixmap, 0, 0);
194 image->readPixels(pixmap, 0, 0);
227 image->readPixels(pixmap, 0, 0);
291 image->readPixels(pixmap, 0, 0);
677 #SeeAlso getAlphaf addr() readPixels
1131 image->readPixels(pixmap, 0, 0);
1222 #Method bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes) const
1252 srcPixmap.readPixels(dstInfo, &dstPixels.front(), width * 2);
1258 #SeeAlso erase SkBitmap::readPixels SkCanvas::drawBitmap SkCanvas::readPixels SkImage::readPixels S…
1264 #Method bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, int srcX,
[all …]
/external/skia/src/image/
DSkSurface.cpp92 if (!this->readPixels(src, origSrcRect.x(), origSrcRect.y())) { in onAsyncRescaleAndReadPixels()
231 bool SkSurface::readPixels(const SkPixmap& pm, int srcX, int srcY) { in readPixels() function in SkSurface
232 return this->getCanvas()->readPixels(pm, srcX, srcY); in readPixels()
235 bool SkSurface::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, in readPixels() function in SkSurface
237 return this->readPixels({dstInfo, dstPixels, dstRowBytes}, srcX, srcY); in readPixels()
240 bool SkSurface::readPixels(const SkBitmap& bitmap, int srcX, int srcY) { in readPixels() function in SkSurface
242 return bitmap.peekPixels(&pm) && this->readPixels(pm, srcX, srcY); in readPixels()
DSkImage.cpp62 bool SkImage::readPixels(GrDirectContext* dContext, const SkImageInfo& dstInfo, void* dstPixels, in readPixels() function in SkImage
68 bool SkImage::readPixels(const SkImageInfo& dstInfo, void* dstPixels, in readPixels() function in SkImage
71 return this->readPixels(dContext, dstInfo, dstPixels, dstRowBytes, srcX, srcY, chint); in readPixels()
118 return this->readPixels(dContext, dst, 0, 0, chint); in scalePixels()
289 if (!this->readPixels(dContext, src.pixmap(), origSrcRect.x(), origSrcRect.y())) { in onAsyncRescaleAndReadPixels()
467 bool SkImage::readPixels(GrDirectContext* dContext, const SkPixmap& pmap, int srcX, int srcY, in readPixels() function in SkImage
469 return this->readPixels(dContext, pmap.info(), pmap.writable_addr(), pmap.rowBytes(), srcX, in readPixels()
474 bool SkImage::readPixels(const SkPixmap& pmap, int srcX, int srcY, CachingHint chint) const { in readPixels() function in SkImage
476 return this->readPixels(dContext, pmap, srcX, srcY, chint); in readPixels()
504 if (!this->readPixels(dContext, bitmap->info(), bitmap->getPixels(), bitmap->rowBytes(), in onAsLegacyBitmap()
[all …]
/external/skia/docs/examples/
DPixmap_readPixels_4.cpp12 image->readPixels(nullptr, pixmap, 0, 0); in draw()
17 pixmap.readPixels(dstmap); in draw()
DPixmap_readPixels_3.cpp12 image->readPixels(nullptr, pixmap, 0, 0); in draw()
17 pixmap.readPixels(dstmap, offset, 0); in draw()
DPixmap_readPixels_2.cpp12 image->readPixels(nullptr, pixmap, 0, 0); in draw()
16 pixmap.readPixels(info, &dstPixels.front(), rowBytes, offset, 0); in draw()
/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)
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)
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()
407 readPixels(api, funcs, frame); in executeForContexts()
/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);
/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.cpp159 void readPixels (void);
283 void FlushFinishCase::readPixels (void) in readPixels() function in deqp::gles3::Functional::__anonccb3e7c00111::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()
/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>>...26