/third_party/skia/docs/examples/ |
H A D | Canvas_makeSurface.cpp | 10 sk_sp<SkSurface> compatible = smallCanvas->makeSurface(imageInfo); in REG_FIDDLE()
|
H A D | Surface_makeSurface.cpp | 8 sk_sp<SkSurface> lil(big->makeSurface(SkImageInfo::MakeN32(32, 32, kPremul_SkAlphaType))); in REG_FIDDLE()
|
H A D | Surface_makeImageSnapshot_2.cpp | 8 sk_sp<SkSurface> lil(big->makeSurface(SkImageInfo::MakeN32(32, 32, kPremul_SkAlphaType))); in REG_FIDDLE()
|
H A D | Surface_makeImageSnapshot.cpp | 8 sk_sp<SkSurface> lil(big->makeSurface(SkImageInfo::MakeN32(32, 32, kPremul_SkAlphaType))); in REG_FIDDLE()
|
H A D | Surface_draw.cpp | 8 sk_sp<SkSurface> lil(big->makeSurface(SkImageInfo::MakeN32(32, 32, kPremul_SkAlphaType))); in REG_FIDDLE()
|
/third_party/skia/gm/ |
H A D | path_stroke_with_zero_length.cpp | 145 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 D | crbug_905548.cpp | 21 auto surface = canvas->makeSurface(SkImageInfo::MakeN32Premul(100, 100)); in DEF_SIMPLE_GM()
|
H A D | textblobgeometrychange.cpp | 54 auto surface = ToolUtils::makeSurface(canvas, info, &props);
|
H A D | asyncrescaleandread.cpp | 197 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 D | surface.cpp | 150 auto surf(ToolUtils::makeSurface(canvas, info, nullptr)); 156 auto surf2(surf->makeSurface(info)); 187 return ToolUtils::makeSurface(canvas, ii); in make_surface()
|
H A D | localmatriximagefilter.cpp | 27 auto surface(ToolUtils::makeSurface(rootCanvas, info)); in make_image()
|
H A D | colorspace.cpp | 58 // 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 D | complexclip_blur_tiled.cpp | 49 auto tileSurface(ToolUtils::makeSurface(canvas, info));
|
H A D | blurrect.cpp | 260 *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 D | imageblurclampmode.cpp | 29 auto surface = ToolUtils::makeSurface(canvas, info); in make_image()
|
H A D | ninepatchstretch.cpp | 24 return ToolUtils::makeSurface(root, info); in make_surface()
|
H A D | localmatriximageshader.cpp | 25 auto surface(ToolUtils::makeSurface(rootCanvas, info)); in make_image()
|
/third_party/skia/bench/ |
H A D | ImageBench.cpp | 34 auto surface(canvas->makeSurface(info));
|
/third_party/skia/src/image/ |
H A D | SkSurface.cpp | 226 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 D | SkSurface.h | 602 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 D | SkPictureImageFilter.cpp | 106 sk_sp<SkSpecialSurface> surf(ctx.makeSurface(bounds.size(), &props)); in onFilterImage()
|
H A D | SkShaderImageFilter.cpp | 88 sk_sp<SkSpecialSurface> surf(ctx.makeSurface(bounds.size())); in onFilterImage()
|
H A D | SkMergeImageFilter.cpp | 100 sk_sp<SkSpecialSurface> surf(ctx.makeSurface(bounds.size())); in onFilterImage()
|
/third_party/skia/src/core/ |
H A D | SkSpecialImage.h | 97 sk_sp<SkSpecialSurface> makeSurface(SkColorType colorType, 105 * TODO: switch this to makeSurface once we resolved the naming issue
|
/third_party/skia/samplecode/ |
H A D | SampleTiming.cpp | 69 if (sk_sp<SkSurface> offscreen = canvas->makeSurface(info)) {
|