Home
last modified time | relevance | path

Searched refs:GrProcessorTestData (Results 1 – 25 of 81) sorted by relevance

1234

/third_party/skia/src/gpu/
DGrProcessorUnitTest.h25 class GrProcessorTestData; variable
36 std::unique_ptr<GrFragmentProcessor> MakeChildFP(GrProcessorTestData*);
37 std::unique_ptr<GrFragmentProcessor> MakeOptionalChildFP(GrProcessorTestData*);
47 class GrProcessorTestData {
51 GrProcessorTestData(SkRandom* random, GrRecordingContext* context, int maxTreeDepth,
53 GrProcessorTestData(SkRandom* random, GrRecordingContext* context, int maxTreeDepth,
56 GrProcessorTestData(const GrProcessorTestData&) = delete;
57 ~GrProcessorTestData();
85 using MakeProc = ProcessorSmartPtr (*)(GrProcessorTestData*);
90 static ProcessorSmartPtr Make(GrProcessorTestData* data);
[all …]
DGrProcessorUnitTest.cpp21 GrProcessorTestData::GrProcessorTestData(SkRandom* random, GrRecordingContext* context, in GrProcessorTestData() function in GrProcessorTestData
23 : GrProcessorTestData(random, context, maxTreeDepth, numViews, views, in GrProcessorTestData()
26 GrProcessorTestData::GrProcessorTestData(SkRandom* random, GrRecordingContext* context, in GrProcessorTestData() function in GrProcessorTestData
37 GrProcessorTestData::~GrProcessorTestData() {} in ~GrProcessorTestData()
39 GrProxyProvider* GrProcessorTestData::proxyProvider() { return fContext->priv().proxyProvider(); } in proxyProvider()
41 const GrCaps* GrProcessorTestData::caps() { return fContext->priv().caps(); } in caps()
43 std::unique_ptr<GrFragmentProcessor> GrProcessorTestData::inputFP() { in inputFP()
53 GrProcessorTestData::ViewInfo GrProcessorTestData::randomView() { in randomView()
58 GrProcessorTestData::ViewInfo GrProcessorTestData::randomAlphaOnlyView() { in randomAlphaOnlyView()
83 ProcessorSmartPtr GrProcessorTestFactory<ProcessorSmartPtr>::Make(GrProcessorTestData* data) { in Make()
[all …]
DGrTestUtils.h28 class GrProcessorTestData; variable
61 TestAsFPArgs(GrProcessorTestData*);
/third_party/flutter/skia/src/gpu/
DGrProcessorUnitTest.h24 struct GrProcessorTestData;
39 std::unique_ptr<GrFragmentProcessor> MakeChildFP(GrProcessorTestData*);
50 struct GrProcessorTestData { struct
51 GrProcessorTestData(SkRandom* random, in GrProcessorTestData() function
83 using MakeProc = ProcessorSmartPtr (*)(GrProcessorTestData*); argument
91 static ProcessorSmartPtr Make(GrProcessorTestData* data) { in Make()
104 static ProcessorSmartPtr MakeIdx(int idx, GrProcessorTestData* data) { in MakeIdx()
128 using GetFn = const GrXPFactory*(GrProcessorTestData*);
132 static const GrXPFactory* Get(GrProcessorTestData* data) { in Get()
157 static sk_sp<GrGeometryProcessor> TestCreate(GrProcessorTestData*);
[all …]
DGrProcessor.cpp20 GrResourceProvider* GrProcessorTestData::resourceProvider() { in resourceProvider()
24 GrProxyProvider* GrProcessorTestData::proxyProvider() { in proxyProvider()
28 const GrCaps* GrProcessorTestData::caps() { return fContext->priv().caps(); } in caps()
DGrTestUtils.h27 struct GrProcessorTestData;
57 TestAsFPArgs(GrProcessorTestData*);
DGrProcessorUnitTest.cpp13 std::unique_ptr<GrFragmentProcessor> GrProcessorUnitTest::MakeChildFP(GrProcessorTestData* data) { in MakeChildFP()
/third_party/skia/tests/
DProgramsTest.cpp82 std::unique_ptr<GrFragmentProcessor> BigKeyProcessor::TestCreate(GrProcessorTestData*) { in TestCreate() argument
158 static void set_random_xpf(GrPaint* paint, GrProcessorTestData* d) { in set_random_xpf()
162 static std::unique_ptr<GrFragmentProcessor> create_random_proc_tree(GrProcessorTestData* d, in create_random_proc_tree()
212 GrProcessorTestData* d, in set_random_color_coverage_stages()
245 GrProcessorTestData::ViewInfo views[2]; in ProgramUnitTest()
288 GrProcessorTestData ptd(&random, direct, /*maxTreeDepth=*/1, SK_ARRAY_COUNT(views), views); in ProgramUnitTest()
310 GrProcessorTestData ptd(&random, direct, /*maxTreeDepth=*/1, SK_ARRAY_COUNT(views), in ProgramUnitTest()
/third_party/flutter/skia/tests/
DGLProgramsTest.cpp93 std::unique_ptr<GrFragmentProcessor> BigKeyProcessor::TestCreate(GrProcessorTestData*) { in TestCreate() argument
171 static void set_random_xpf(GrPaint* paint, GrProcessorTestData* d) { in set_random_xpf()
175 static std::unique_ptr<GrFragmentProcessor> create_random_proc_tree(GrProcessorTestData* d, in create_random_proc_tree()
227 GrProcessorTestData* d, in set_random_color_coverage_stages()
316 GrProcessorTestData ptd(&random, context, renderTargetContext.get(), proxies); in ProgramUnitTest()
341 GrProcessorTestData ptd(&random, context, renderTargetContext.get(), proxies); in ProgramUnitTest()
/third_party/skia/src/gpu/effects/
DGrDisableColorXP.cpp70 const GrXPFactory* GrDisableColorXPFactory::TestGet(GrProcessorTestData*) { in TestGet() argument
DGrShadowGeoProc.cpp77 GrGeometryProcessor* GrRRectShadowGeoProc::TestCreate(GrProcessorTestData* d) { in TestCreate()
DGrBezierEffect.cpp186 GrGeometryProcessor* GrConicEffect::TestCreate(GrProcessorTestData* d) { in TestCreate()
339 GrGeometryProcessor* GrQuadEffect::TestCreate(GrProcessorTestData* d) { in TestCreate()
/third_party/flutter/skia/src/gpu/effects/
DGrDisableColorXP.cpp73 const GrXPFactory* GrDisableColorXPFactory::TestGet(GrProcessorTestData*) { in TestGet() argument
DGrShadowGeoProc.cpp81 sk_sp<GrGeometryProcessor> GrRRectShadowGeoProc::TestCreate(GrProcessorTestData* d) { in TestCreate()
DGrSRGBEffect.cpp120 std::unique_ptr<GrFragmentProcessor> GrSRGBEffect::TestCreate(GrProcessorTestData* d) { in TestCreate()
/third_party/flutter/skia/src/gpu/effects/generated/
DGrConfigConversionEffect.cpp66 GrProcessorTestData* data) { in TestCreate()
DGrSimpleTextureEffect.cpp70 GrProcessorTestData* testData) { in TestCreate()
DGrAARectEffect.cpp104 std::unique_ptr<GrFragmentProcessor> GrAARectEffect::TestCreate(GrProcessorTestData* d) { in TestCreate()
DGrConstColorProcessor.cpp80 std::unique_ptr<GrFragmentProcessor> GrConstColorProcessor::TestCreate(GrProcessorTestData* d) { in TestCreate()
DGrCircleEffect.cpp110 std::unique_ptr<GrFragmentProcessor> GrCircleEffect::TestCreate(GrProcessorTestData* testData) { in TestCreate()
DGrAlphaThresholdFragmentProcessor.cpp109 GrProcessorTestData* testData) { in TestCreate()
DGrColorMatrixFragmentProcessor.cpp108 GrProcessorTestData* d) { in TestCreate()
DGrRectBlurEffect.cpp128 std::unique_ptr<GrFragmentProcessor> GrRectBlurEffect::TestCreate(GrProcessorTestData* data) { in TestCreate()
/third_party/flutter/skia/src/gpu/gradients/generated/
DGrLinearGradientLayout.cpp60 std::unique_ptr<GrFragmentProcessor> GrLinearGradientLayout::TestCreate(GrProcessorTestData* d) { in TestCreate()
DGrRadialGradientLayout.cpp59 std::unique_ptr<GrFragmentProcessor> GrRadialGradientLayout::TestCreate(GrProcessorTestData* d) { in TestCreate()

1234