Home
last modified time | relevance | path

Searched refs:sk_make_sp (Results 1 - 25 of 163) sorted by relevance

1234567

/third_party/skia/experimental/sorttoy/
H A Dsorttoy.cpp183 s.clip(sk_make_sp<ClipCmd>(ID(1), Shape::kRect, r)); in mcstack_test()
191 s.clip(sk_make_sp<ClipCmd>(ID(2), Shape::kRect, r)); in mcstack_test()
197 s.clip(sk_make_sp<ClipCmd>(ID(3), Shape::kRect, r)); in mcstack_test()
287 test->push_back(sk_make_sp<SaveCmd>()); in test1()
290 test->push_back(sk_make_sp<DrawCmd>(ID(0), shape, r.makeOffset(8, 8), FakePaint(SK_ColorRED))); in test1()
291 test->push_back(sk_make_sp<DrawCmd>(ID(1), shape, r.makeOffset(48, 48), FakePaint(SK_ColorGREEN))); in test1()
293 test->push_back(sk_make_sp<RestoreCmd>()); in test1()
307 test->push_back(sk_make_sp<SaveCmd>()); in test2()
310 test->push_back(sk_make_sp<DrawCmd>(ID(0), shape, r.makeOffset(8, 8), FakePaint(SK_ColorRED))); in test2()
311 test->push_back(sk_make_sp<DrawCm in test2()
[all...]
/third_party/skia/src/gpu/v1/
H A DPathRendererChain.cpp34 fChain.push_back(sk_make_sp<DashLinePathRenderer>()); in PathRendererChain()
37 fChain.push_back(sk_make_sp<AAConvexPathRenderer>()); in PathRendererChain()
40 fChain.push_back(sk_make_sp<AAHairLinePathRenderer>()); in PathRendererChain()
43 fChain.push_back(sk_make_sp<AALinearizingConvexPathRenderer>()); in PathRendererChain()
53 fChain.push_back(sk_make_sp<SmallPathRenderer>()); in PathRendererChain()
56 fChain.push_back(sk_make_sp<TriangulatingPathRenderer>()); in PathRendererChain()
60 auto tess = sk_make_sp<TessellationPathRenderer>(); in PathRendererChain()
67 fChain.push_back(sk_make_sp<DefaultPathRenderer>()); in PathRendererChain()
/third_party/skia/tools/fonts/
H A DTestFontMgr.cpp68 sk_make_sp<TestTypeface>(sk_make_sp<SkTestFont>(sub.fFont), sub.fStyle); in FontMgr()
87 fFamilies.emplace_back(sk_make_sp<FontStyleSet>(sub.fFamilyName)); in FontMgr()
99 fFamilies.emplace_back(sk_make_sp<FontStyleSet>("Emoji")); in FontMgr()
103 fFamilies.emplace_back(sk_make_sp<FontStyleSet>("Planet")); in FontMgr()
193 sk_sp<SkFontMgr> MakePortableFontMgr() { return sk_make_sp<FontMgr>(); } in MakePortableFontMgr()
/third_party/skia/modules/skottie/tests/
H A DExpression.cpp36 return sk_make_sp<FakeScalarExpressionEvaluator>();
41 return sk_make_sp<FakeStringExpressionEvaluator>();
46 return sk_make_sp<FakeVectorExpressionEvaluator>();
246 auto em = sk_make_sp<FakeExpressionManager>(); in DEF_TEST()
247 auto observer = sk_make_sp<FakePropertyObserver>(); in DEF_TEST()
346 auto em = sk_make_sp<FakeExpressionManager>(); in DEF_TEST()
347 auto observer = sk_make_sp<FakePropertyObserver>(); in DEF_TEST()
H A DText.cpp106 auto fmgr = sk_make_sp<RecordMatchFamilyStyleSkFontMgr>(); in DEF_TEST()
214 auto logger = sk_make_sp<Logger>(); in DEF_TEST()
218 .setResourceProvider(sk_make_sp<PortableRP>()) in DEF_TEST()
/third_party/skia/src/ports/
H A DSkFontMgr_custom_embedded.cpp35 family->appendTypeface(sk_make_sp<SkTypeface_Empty>());
57 family->appendTypeface(sk_make_sp<SkTypeface_Empty>());
103 addTo->appendTypeface(sk_make_sp<SkTypeface_Stream>(std::move(data), in load_font_from_data()
110 return sk_make_sp<SkFontMgr_Custom>(EmbeddedSystemFontLoader(header)); in SkFontMgr_New_Custom_Embedded()
117 return sk_make_sp<SkFontMgr_Custom>(DataFontLoader(datas, n)); in SkFontMgr_New_Custom_Data()
H A DSkFontMgr_custom_empty.cpp20 family->appendTypeface(sk_make_sp<SkTypeface_Empty>());
26 return sk_make_sp<SkFontMgr_Custom>(EmptyFontLoader()); in SkFontMgr_New_Custom_Empty()
H A DSkFontMgr_custom_directory.cpp29 family->appendTypeface(sk_make_sp<SkTypeface_Empty>());
83 addTo->appendTypeface(sk_make_sp<SkTypeface_File>(style, isFixedPitch, true, in load_directory_fonts()
103 return sk_make_sp<SkFontMgr_Custom>(DirectorySystemFontLoader(dir)); in SkFontMgr_New_Custom_Directory()
/third_party/skia/tests/
H A DPixelRefTest.cpp77 pixelRef->addGenIDChangeListener(sk_make_sp<TestListener>(&count)); in DEF_TEST()
94 pixelRef->addGenIDChangeListener(sk_make_sp<TestListener>(&count)); in DEF_TEST()
100 auto listener = sk_make_sp<TestListener>(&count); in DEF_TEST()
109 listener = sk_make_sp<TestListener>(&count); in DEF_TEST()
114 pixelRef->addGenIDChangeListener(sk_make_sp<TestListener>(&count)); in DEF_TEST()
H A DRefCntTest.cpp116 return sk_make_sp<Effect>(); in Create()
273 sk_sp<SkRefCnt> notEmpty = sk_make_sp<SkRefCnt>(); in DEF_TEST()
285 sk_sp<SkRefCnt> a = sk_make_sp<SkRefCnt>(); in DEF_TEST()
286 sk_sp<SkRefCnt> b = sk_make_sp<SkRefCnt>(); in DEF_TEST()
342 return sk_make_sp<FooConcrete>(); in make_foo()
344 DEF_TEST(sk_make_sp, r) { in DEF_TEST()
H A DSkRemoteGlyphCacheTest.cpp187 sk_sp<DiscardableManager> discardableManager = sk_make_sp<DiscardableManager>(); in DEF_TEST()
205 sk_sp<DiscardableManager> discardableManager = sk_make_sp<DiscardableManager>(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
240 sk_sp<DiscardableManager> discardableManager = sk_make_sp<DiscardableManager>(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
270 sk_sp<DiscardableManager> discardableManager = sk_make_sp<DiscardableManager>(); in DEF_TEST()
307 sk_sp<DiscardableManager> discardableManager = sk_make_sp<DiscardableManager>(); in DEF_TEST()
345 sk_sp<DiscardableManager> discardableManager = sk_make_sp<DiscardableManager>(); in DEF_TEST()
387 sk_sp<DiscardableManager> discardableManager = sk_make_sp<DiscardableManager>(); in DEF_TEST()
417 sk_sp<DiscardableManager> discardableManager = sk_make_sp<DiscardableManager>(); in DEF_TEST()
464 sk_sp<DiscardableManager> discardableManager = sk_make_sp<DiscardableManager>(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
540 sk_sp<DiscardableManager> discardableManager = sk_make_sp<DiscardableManage in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all...]
H A DMessageBusTest.cpp89 auto m1 = sk_make_sp<TestMessageRefCnt>(5, 4.2f); in DEF_TEST()
90 auto m2 = sk_make_sp<TestMessageRefCnt>(6, 4.3f); in DEF_TEST()
104 auto m3 = sk_make_sp<TestMessageRefCnt>(1, 0.3f); in DEF_TEST()
112 // auto m4 = sk_make_sp<TestMessageRefCnt>(1, 0.3f); in DEF_TEST()
H A DTraceMemoryDumpTest.cpp101 sk_make_sp<GrGLTexture>(gpu, SkBudgeted::kNo, desc, GrMipmapStatus::kNotAllocated); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
117 auto params = sk_make_sp<GrGLTextureParameters>(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
185 auto texRT = sk_make_sp<GrGLTextureRenderTarget>(gpu, SkBudgeted::kYes, 8, texDesc, rtIDs, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
/third_party/skia/modules/canvaskit/
H A Dviewer_bindings.cpp25 return sk_make_sp<SampleSlide>(MakePathTextSample); in MakeSlide()
29 return sk_make_sp<SampleSlide>(MakeTessellatedWedgeSample); in MakeSlide()
37 return sk_make_sp<SKPSlide>(SkString(name.c_str()), std::move(stream)); in MakeSkpSlide()
43 return sk_make_sp<SvgSlide>(SkString(name.c_str()), std::move(stream)); in MakeSvgSlide()
/third_party/skia/experimental/skrive/tests/
H A DDomTypes.cpp19 auto node = sk_make_sp<skrive::Node>(); in DEF_TEST()
29 auto node = sk_make_sp<skrive::Shape>(); in DEF_TEST()
39 auto node = sk_make_sp<skrive::ColorPaint>(SkPaint::Style::kFill_Style); in DEF_TEST()
51 auto node = sk_make_sp<skrive::Ellipse>(); in DEF_TEST()
/third_party/skia/modules/skottie/src/layers/
H A DPrecompLayer.cpp157 auto sg_adapter = sk_make_sp<SGAdapter>(std::move(external_layer), layer_info.fSize); in attachExternalPrecompLayer()
159 fCurrentAnimatorScope->push_back(sk_make_sp<AnimatorAdapter>(sg_adapter, fFrameRate)); in attachExternalPrecompLayer()
168 time_remapper = sk_make_sp<TimeRemapper>(*jtm, this, fFrameRate); in attachPrecompLayer()
200 auto time_mapper = sk_make_sp<CompTimeMapper>(local_scope->release(), in attachPrecompLayer()
/third_party/skia/modules/skparagraph/tests/
H A DSkParagraphTest.cpp98 , fFontProvider(sk_make_sp<TypefaceFontProvider>()) { in ResourceFontCollection()
205 sk_sp<ResourceFontCollection> fontCollection = sk_make_sp<ResourceFontCollection>(); in UNIX_ONLY_TEST()
245 sk_sp<ResourceFontCollection> fontCollection = sk_make_sp<ResourceFontCollection>(); in UNIX_ONLY_TEST()
281 sk_sp<ResourceFontCollection> fontCollection = sk_make_sp<ResourceFontCollection>(); in UNIX_ONLY_TEST()
380 sk_sp<ResourceFontCollection> fontCollection = sk_make_sp<ResourceFontCollection>(); in UNIX_ONLY_TEST()
436 sk_sp<ResourceFontCollection> fontCollection = sk_make_sp<ResourceFontCollection>(); in UNIX_ONLY_TEST()
492 sk_sp<ResourceFontCollection> fontCollection = sk_make_sp<ResourceFontCollection>(); in UNIX_ONLY_TEST()
548 sk_sp<ResourceFontCollection> fontCollection = sk_make_sp<ResourceFontCollection>(); in UNIX_ONLY_TEST()
602 sk_sp<ResourceFontCollection> fontCollection = sk_make_sp<ResourceFontCollection>(); in UNIX_ONLY_TEST()
656 sk_sp<ResourceFontCollection> fontCollection = sk_make_sp<ResourceFontCollectio in UNIX_ONLY_TEST()
[all...]
/third_party/skia/src/core/
H A DSkSpecialSurface.cpp100 return sk_make_sp<SkSpecialSurface_Raster>(bm.info(), sk_ref_sp(bm.pixelRef()), subset, props); in MakeFromBitmap()
116 return sk_make_sp<SkSpecialSurface_Raster>(info, std::move(pr), subset, props); in MakeRaster()
175 return sk_make_sp<SkSpecialSurface_Gpu>(std::move(device), subset); in MakeRenderTarget()
/third_party/skia/modules/skottie/src/
H A DSkottieTest.cpp250 sk_sp<FakeFontMgr> test_font_manager = sk_make_sp<FakeFontMgr>(test_typeface); in DEF_TEST()
252 auto observer = sk_make_sp<TestPropertyObserver>(); in DEF_TEST()
385 auto observer = sk_make_sp<TestMarkerObserver>(); in DEF_TEST()
673 auto fontmgr = sk_make_sp<CountingFontMgr>(); in DEF_TEST()
790 .setResourceProvider(sk_make_sp<TestResourceProvider>(std::move(single_asset), in DEF_TEST()
820 auto single_asset = sk_make_sp<TestAsset>(false), in DEF_TEST()
821 multi_asset = sk_make_sp<TestAsset>(true); in DEF_TEST()
843 auto single_asset = sk_make_sp<TestAsset>(false), in DEF_TEST()
844 multi_asset = sk_make_sp<TestAsset>(true); in DEF_TEST()
/third_party/skia/modules/skparagraph/samples/
H A DSampleParagraph.cpp41 fFC = sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), false, true); in getFontCollection()
103 auto fontCollection = sk_make_sp<FontCollection>(); in drawTest()
205 auto fontCollection = sk_make_sp<FontCollection>(); in drawCode()
334 auto fontCollection = sk_make_sp<FontCollection>(); in drawLine()
457 auto fontCollection = sk_make_sp<FontCollection>(); in drawLine()
1139 auto fontCollection = sk_make_sp<FontCollection>(); in drawText()
1218 auto fontCollection = sk_make_sp<FontCollection>();
1267 auto fontCollection = sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), true, true);
1417 auto fontCollection = sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), false);
1465 //auto fontCollection = sk_make_sp<TestFontCollectio
[all...]
/third_party/skia/experimental/sktext/tests/
H A DSelectableText.cpp95 sk_sp<TrivialFontChain> fontChain = sk_make_sp<TrivialFontChain>("Roboto", 40.0f, SkFontStyle::Normal()); in UNIX_ONLY_TEST()
143 sk_sp<TrivialFontChain> fontChain = sk_make_sp<TrivialFontChain>("Roboto", 40.0f, SkFontStyle::Normal()); in UNIX_ONLY_TEST()
185 sk_sp<TrivialFontChain> fontChain = sk_make_sp<TrivialFontChain>("Roboto", 40.0f, SkFontStyle::Normal()); in UNIX_ONLY_TEST()
226 sk_sp<TrivialFontChain> fontChain = sk_make_sp<TrivialFontChain>("Roboto", 40.0f, SkFontStyle::Normal()); in UNIX_ONLY_TEST()
267 sk_sp<TrivialFontChain> fontChain = sk_make_sp<TrivialFontChain>("Roboto", 40.0f, SkFontStyle::Normal()); in UNIX_ONLY_TEST()
/third_party/skia/src/image/
H A DSkSurface_Gpu.cpp152 return sk_make_sp<SkImage_Gpu>(sk_ref_sp(rContext), in onNewImageSnapshot()
302 sk_sp<SkImage> image = sk_make_sp<SkImage_Gpu>(sk_ref_sp(canvasContext), in onDraw()
425 sk_sp<SkSurface> result = sk_make_sp<SkSurface_Gpu>(std::move(device)); in MakeRenderTarget()
483 return sk_make_sp<SkSurface_Gpu>(std::move(device)); in MakeRenderTarget()
526 return sk_make_sp<SkSurface_Gpu>(std::move(device)); in MakeFromBackendTexture()
642 return sk_make_sp<SkSurface_Gpu>(std::move(device)); in MakeFromBackendRenderTarget()
/third_party/skia/src/shaders/
H A DSkColorFilterShader.cpp39 return sk_make_sp<SkColorFilterShader>(shader, 1.0f, filter); in CreateProc()
119 return sk_make_sp<SkColorFilterShader>(sk_ref_sp(base), 1.0f, filter); in makeWithColorFilter()
/third_party/skia/gm/
H A Dparticles.cpp50 auto effectParams = sk_make_sp<SkParticleEffectParams>();
54 fEffect = sk_make_sp<SkParticleEffect>(effectParams);
/third_party/skia/experimental/skrive/src/
H A DArtboard.cpp25 auto node = sk_make_sp<T>(std::forward<Args>(args)...); in make_from_stream()
91 auto ab = sk_make_sp<Artboard>(); in parse_artboard()

Completed in 20 milliseconds

1234567