Home
last modified time | relevance | path

Searched refs:peekPixels (Results 1 – 25 of 75) sorted by relevance

123

/third_party/skia/tests/
DBitmapTest.cpp31 REPORTER_ASSERT(reporter, !bm.peekPixels(nullptr)); in test_peekpixels()
32 REPORTER_ASSERT(reporter, !bm.peekPixels(&pmap)); in test_peekpixels()
36 REPORTER_ASSERT(reporter, !bm.peekPixels(nullptr)); in test_peekpixels()
37 REPORTER_ASSERT(reporter, !bm.peekPixels(&pmap)); in test_peekpixels()
41 REPORTER_ASSERT(reporter, bm.peekPixels(nullptr)); in test_peekpixels()
42 REPORTER_ASSERT(reporter, bm.peekPixels(&pmap)); in test_peekpixels()
236 REPORTER_ASSERT(r, bm.peekPixels(&pm)); in DEF_TEST()
DDebugLayerManagerTest.cpp59 image->peekPixels(&pixmap); in test_basic()
70 image->peekPixels(&pixmap); in test_basic()
DEncodeTest.cpp65 success = bitmap.peekPixels(&src); in test_encode()
188 success = bitmap.peekPixels(&src); in DEF_TEST()
300 success = bitmap.peekPixels(&src); in DEF_TEST()
391 success = bitmap.peekPixels(&src); in DEF_TEST()
DSpecialImageTest.cpp122 REPORTER_ASSERT(reporter, isGPUBacked != !!tightImg->peekPixels(&tmpPixmap)); in test_image()
134 REPORTER_ASSERT(reporter, isGPUBacked != !!tightSurf->peekPixels(&tmpPixmap)); in test_image()
/third_party/skia/docs/examples/
DSurface_makeSurface.cpp12 if (big->peekPixels(&pixmap)) { in draw()
17 if (lil->peekPixels(&pixmap)) { in draw()
DCanvas_peekPixels.cpp8 if (canvas->peekPixels(&pixmap)) { in draw()
DImage_MakeCrossContextFromPixmap.cpp13 if (source.peekPixels(&pixmap)) { in draw()
DSurface_peekPixels.cpp15 if (surf->peekPixels(&pixmap)) {
DSurface_writePixels.cpp15 if (surf->peekPixels(&pixmap)) {
DSurface_draw.cpp13 if (big->peekPixels(&pixmap)) { in draw()
DImage_colorSpace.cpp9 source.peekPixels(&pixmap);
DImage_refColorSpace.cpp9 source.peekPixels(&pixmap);
DBitmap_peekPixels.cpp15 if (bitmap.peekPixels(&pixmap)) { in draw()
DCanvas_copy_const_SkBitmap.cpp13 if (!canvas.peekPixels(&pixmap)) { in draw()
DSurface_MakeRasterN32Premul.cpp11 if (surface->peekPixels(&pixmap)) { in draw()
DCanvas_const_SkBitmap_const_SkSurfaceProps.cpp13 if (!canvas.peekPixels(&pixmap)) { in draw()
DImage_peekPixels.cpp16 if (image->peekPixels(&pixmap)) {
DSurface_MakeRaster_2.cpp12 if (surface->peekPixels(&pixmap)) { in draw()
DSurface_MakeRaster.cpp13 if (surface->peekPixels(&pixmap)) { in draw()
/third_party/skia/src/image/
DSkSurface.cpp95 if (this->peekPixels(&peek)) { in onAsyncRescaleAndReadPixels()
239 bool SkSurface::peekPixels(SkPixmap* pmap) { in peekPixels() function in SkSurface
240 return this->getCanvas()->peekPixels(pmap); in peekPixels()
254 return bitmap.peekPixels(&pm) && this->readPixels(pm, srcX, srcY); in readPixels()
316 if (src.peekPixels(&pm)) { in writePixels()
DSkImage_Raster.cpp215 return fBitmap.peekPixels(pm); in onPeekPixels()
373 if (bm.peekPixels(&pmap)) { in SkMakeImageFromRasterBitmapPriv()
415 SkAssertResult(fBitmap.peekPixels(&src)); in onMakeColorTypeAndColorSpace()
/third_party/skia/tools/
DToolUtils.cpp379 if (!src.peekPixels(&srcPM)) { in copy_to()
394 if (!tmpDst.peekPixels(&dstPM)) { in copy_to()
456 return bm0.peekPixels(&pm0) && bm1.peekPixels(&pm1) && equal_pixels(pm0, pm1); in equal_pixels()
465 return imga->peekPixels(&pm0) && imgb->peekPixels(&pm1) && equal_pixels(pm0, pm1); in equal_pixels()
/third_party/skia/src/images/
DSkImageEncoder.cpp34 return src.peekPixels(&pixmap) && SkEncodeImage(dst, pixmap, f, q); in SkEncodeImage()
112 return src.peekPixels(&pixmap) ? SkEncodePixmap(pixmap, format, quality) : nullptr; in SkEncodeBitmap()
/third_party/skia/bench/
DReadPixBench.cpp90 fSrc.peekPixels(&src); in onDraw()
91 fDst.peekPixels(&dst); in onDraw()
/third_party/skia/src/core/
DSkBitmap.cpp410 if (!this->peekPixels(&result)) { in erase()
464 if (!this->peekPixels(&src)) { in readPixels()
501 if (!src.peekPixels(&pmap)) { in GetBitmapAlpha()
612 bool SkBitmap::peekPixels(SkPixmap* pmap) const { in peekPixels() function in SkBitmap

123