Home
last modified time | relevance | path

Searched refs:peekPixels (Results 1 - 25 of 74) sorted by relevance

123

/third_party/skia/docs/examples/
H A DSurface_makeSurface.cpp12 if (big->peekPixels(&pixmap)) { in REG_FIDDLE()
17 if (lil->peekPixels(&pixmap)) { in REG_FIDDLE()
H A DCanvas_peekPixels.cpp8 if (canvas->peekPixels(&pixmap)) { in REG_FIDDLE()
H A DImage_MakeCrossContextFromPixmap.cpp13 if (source.peekPixels(&pixmap)) { in REG_FIDDLE()
H A DSurface_writePixels.cpp15 if (surf->peekPixels(&pixmap)) { in REG_FIDDLE()
H A DSurface_peekPixels.cpp15 if (surf->peekPixels(&pixmap)) { in REG_FIDDLE()
H A DSurface_MakeRaster.cpp13 if (surface->peekPixels(&pixmap)) { in REG_FIDDLE()
H A DSurface_MakeRaster_2.cpp12 if (surface->peekPixels(&pixmap)) { in REG_FIDDLE()
H A DSurface_MakeRasterN32Premul.cpp11 if (surface->peekPixels(&pixmap)) { in REG_FIDDLE()
H A DSurface_draw.cpp13 if (big->peekPixels(&pixmap)) { in REG_FIDDLE()
H A DBitmap_peekPixels.cpp15 if (bitmap.peekPixels(&pixmap)) { in REG_FIDDLE()
H A DCanvas_const_SkBitmap_const_SkSurfaceProps.cpp13 if (!canvas.peekPixels(&pixmap)) { in REG_FIDDLE()
14 SkDebugf("peekPixels should never fail.\n"); in REG_FIDDLE()
H A DCanvas_copy_const_SkBitmap.cpp13 if (!canvas.peekPixels(&pixmap)) { in REG_FIDDLE()
14 SkDebugf("peekPixels should never fail.\n"); in REG_FIDDLE()
H A DImage_peekPixels.cpp16 if (image->peekPixels(&pixmap)) { in REG_FIDDLE()
H A DImage_refColorSpace.cpp9 source.peekPixels(&pixmap); in REG_FIDDLE()
H A DImage_colorSpace.cpp9 source.peekPixels(&pixmap); in REG_FIDDLE()
/third_party/skia/tests/
H A 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()
H A DDebugLayerManagerTest.cpp59 image->peekPixels(&pixmap); in test_basic()
70 image->peekPixels(&pixmap); in test_basic()
H A DSpecialImageTest.cpp57 // Basic test of the SkSpecialImage public API (e.g., peekTexture, peekPixels & draw)
122 REPORTER_ASSERT(reporter, isGPUBacked != !!tightImg->peekPixels(&tmpPixmap)); in test_image()
134 REPORTER_ASSERT(reporter, isGPUBacked != !!tightSurf->peekPixels(&tmpPixmap)); in test_image()
H A 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()
/third_party/skia/src/image/
H A 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()
/third_party/skia/tools/
H A 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()
460 // ensure that peekPixels will succeed in equal_pixels()
465 return imga->peekPixels(&pm0) && imgb->peekPixels(&pm1) && equal_pixels(pm0, pm1); in equal_pixels()
/third_party/skia/src/images/
H A 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/
H A DReadPixBench.cpp90 fSrc.peekPixels(&src);
91 fDst.peekPixels(&dst);
/third_party/skia/src/core/
H A 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
/third_party/skia/gm/
H A Dcrosscontextimage.cpp43 bmp.peekPixels(&pixmap)); in DEF_SIMPLE_GPU_GM_CAN_FAIL()

Completed in 8 milliseconds

123