Home
last modified time | relevance | path

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

12345678910>>...23

/external/skia/include/core/
DSkPixmap.h572 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes) const { in readPixels() function
573 return this->readPixels(dstInfo, dstPixels, dstRowBytes, 0, 0); in readPixels()
602 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, int srcX,
627 bool readPixels(const SkPixmap& dst, int srcX, int srcY) const { in readPixels() function
628 return this->readPixels(dst.info(), dst.writable_addr(), dst.rowBytes(), srcX, srcY); in readPixels()
648 bool readPixels(const SkPixmap& dst) const { in readPixels() function
649 return this->readPixels(dst.info(), dst.writable_addr(), dst.rowBytes(), 0, 0); in readPixels()
DSkBitmap.h941 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
970 bool readPixels(const SkPixmap& dst, int srcX, int srcY) const;
992 bool readPixels(const SkPixmap& dst) const { in readPixels() function
993 return this->readPixels(dst, 0, 0); in readPixels()
/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/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()
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 …]
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()
/external/skia/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()
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 …]
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()
/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/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/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/skia/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()
211 bool SkImage::readPixels(const SkPixmap& pmap, int srcX, int srcY, CachingHint chint) const { in readPixels() function in SkImage
212 return this->readPixels(pmap.info(), pmap.writable_addr(), pmap.rowBytes(), srcX, srcY, chint); in readPixels()
241 if (!this->readPixels(bitmap->info(), bitmap->getPixels(), bitmap->rowBytes(), 0, 0)) { in onAsLegacyBitmap()
386 if (!this->readPixels(pm, 0, 0)) { in makeRasterImage()
518 if (!src->readPixels(pm, 0, 0, SkImage::kDisallow_CachingHint)) { in SkImageMakeRasterCopyAndAssignColorSpace()
/external/deqp/modules/gles3/functional/
Des3fFlushFinishTests.cpp159 void readPixels (void);
283 void FlushFinishCase::readPixels (void) in readPixels() function in deqp::gles3::Functional::__anon7e9b15e20111::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()
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);
/external/deqp/modules/egl/
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()
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)
/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/gles2/functional/
Des2fFlushFinishTests.cpp147 void readPixels (void);
257 void FlushFinishCase::readPixels (void) in readPixels() function in deqp::gles2::Functional::__anon5c62eec00111::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()

12345678910>>...23