/third_party/skia/experimental/sorttoy/ |
D | sorttoy.cpp | 183 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<DrawCmd>(ID(1), shape, r.makeOffset(48, 48), FakePaint(SK_ColorGREEN))); in test2() [all …]
|
/third_party/flutter/skia/src/sksl/ |
D | SkSLUtil.h | 217 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in Default() 224 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in Version450Core() 230 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in Version110() 237 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in UsesPrecisionModifiers() 244 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in CannotUseMinAndAbsTogether() 251 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in CannotUseFractForNegativeValues() 258 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in MustForceNegatedAtanParamToFloat() 265 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in ShaderDerivativeExtensionString() 274 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in FragCoordsOld() 282 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in FragCoordsNew() [all …]
|
/third_party/skia/src/gpu/v1/ |
D | PathRendererChain.cpp | 34 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/flutter/skia/src/gpu/ |
D | GrPathRendererChain.cpp | 31 fChain.push_back(sk_make_sp<GrDashLinePathRenderer>()); in GrPathRendererChain() 34 fChain.push_back(sk_make_sp<GrAAConvexPathRenderer>()); in GrPathRendererChain() 47 fChain.push_back(sk_make_sp<GrAAHairLinePathRenderer>()); in GrPathRendererChain() 50 fChain.push_back(sk_make_sp<GrAALinearizingConvexPathRenderer>()); in GrPathRendererChain() 53 auto spr = sk_make_sp<GrSmallPathRenderer>(); in GrPathRendererChain() 70 fChain.push_back(sk_make_sp<GrTessellatingPathRenderer>()); in GrPathRendererChain() 74 fChain.push_back(sk_make_sp<GrDefaultPathRenderer>()); in GrPathRendererChain()
|
/third_party/skia/modules/skottie/tests/ |
D | Expression.cpp | 36 return sk_make_sp<FakeScalarExpressionEvaluator>(); in createNumberExpressionEvaluator() 41 return sk_make_sp<FakeStringExpressionEvaluator>(); in createStringExpressionEvaluator() 46 return sk_make_sp<FakeVectorExpressionEvaluator>(); in createArrayExpressionEvaluator() 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()
|
/third_party/skia/tools/fonts/ |
D | TestFontMgr.cpp | 68 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/tests/ |
D | PixelRefTest.cpp | 77 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()
|
D | SkRemoteGlyphCacheTest.cpp | 187 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<DiscardableManager>(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
D | RefCntTest.cpp | 116 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() argument
|
/third_party/flutter/skia/tools/fonts/ |
D | TestFontMgr.cpp | 68 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() 202 sk_sp<SkFontMgr> MakePortableFontMgr() { return sk_make_sp<FontMgr>(); } in MakePortableFontMgr()
|
/third_party/skia/src/ports/ |
D | SkFontMgr_custom_embedded.cpp | 35 family->appendTypeface(sk_make_sp<SkTypeface_Empty>()); in loadSystemFonts() 57 family->appendTypeface(sk_make_sp<SkTypeface_Empty>()); in loadSystemFonts() 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()
|
D | SkFontMgr_custom_directory.cpp | 29 family->appendTypeface(sk_make_sp<SkTypeface_Empty>()); in loadSystemFonts() 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()
|
D | SkFontMgr_custom_empty.cpp | 20 family->appendTypeface(sk_make_sp<SkTypeface_Empty>()); in loadSystemFonts() 26 return sk_make_sp<SkFontMgr_Custom>(EmptyFontLoader()); in SkFontMgr_New_Custom_Empty()
|
/third_party/skia/modules/canvaskit/ |
D | viewer_bindings.cpp | 25 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/ |
D | DomTypes.cpp | 19 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/flutter/skia/tests/ |
D | RefCntTest.cpp | 116 return sk_make_sp<Effect>(); in Create() 273 sk_sp<SkRefCnt> notEmpty = sk_make_sp<SkRefCnt>(); in DEF_TEST() 293 sk_sp<SkRefCnt> a = sk_make_sp<SkRefCnt>(); in DEF_TEST() 294 sk_sp<SkRefCnt> b = sk_make_sp<SkRefCnt>(); in DEF_TEST() 357 return sk_make_sp<FooConcrete>(); in make_foo() 359 DEF_TEST(sk_make_sp, r) { in DEF_TEST() argument
|
D | SkRemoteGlyphCacheTest.cpp | 183 sk_sp<DiscardableManager> discardableManager = sk_make_sp<DiscardableManager>(); in DEF_TEST() 200 sk_sp<DiscardableManager> discardableManager = sk_make_sp<DiscardableManager>(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 235 sk_sp<DiscardableManager> discardableManager = sk_make_sp<DiscardableManager>(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 264 sk_sp<DiscardableManager> discardableManager = sk_make_sp<DiscardableManager>(); in DEF_TEST() 298 sk_sp<DiscardableManager> discardableManager = sk_make_sp<DiscardableManager>(); in DEF_TEST() 326 sk_sp<DiscardableManager> discardableManager = sk_make_sp<DiscardableManager>(); in DEF_TEST() 365 sk_sp<DiscardableManager> discardableManager = sk_make_sp<DiscardableManager>(); in DEF_TEST() 394 sk_sp<DiscardableManager> discardableManager = sk_make_sp<DiscardableManager>(); in DEF_TEST() 438 sk_sp<DiscardableManager> discardableManager = sk_make_sp<DiscardableManager>(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 514 sk_sp<DiscardableManager> discardableManager = sk_make_sp<DiscardableManager>(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
D | SkParagraphTest.cpp | 36 , fFontProvider(sk_make_sp<TypefaceFontProvider>()) { in TestFontCollection() 140 sk_sp<TestFontCollection> fontCollection = sk_make_sp<TestFontCollection>(); in DEF_TEST() 206 sk_sp<TestFontCollection> fontCollection = sk_make_sp<TestFontCollection>(); in DEF_TEST() 243 sk_sp<TestFontCollection> fontCollection = sk_make_sp<TestFontCollection>(); in DEF_TEST() 362 sk_sp<TestFontCollection> fontCollection = sk_make_sp<TestFontCollection>(); in DEF_TEST() 398 sk_sp<TestFontCollection> fontCollection = sk_make_sp<TestFontCollection>(); in DEF_TEST() 441 sk_sp<TestFontCollection> fontCollection = sk_make_sp<TestFontCollection>(); in DEF_TEST() 496 sk_sp<TestFontCollection> fontCollection = sk_make_sp<TestFontCollection>(); in DEF_TEST() 580 sk_sp<TestFontCollection> fontCollection = sk_make_sp<TestFontCollection>(); in DEF_TEST() 667 sk_sp<TestFontCollection> fontCollection = sk_make_sp<TestFontCollection>(); in DEF_TEST() [all …]
|
/third_party/skia/modules/skottie/src/layers/ |
D | PrecompLayer.cpp | 157 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/flutter/skia/src/ports/ |
D | SkFontMgr_custom_embedded.cpp | 31 family->appendTypeface(sk_make_sp<SkTypeface_Empty>()); in loadSystemFonts() 76 addTo->appendTypeface(sk_make_sp<SkTypeface_Stream>(std::move(data), in load_embedded_font() 86 return sk_make_sp<SkFontMgr_Custom>(EmbeddedSystemFontLoader(header)); in SkFontMgr_New_Custom_Embedded()
|
D | SkFontMgr_custom_directory.cpp | 29 family->appendTypeface(sk_make_sp<SkTypeface_Empty>()); in loadSystemFonts() 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()
|
D | SkFontMgr_custom_empty.cpp | 20 family->appendTypeface(sk_make_sp<SkTypeface_Empty>()); in loadSystemFonts() 26 return sk_make_sp<SkFontMgr_Custom>(EmptyFontLoader()); in SkFontMgr_New_Custom_Empty()
|
/third_party/skia/modules/skparagraph/tests/ |
D | SkParagraphTest.cpp | 91 , fFontProvider(sk_make_sp<TypefaceFontProvider>()) { in ResourceFontCollection() 199 sk_sp<ResourceFontCollection> fontCollection = sk_make_sp<ResourceFontCollection>(); in UNIX_ONLY_TEST() 237 sk_sp<ResourceFontCollection> fontCollection = sk_make_sp<ResourceFontCollection>(); in UNIX_ONLY_TEST() 336 sk_sp<ResourceFontCollection> fontCollection = sk_make_sp<ResourceFontCollection>(); in UNIX_ONLY_TEST() 392 sk_sp<ResourceFontCollection> fontCollection = sk_make_sp<ResourceFontCollection>(); in UNIX_ONLY_TEST() 448 sk_sp<ResourceFontCollection> fontCollection = sk_make_sp<ResourceFontCollection>(); in UNIX_ONLY_TEST() 504 sk_sp<ResourceFontCollection> fontCollection = sk_make_sp<ResourceFontCollection>(); in UNIX_ONLY_TEST() 558 sk_sp<ResourceFontCollection> fontCollection = sk_make_sp<ResourceFontCollection>(); in UNIX_ONLY_TEST() 612 sk_sp<ResourceFontCollection> fontCollection = sk_make_sp<ResourceFontCollection>(); in UNIX_ONLY_TEST() 666 sk_sp<ResourceFontCollection> fontCollection = sk_make_sp<ResourceFontCollection>(); in UNIX_ONLY_TEST() [all …]
|
/third_party/skia/modules/skparagraph/samples/ |
D | SampleParagraph.cpp | 41 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>(); in onDrawContent() 1267 …auto fontCollection = sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), true, true); in onDrawContent() 1417 … auto fontCollection = sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), false); in onDrawContent() 1466 auto fontCollection = sk_make_sp<FontCollection>(); in onDrawContent() [all …]
|
/third_party/flutter/skia/samplecode/ |
D | SampleTextEffects.cpp | 76 return sk_make_sp<Dot2DPathEffect>(buffer.readScalar(), matrix, nullptr); in CreateProc() 96 return sk_make_sp<InverseFillPE>(); in CreateProc() 104 return sk_make_sp<Dot2DPathEffect>(rad, lattice, pts); in makepe()
|