Home
last modified time | relevance | path

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

12

/external/skia/tests/
DBitmapTest.cpp19 REPORTER_ASSERT(reporter, !bm.peekPixels(nullptr)); in test_peekpixels()
20 REPORTER_ASSERT(reporter, !bm.peekPixels(&pmap)); in test_peekpixels()
24 REPORTER_ASSERT(reporter, !bm.peekPixels(nullptr)); in test_peekpixels()
25 REPORTER_ASSERT(reporter, !bm.peekPixels(&pmap)); in test_peekpixels()
29 REPORTER_ASSERT(reporter, bm.peekPixels(nullptr)); in test_peekpixels()
30 REPORTER_ASSERT(reporter, bm.peekPixels(&pmap)); in test_peekpixels()
DSurfaceTest.cpp164 const void* addr = surface->getCanvas()->peekPixels(&info, &rowBytes); in test_canvas_peek()
170 const void* addr2 = surface->peekPixels(&info2, &rb2); in test_canvas_peek()
385 bool success = image->peekPixels(&pm); in DEF_TEST()
392 const void* pixels = surface->getCanvas()->peekPixels(&info, &rowBytes); in DEF_TEST()
792 REPORTER_ASSERT(reporter, surface->peekPixels(&info, &rowBytes)); in check_rowbytes_remain_consistent()
797 REPORTER_ASSERT(reporter, image->peekPixels(&im_info, &im_rowbytes)); in check_rowbytes_remain_consistent()
808 REPORTER_ASSERT(reporter, image2->peekPixels(&im_info2, &im_rowbytes2)); in check_rowbytes_remain_consistent()
DSpecialImageTest.cpp26 return img->peekPixels(pixmap); in PeekPixels()
DImageTest.cpp330 const bool peekSuccess = image->peekPixels(&pmap); in DEF_TEST()
635 const void* addr = image->peekPixels(&info, &rowBytes); in test_peek()
DCanvasTest.cpp651 const SkPMColor* addr = (const SkPMColor*)canvas->peekPixels(&info2, &rowBytes); in test_newraster()
/external/skia/gm/
DSkLinearBitmapPipelineGM.cpp22 bm.peekPixels(&pm); in fill_in_bits()
50 bmsrc.peekPixels(&pmsrc); in draw_rect_orig()
56 bmdst.peekPixels(&pmdst); in draw_rect_orig()
93 bmsrc.peekPixels(&pmsrc); in draw_rect_fp()
99 bmdst.peekPixels(&pmdst); in draw_rect_fp()
Dblend.cpp39 if (const SkPMColor* px = (const SkPMColor*)canvas->peekPixels(nullptr, nullptr)) {
Dshowmiplevels.cpp146 baseBM.peekPixels(&prevPM); in drawLevels()
190 orig.peekPixels(&basePM); in drawSet()
Dimage.cpp389 bm.peekPixels(&pmap); in show_scaled_generator()
/external/skia/src/image/
DSkImage.cpp39 const void* SkImage::peekPixels(SkImageInfo* info, size_t* rowBytes) const { in peekPixels() function in SkImage
76 return bm.peekPixels(&pmap) && pmap.scalePixels(dst, quality); in scalePixels()
244 bool SkImage::peekPixels(SkPixmap* pmap) const { in peekPixels() function in SkImage
247 const void* pixels = this->peekPixels(&info, &rowBytes); in peekPixels()
DSkSurface.cpp185 const void* SkSurface::peekPixels(SkImageInfo* info, size_t* rowBytes) { in peekPixels() function in SkSurface
186 return this->getCanvas()->peekPixels(info, rowBytes); in peekPixels()
/external/skia/bench/
DBitmapScaleBench.cpp147 fSrc.peekPixels(&src); in onDraw()
148 fDst.peekPixels(&dst); in onDraw()
/external/skia/include/core/
DSkImage.h177 const void* peekPixels(SkImageInfo* info, size_t* rowBytes) const;
186 bool peekPixels(SkPixmap* pixmap) const;
DSkSurface.h272 const void* peekPixels(SkImageInfo* info, size_t* rowBytes);
DSkDevice.h97 bool peekPixels(SkPixmap*);
DSkBitmap.h695 bool peekPixels(SkPixmap*) const;
DSkCanvas.h223 const void* peekPixels(SkImageInfo* info, size_t* rowBytes);
/external/skia/src/core/
DSkSpecialImage.cpp44 bool SkSpecialImage::peekPixels(SkPixmap* pixmap) const { in peekPixels() function in SkSpecialImage
113 if (fImage->peekPixels(&info, &rowBytes)) { in getSize()
128 return fImage->peekPixels(pixmap); in onPeekPixels()
DSkSpecialImage.h97 bool peekPixels(SkPixmap*) const;
DSkBitmapScaler.cpp254 if (!result.peekPixels(&resultPM) || !Resize(resultPM, source, method)) { in Resize()
DSkDevice.cpp273 bool SkBaseDevice::peekPixels(SkPixmap* pmap) { in peekPixels() function in SkBaseDevice
/external/skia/debugger/QT/
DSkRasterWidget.cpp53 if (const void* pixels = fSurface->peekPixels(&info, &rowBytes)) { in paintEvent()
DSkDrawCommandGeometryWidget.cpp46 if (const void* pixels = fSurface->peekPixels(&info, &rowBytes)) { in paintEvent()
/external/skia/example/
DHelloWorld.cpp162 const void* pixels = snap->peekPixels(&info, &rowBytes); in draw()
/external/skia/tools/android/
DSkAndroidSDKCanvas.cpp298 const void* addr = fProxyTarget->peekPixels(&info, &rowBytes); in onPeekPixels()

12