Home
last modified time | relevance | path

Searched refs:MakeFromBitmap (Results 1 – 25 of 53) sorted by relevance

123

/external/skia/tests/
Dimage-bitmap.cpp25 auto img = SkImage::MakeFromBitmap(bm); in DEF_TEST()
26 auto imgA = SkImage::MakeFromBitmap(a); in DEF_TEST()
27 auto imgB = SkImage::MakeFromBitmap(b); in DEF_TEST()
DShaderTest.cpp53 auto img = SkImage::MakeFromBitmap(bm); in DEF_TEST()
59 auto shader1 = SkImage::MakeFromBitmap(bm)->makeShader(tmx, tmy, &localM); in DEF_TEST()
DDeviceTest.cpp55 sk_sp<SkImage> image(SkImage::MakeFromBitmap(bm));
99 sk_sp<SkImage> image(SkImage::MakeFromBitmap(bm)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DImageFrom565Bitmap.cpp19 REPORTER_ASSERT(r, SkImage::MakeFromBitmap(bm) != nullptr); in DEF_TEST()
DFlattenableFactoryToName.cpp39 sk_sp<SkImage> image(SkImage::MakeFromBitmap(bm)); in DEF_TEST()
DSkImageTest.cpp29 image = SkImage::MakeFromBitmap(dstBitmap); in DEF_TEST()
DSpecialSurfaceTest.cpp72 sk_sp<SkSpecialSurface> surf(SkSpecialSurface::MakeFromBitmap(subset, bm)); in DEF_TEST()
DImageTest.cpp383 sk_sp<SkImage> image(SkImage::MakeFromBitmap(bm)); in DEF_TEST()
576 sk_sp<SkImage> img(SkImage::MakeFromBitmap(bm)); in DEF_TEST()
718 sk_sp<SkImage> subsetImage(SkImage::MakeFromBitmap(tmp)); in test_legacy_bitmap()
1041 image = SkImage::MakeFromBitmap(bitmap); in DEF_TEST()
1065 sk_sp<SkImage> srgbImage = SkImage::MakeFromBitmap(srgbBitmap); in DEF_TEST()
1126 auto img0 = SkImage::MakeFromBitmap(bm0); in DEF_TEST()
/external/skia/gm/
Ddisplacement.cpp33 fCheckerboard = SkImage::MakeFromBitmap( in onOnceBeforeDraw()
35 fSmall = SkImage::MakeFromBitmap( in onOnceBeforeDraw()
37 fLarge = SkImage::MakeFromBitmap( in onOnceBeforeDraw()
40 SkImage::MakeFromBitmap(sk_tool_utils::create_checkerboard_bitmap(96, 64, c1, c2, 8)); in onOnceBeforeDraw()
41 fLargeH = SkImage::MakeFromBitmap( in onOnceBeforeDraw()
Ddeferredtextureimage.cpp58 sk_sp<SkImage> decodedImage = SkImage::MakeFromBitmap(bitmap); in DrawDeferredTextureImageData()
174 sk_sp<SkImage> decodedImage = SkImage::MakeFromBitmap(bitmap);
205 sk_sp<SkImage> decodedImage = SkImage::MakeFromBitmap(bitmap);
Dcolormatrix.cpp58 return SkImage::MakeFromBitmap(bm); in CreateSolidBitmap()
74 return SkImage::MakeFromBitmap(bm); in CreateTransparentBitmap()
Dtileimagefilter.cpp38 fBitmap = SkImage::MakeFromBitmap( in onOnceBeforeDraw()
41 fCheckerboard = SkImage::MakeFromBitmap( in onOnceBeforeDraw()
Dmipmap.cpp67 return SkImage::MakeFromBitmap(bm); in make()
116 return SkImage::MakeFromBitmap(bm); in make_g8_gradient()
Doffsetimagefilter.cpp35 fBitmap = SkImage::MakeFromBitmap( in onOnceBeforeDraw()
38 fCheckerboard = SkImage::MakeFromBitmap( in onOnceBeforeDraw()
Dxfermodeimagefilter.cpp40 fCheckerboard = SkImage::MakeFromBitmap( in onOnceBeforeDraw()
114 sk_sp<SkImage> bitmapImage(SkImage::MakeFromBitmap(fBitmap)); in onDraw()
Dcomposeshader.cpp249 sk_sp<SkImage> skSrc = SkImage::MakeFromBitmap(skBitmap);
252 sk_sp<SkImage> skMaskImage = SkImage::MakeFromBitmap(skMask);
Dimagesource.cpp40 fImage = SkImage::MakeFromBitmap(bm); in onOnceBeforeDraw()
Dfilterbug.cpp27 return SkImage::MakeFromBitmap(bm); in make_image()
Dimagemagnifier.cpp66 return SkImage::MakeFromBitmap(result); in make_img()
Dsimple_magnification.cpp50 return SkImage::MakeFromBitmap(bm); in make_image()
Dimagefilterstransformed.cpp60 fCheckerboard = SkImage::MakeFromBitmap( in onOnceBeforeDraw()
/external/skia/src/core/
DSkLiteRecorder.cpp132 fDL->drawImage(SkImage::MakeFromBitmap(bm), x,y, paint); in onDrawBitmap()
137 fDL->drawImageNine(SkImage::MakeFromBitmap(bm), center, dst, paint); in onDrawBitmapNine()
142 fDL->drawImageRect(SkImage::MakeFromBitmap(bm), src, dst, paint, constraint); in onDrawBitmapRect()
147 fDL->drawImageLattice(SkImage::MakeFromBitmap(bm), lattice, dst, paint); in onDrawBitmapLattice()
DSkRecorder.cpp190 sk_sp<SkImage> image = SkImage::MakeFromBitmap(bitmap); in onDrawBitmap()
201 sk_sp<SkImage> image = SkImage::MakeFromBitmap(bitmap); in onDrawBitmapRect()
211 sk_sp<SkImage> image = SkImage::MakeFromBitmap(bitmap); in onDrawBitmapNine()
219 sk_sp<SkImage> image = SkImage::MakeFromBitmap(bitmap); in onDrawBitmapLattice()
DSkSpecialSurface.h71 static sk_sp<SkSpecialSurface> MakeFromBitmap(const SkIRect& subset, SkBitmap& bm,
DSkReadBuffer.cpp257 return SkImage::MakeFromBitmap(bitmap); in readBitmapAsImage()
289 return SkImage::MakeFromBitmap(bm); in readImage()

123