Home
last modified time | relevance | path

Searched refs:makeSurface (Results 1 - 25 of 85) sorted by relevance

1234

/third_party/skia/docs/examples/
H A DCanvas_makeSurface.cpp10 sk_sp<SkSurface> compatible = smallCanvas->makeSurface(imageInfo); in REG_FIDDLE()
H A DSurface_makeSurface.cpp8 sk_sp<SkSurface> lil(big->makeSurface(SkImageInfo::MakeN32(32, 32, kPremul_SkAlphaType))); in REG_FIDDLE()
H A DSurface_makeImageSnapshot_2.cpp8 sk_sp<SkSurface> lil(big->makeSurface(SkImageInfo::MakeN32(32, 32, kPremul_SkAlphaType))); in REG_FIDDLE()
H A DSurface_makeImageSnapshot.cpp8 sk_sp<SkSurface> lil(big->makeSurface(SkImageInfo::MakeN32(32, 32, kPremul_SkAlphaType))); in REG_FIDDLE()
H A DSurface_draw.cpp8 sk_sp<SkSurface> lil(big->makeSurface(SkImageInfo::MakeN32(32, 32, kPremul_SkAlphaType))); in REG_FIDDLE()
/third_party/skia/gm/
H A Dpath_stroke_with_zero_length.cpp145 auto surface = canvas->makeSurface(info); in draw_zero_length_capped_paths()
216 auto surface = canvas->makeSurface(info); in draw_zero_length_capped_paths_dbl_contour()
H A Dcrbug_905548.cpp21 auto surface = canvas->makeSurface(SkImageInfo::MakeN32Premul(100, 100)); in DEF_SIMPLE_GM()
H A Dtextblobgeometrychange.cpp54 auto surface = ToolUtils::makeSurface(canvas, info, &props);
H A Dasyncrescaleandread.cpp197 auto surface = canvas->makeSurface(surfInfo); in do_rescale_image_grid()
200 surface = canvas->makeSurface(surfInfo); in do_rescale_image_grid()
329 auto surface = canvas->makeSurface(surfaceII); in DEF_SIMPLE_GM_CAN_FAIL()
H A Dsurface.cpp150 auto surf(ToolUtils::makeSurface(canvas, info, nullptr));
156 auto surf2(surf->makeSurface(info));
187 return ToolUtils::makeSurface(canvas, ii); in make_surface()
H A Dlocalmatriximagefilter.cpp27 auto surface(ToolUtils::makeSurface(rootCanvas, info)); in make_image()
H A Dcolorspace.cpp58 // If instead of calling SkImage::makeColorSpace() we use SkCanvas::makeSurface() to create a
96 canvas->makeSurface(canvas->imageInfo().makeColorSpace(midCS)); in draw_colorspace_gm()
H A Dcomplexclip_blur_tiled.cpp49 auto tileSurface(ToolUtils::makeSurface(canvas, info));
H A Dblurrect.cpp260 *errorMsg = "Not supported when recording, relies on canvas->makeSurface()";
418 auto surf = canvas->makeSurface(ii); in prepareActualMasks()
421 surf = canvas->makeSurface(ii.makeColorType(kRGBA_8888_SkColorType)); in prepareActualMasks()
455 auto surf = canvas->makeSurface(ii); in prepareMaskDifferences()
H A Dimageblurclampmode.cpp29 auto surface = ToolUtils::makeSurface(canvas, info); in make_image()
H A Dninepatchstretch.cpp24 return ToolUtils::makeSurface(root, info); in make_surface()
H A Dlocalmatriximageshader.cpp25 auto surface(ToolUtils::makeSurface(rootCanvas, info)); in make_image()
/third_party/skia/bench/
H A DImageBench.cpp34 auto surface(canvas->makeSurface(info));
/third_party/skia/src/image/
H A DSkSurface.cpp226 sk_sp<SkSurface> SkSurface::makeSurface(const SkImageInfo& info) { in makeSurface() function in SkSurface
230 sk_sp<SkSurface> SkSurface::makeSurface(int width, int height) { in makeSurface() function in SkSurface
231 return this->makeSurface(this->imageInfo().makeWH(width, height)); in makeSurface()
/third_party/skia/include/core/
H A DSkSurface.h602 sk_sp<SkSurface> makeSurface(const SkImageInfo& imageInfo);
604 /** Calls makeSurface(ImageInfo) with the same ImageInfo as this surface, but with the
607 sk_sp<SkSurface> makeSurface(int width, int height);
/third_party/skia/src/effects/imagefilters/
H A DSkPictureImageFilter.cpp106 sk_sp<SkSpecialSurface> surf(ctx.makeSurface(bounds.size(), &props)); in onFilterImage()
H A DSkShaderImageFilter.cpp88 sk_sp<SkSpecialSurface> surf(ctx.makeSurface(bounds.size())); in onFilterImage()
H A DSkMergeImageFilter.cpp100 sk_sp<SkSpecialSurface> surf(ctx.makeSurface(bounds.size())); in onFilterImage()
/third_party/skia/src/core/
H A DSkSpecialImage.h97 sk_sp<SkSpecialSurface> makeSurface(SkColorType colorType,
105 * TODO: switch this to makeSurface once we resolved the naming issue
/third_party/skia/samplecode/
H A DSampleTiming.cpp69 if (sk_sp<SkSurface> offscreen = canvas->makeSurface(info)) {

Completed in 14 milliseconds

1234