Home
last modified time | relevance | path

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

12345

/third_party/flutter/skia/tests/
DImageBitmapTest.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.cpp43 auto img = SkImage::MakeFromBitmap(bm); in DEF_TEST()
49 auto shader1 = SkImage::MakeFromBitmap(bm)->makeShader(tmx, tmy, &localM); in DEF_TEST()
DDeviceTest.cpp61 sk_sp<SkImage> image(SkImage::MakeFromBitmap(bm));
104 sk_sp<SkImage> image(SkImage::MakeFromBitmap(bm)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DImageFrom565Bitmap.cpp18 REPORTER_ASSERT(r, SkImage::MakeFromBitmap(bm) != nullptr); in DEF_TEST()
DSpecialImageTest.cpp157 sk_sp<SkImage> fullImage(SkImage::MakeFromBitmap(bm)); in test_specialimage_image()
222 sk_sp<SkImage> rasterImage = SkImage::MakeFromBitmap(bm); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
253 sk_sp<SkImage> rasterImage = SkImage::MakeFromBitmap(bm); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DFlattenableFactoryToName.cpp39 sk_sp<SkImage> image(SkImage::MakeFromBitmap(bm)); in DEF_TEST()
/third_party/flutter/skia/gm/
Ddisplacement.cpp45 SkImage::MakeFromBitmap(ToolUtils::create_checkerboard_bitmap(80, 80, c1, c2, 8)); in onOnceBeforeDraw()
46 fSmall = SkImage::MakeFromBitmap(ToolUtils::create_checkerboard_bitmap(64, 64, c1, c2, 8)); in onOnceBeforeDraw()
47 fLarge = SkImage::MakeFromBitmap(ToolUtils::create_checkerboard_bitmap(96, 96, c1, c2, 8)); in onOnceBeforeDraw()
48 fLargeW = SkImage::MakeFromBitmap(ToolUtils::create_checkerboard_bitmap(96, 64, c1, c2, 8)); in onOnceBeforeDraw()
49 fLargeH = SkImage::MakeFromBitmap(ToolUtils::create_checkerboard_bitmap(64, 96, c1, c2, 8)); in onOnceBeforeDraw()
Dmipmap.cpp73 return SkImage::MakeFromBitmap(bm); in make()
122 return SkImage::MakeFromBitmap(bm); in make_g8_gradient()
Dcolormatrix.cpp72 return SkImage::MakeFromBitmap(bm); in CreateSolidBitmap()
88 return SkImage::MakeFromBitmap(bm); in CreateTransparentBitmap()
Dtileimagefilter.cpp50 fBitmap = SkImage::MakeFromBitmap( in onOnceBeforeDraw()
53 fCheckerboard = SkImage::MakeFromBitmap( in onOnceBeforeDraw()
/third_party/flutter/skia/docs/examples/
DImage_MakeFromBitmap.cpp16 sk_sp<SkImage> image1 = SkImage::MakeFromBitmap(bitmap); in draw()
18 sk_sp<SkImage> image2 = SkImage::MakeFromBitmap(bitmap); in draw()
DCanvas_drawImageRect_4.cpp12 sk_sp<SkImage> image = SkImage::MakeFromBitmap(bitmap); in draw()
DCanvas_drawImageRect.cpp15 sk_sp<SkImage> image = SkImage::MakeFromBitmap(redBorder); in draw()
DCanvas_drawImageRect_6.cpp12 sk_sp<SkImage> image = SkImage::MakeFromBitmap(bitmap); in draw()
DCanvas_drawImageRect_5.cpp12 sk_sp<SkImage> image = SkImage::MakeFromBitmap(bitmap); in draw()
DImage_refEncodedData.cpp11 } tests[] = { { "image", image }, { "bitmap", SkImage::MakeFromBitmap(source) },
DImage_peekPixels.cpp14 sk_sp<SkImage> image = SkImage::MakeFromBitmap(bitmap);
DImage_makeRasterImage.cpp18 sk_sp<SkImage> bitmapImage(SkImage::MakeFromBitmap(source));
DImage_makeNonTextureImage.cpp18 sk_sp<SkImage> bitmapImage(SkImage::MakeFromBitmap(source));
DImage_isTextureBacked.cpp19 sk_sp<SkImage> bitmapImage(SkImage::MakeFromBitmap(source));
DCanvas_SrcRectConstraint.cpp18 sk_sp<SkImage> image = SkImage::MakeFromBitmap(redBorder); in draw()
DImage_isLazyGenerated_b.cpp20 sk_sp<SkImage> bitmapImage(SkImage::MakeFromBitmap(source));
/third_party/skia/docs/examples/
DImage_peekPixels.cpp14 sk_sp<SkImage> image = SkImage::MakeFromBitmap(bitmap);
/third_party/flutter/skia/src/core/
DSkRecorder.cpp201 sk_sp<SkImage> image = SkImage::MakeFromBitmap(bitmap); in onDrawBitmap()
212 sk_sp<SkImage> image = SkImage::MakeFromBitmap(bitmap); in onDrawBitmapRect()
222 sk_sp<SkImage> image = SkImage::MakeFromBitmap(bitmap); in onDrawBitmapNine()
230 sk_sp<SkImage> image = SkImage::MakeFromBitmap(bitmap); in onDrawBitmapLattice()
/third_party/skia/src/core/
DSkSpecialSurface.h71 static sk_sp<SkSpecialSurface> MakeFromBitmap(const SkIRect& subset, SkBitmap& bm,

12345