Home
last modified time | relevance | path

Searched refs:MakeRaster (Results 1 – 25 of 65) sorted by relevance

123

/external/skia/include/core/
DSkSurface.h61 static sk_sp<SkSurface> MakeRaster(const SkImageInfo&, size_t rowBytes, const SkSurfaceProps*);
66 static sk_sp<SkSurface> MakeRaster(const SkImageInfo& info,
68 return MakeRaster(info, 0, props);
78 return MakeRaster(SkImageInfo::MakeN32Premul(width, height), props);
/external/skia/tests/
DImageNewShaderTest.cpp106 auto sourceSurface(SkSurface::MakeRaster(info)); in DEF_TEST()
107 auto destinationSurface(SkSurface::MakeRaster(info)); in DEF_TEST()
127 auto destinationSurface(SkSurface::MakeRaster(info)); in gpu_to_raster()
135 auto sourceSurface(SkSurface::MakeRaster(info)); in raster_to_gpu()
DImageIsOpaqueTest.cpp83 auto surfaceTransparent(SkSurface::MakeRaster(infoTransparent)); in DEF_TEST()
87 auto surfaceOpaque(SkSurface::MakeRaster(infoOpaque)); in DEF_TEST()
DIndexedPngOverflowTest.cpp36 auto surface(SkSurface::MakeRaster(SkImageInfo::MakeN32Premul(20, 1))); in DEF_TEST()
Dskbug5221.cpp22 sk_sp<SkSurface> surface(SkSurface::MakeRaster(SkImageInfo::MakeN32Premul(256, 256))); in DEF_TEST()
DSurfaceTest.cpp43 return SkSurface::MakeRaster(info); in create_surface()
79 REPORTER_ASSERT(reporter, nullptr == SkSurface::MakeRaster(info)); in DEF_TEST()
557 auto surf0(SkSurface::MakeRaster(info)); in DEF_TEST()
561 auto surf1(SkSurface::MakeRaster(info, 500, nullptr)); in DEF_TEST()
565 auto s = SkSurface::MakeRaster(info, 396, nullptr); // needs to be at least 400 in DEF_TEST()
567 s = SkSurface::MakeRaster(info, 1 << 30, nullptr); // allocation to large in DEF_TEST()
864 return SkSurface::MakeRaster(info); in DEF_TEST()
DSpecialSurfaceTest.cpp60 sk_sp<SkSpecialSurface> surf(SkSpecialSurface::MakeRaster(info)); in DEF_TEST()
DDashPathEffectTest.cpp107 sk_sp<SkSurface> surface(SkSurface::MakeRaster(SkImageInfo::MakeN32Premul(256, 256))); in DEF_TEST()
/external/skia/gm/
Dsurface.cpp30 return SkSurface::MakeRaster(info, &props); in make_surface()
129 surf = SkSurface::MakeRaster(info); in onDraw()
157 surf = SkSurface::MakeRaster(info, nullptr);
178 surf = SkSurface::MakeRaster(info, nullptr);
Dimagemasksubset.cpp54 return make_mask(SkSurface::MakeRaster(info)); in __anon1ef734410202()
63 return make_mask(surface ? surface : SkSurface::MakeRaster(info)); in __anon1ef734410302()
Dtextblobgeometrychange.cpp50 surface = SkSurface::MakeRaster(info, &props); in onDraw()
Dcomplexclip_blur_tiled.cpp42 tileSurface = SkSurface::MakeRaster(info); in onDraw()
Dlocalmatriximagefilter.cpp21 surface = SkSurface::MakeRaster(info); in make_image()
Dlocalmatriximageshader.cpp16 surface = SkSurface::MakeRaster(info); in make_image()
Dimagemakewithfilter.cpp75 surface = SkSurface::MakeRaster(info); in onDraw()
Dcolor4f.cpp84 auto surface(SkSurface::MakeRaster(info));
/external/skia/src/image/
DSkSurface_Raster.cpp125 return SkSurface::MakeRaster(info, &this->props()); in onNewSurface()
206 sk_sp<SkSurface> SkSurface::MakeRaster(const SkImageInfo& info, size_t rowBytes, in MakeRaster() function in SkSurface
/external/skia/tools/
Dok_dsts.cpp27 surface = SkSurface::MakeRaster(info.makeWH(size.width(), size.height())); in draw()
/external/skia/src/core/
DSkSpecialSurface.h81 static sk_sp<SkSpecialSurface> MakeRaster(const SkImageInfo&,
/external/skia/bench/
DImageBench.cpp39 fRasterSurface = SkSurface::MakeRaster(info); in onPerCanvasPreDraw()
/external/skia/example/
DHelloWorld.h43 fRasterSurface = SkSurface::MakeRaster(info, &props); in makeSurface()
/external/skia/debugger/QT/
DSkRasterWidget.cpp28 fSurface = SkSurface::MakeRaster(info); in resizeEvent()
DSkDrawCommandGeometryWidget.cpp29 fSurface = SkSurface::MakeRaster(info); in resizeEvent()
/external/skia/tools/viewer/sk_app/mac/
DRasterWindowContext_mac.cpp93 fBackbufferSurface = SkSurface::MakeRaster(info); in onInitializeContext()
/external/skia/tools/viewer/sk_app/unix/
DRasterWindowContext_unix.cpp55 fBackbufferSurface = SkSurface::MakeRaster(info); in resize()

123