Home
last modified time | relevance | path

Searched refs:GetResourceAsImage (Results 1 – 25 of 30) sorted by relevance

12

/external/skia/gm/
Drepeated_bitmap.cpp38 draw_rotated_image(canvas, GetResourceAsImage("randPixels.png").get());
42 draw_rotated_image(canvas, GetResourceAsImage("color_wheel.jpg").get());
Dmakecolorspace.cpp64 sk_sp<SkImage> opaqueImage = GetResourceAsImage("mandrill_128.png"); in onDraw()
65 sk_sp<SkImage> premulImage = GetResourceAsImage("color_wheel.png"); in onDraw()
Ddeferredtextureimage.cpp32 sk_sp<SkImage> encodedImage = GetResourceAsImage(resourceName); in DrawDeferredTextureImageData()
167 sk_sp<SkImage> encodedImage = GetResourceAsImage("mandrill_512.png");
198 sk_sp<SkImage> encodedImage = GetResourceAsImage("color_wheel.gif");
Dgrayscalejpg.cpp18 sk_sp<SkImage> image(GetResourceAsImage(kResource));
Dsrgb.cpp16 auto img = GetResourceAsImage("mandrill_256.png");
Dcolorwheel.cpp15 sk_sp<SkImage> image(GetResourceAsImage(resource)); in draw_image()
Dbitmapimage.cpp32 sk_sp<SkImage> image = GetResourceAsImage(path); in onDraw()
Dcolorfilterimagefilter.cpp70 sk_sp<SkImage> image(GetResourceAsImage("mandrill_128.png")); in sh_make_image()
228 auto shaderA = GetResourceAsImage("mandrill_128.png")->makeShader(SkShader::kClamp_TileMode,
Dencode-alpha-jpeg.cpp46 sk_sp<SkImage> srcImg = GetResourceAsImage("rainbow-gradient.png"); in onDraw()
Dblurs.cpp127 if (auto image = GetResourceAsImage("mandrill_512_q075.jpg")) {
Dimagefilters.cpp166 sk_sp<SkImage> image(GetResourceAsImage("mandrill_512.png"));
Dpatch.cpp155 dopatch(canvas, colors, GetResourceAsImage("mandrill_128.png"));
/external/skia/tests/
DImageIsOpaqueTest.cpp127 GetResourceAsImage("mandrill_128.png"), in DEF_TEST()
128 GetResourceAsImage("color_wheel.jpg"), in DEF_TEST()
Dskbug6389.cpp20 p.setImageFilter(SkImageSource::Make(GetResourceAsImage("mandrill_512.png"), {0, 0, 0, 0}, in DEF_TEST()
DPipeTest.cpp49 sk_sp<SkImage> img = GetResourceAsImage("mandrill_128.png"); in DEF_TEST()
87 sk_sp<SkImage> img = GetResourceAsImage("mandrill_128.png"); in DEF_TEST()
DSkBlend_optsTest.cpp49 sk_sp<SkImage> image = GetResourceAsImage(fileName.c_str()); in test_blender()
/external/skia/tools/
DResources.h24 sk_sp<SkImage> GetResourceAsImage(const char* resource);
DResources.cpp41 sk_sp<SkImage> GetResourceAsImage(const char* resource) { in GetResourceAsImage() function
Dcreate_flutter_test_images.cpp51 sk_sp<SkImage> image = GetResourceAsImage("flutter_logo.jpg"); in main()
/external/skia/bench/
DPDFBench.cpp72 sk_sp<SkImage> img(GetResourceAsImage("color_wheel.png")); in onDelayedSetup()
111 sk_sp<SkImage> img(GetResourceAsImage("mandrill_512_q075.jpg")); in onDelayedSetup()
DImageFilterDAGBench.cpp60 fImage = GetResourceAsImage("mandrill_512.png"); in onDelayedSetup()
DSkBlend_optsBench.cpp147 sk_sp<SkImage> image = GetResourceAsImage(fFileName.c_str()); in onPreDraw()
/external/skia/samplecode/
DSampleShip.cpp51 fAtlas = GetResourceAsImage("ship.png"); in DrawShipView()
54 fAtlas = GetResourceAsImage("baby_tux.png"); in DrawShipView()
DSampleShadowReference.cpp38 fReferenceImage = GetResourceAsImage("shadowreference.png"); in onOnceBeforeDraw()
DSampleLayers.cpp232 fImage = GetResourceAsImage("mandrill_512.png"); in BackdropView()

12