Home
last modified time | relevance | path

Searched refs:GrShaderCaps (Results 1 – 25 of 342) sorted by relevance

12345678910>>...14

/third_party/flutter/skia/src/sksl/
DSkSLUtil.h26 class GrShaderCaps; variable
212 #define SKSL_CAPS_CLASS GrShaderCaps
216 static sk_sp<GrShaderCaps> Default() { in Default()
217 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in Default()
223 static sk_sp<GrShaderCaps> Version450Core() { in Version450Core()
224 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in Version450Core()
229 static sk_sp<GrShaderCaps> Version110() { in Version110()
230 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in Version110()
236 static sk_sp<GrShaderCaps> UsesPrecisionModifiers() { in UsesPrecisionModifiers()
237 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in UsesPrecisionModifiers()
[all …]
/third_party/skia/src/gpu/tessellate/shaders/
DGrPathTessellationShader_Hardware.cpp47 int maxTessellationSegments(const GrShaderCaps& shaderCaps) const override { in maxTessellationSegments()
53 void addToKey(const GrShaderCaps&, GrProcessorKeyBuilder*) const final {} in addToKey() argument
54 std::unique_ptr<ProgramImpl> makeProgramImpl(const GrShaderCaps&) const final;
58 const GrShaderCaps&) const { in makeProgramImpl()
60 void emitVertexCode(const GrShaderCaps&, in makeProgramImpl() argument
73 const GrShaderCaps& shaderCaps) const override { in makeProgramImpl()
128 const GrShaderCaps&) const override { in makeProgramImpl()
188 int maxTessellationSegments(const GrShaderCaps& shaderCaps) const override { in maxTessellationSegments()
197 void addToKey(const GrShaderCaps&, GrProcessorKeyBuilder*) const final {} in addToKey() argument
198 std::unique_ptr<ProgramImpl> makeProgramImpl(const GrShaderCaps&) const final;
[all …]
DGrStrokeTessellationShader.h37 GrStrokeTessellationShader(const GrShaderCaps&, Mode, PatchAttribs, const SkMatrix& viewMatrix,
67 void addToKey(const GrShaderCaps&, GrProcessorKeyBuilder*) const override;
68 std::unique_ptr<ProgramImpl> makeProgramImpl(const GrShaderCaps&) const final;
140 GrGPArgs* gpArgs, const GrShaderCaps& shaderCaps) const;
146 void setData(const GrGLSLProgramDataManager& pdman, const GrShaderCaps&,
166 const GrShaderCaps&) const override;
170 const GrShaderCaps&) const override;
DGrPathTessellationShader_MiddleOut.cpp35 MiddleOutShader(const GrShaderCaps& shaderCaps, const SkMatrix& viewMatrix, in MiddleOutShader()
69 int maxTessellationSegments(const GrShaderCaps&) const override { in maxTessellationSegments()
75 void addToKey(const GrShaderCaps&, GrProcessorKeyBuilder* b) const final { in addToKey() argument
82 std::unique_ptr<ProgramImpl> makeProgramImpl(const GrShaderCaps&) const final;
89 const GrShaderCaps&) const { in makeProgramImpl()
91 void emitVertexCode(const GrShaderCaps& shaderCaps, in makeProgramImpl()
214 const GrShaderCaps& shaderCaps, in MakeMiddleOutFixedCountShader()
DGrPathTessellationShader.cpp31 int maxTessellationSegments(const GrShaderCaps&) const override { SkUNREACHABLE; } in maxTessellationSegments()
35 void addToKey(const GrShaderCaps&, GrProcessorKeyBuilder*) const final {} in addToKey() argument
36 std::unique_ptr<ProgramImpl> makeProgramImpl(const GrShaderCaps&) const final;
40 const GrShaderCaps&) const { in makeProgramImpl()
42 void emitVertexCode(const GrShaderCaps&, in makeProgramImpl() argument
149 GrShaderCaps&, const GrGeometryProcessor& geomProc) { in setData() argument
DGrPathTessellationShader.h47 static GrPathTessellationShader* MakeMiddleOutFixedCountShader(const GrShaderCaps&,
123 virtual int maxTessellationSegments(const GrShaderCaps&) const = 0;
140 void setData(const GrGLSLProgramDataManager&, const GrShaderCaps&,
152 virtual void emitVertexCode(const GrShaderCaps&,
/third_party/skia/src/gpu/effects/
DGrDistanceFieldGeoProc.h62 const GrShaderCaps& caps, in Make()
76 const GrShaderCaps& caps, in Make()
95 void addToKey(const GrShaderCaps&, GrProcessorKeyBuilder*) const override;
97 std::unique_ptr<ProgramImpl> makeProgramImpl(const GrShaderCaps&) const override;
102 GrDistanceFieldA8TextGeoProc(const GrShaderCaps& caps,
141 static GrGeometryProcessor* Make(SkArenaAlloc* arena, const GrShaderCaps& caps, in Make()
157 void addToKey(const GrShaderCaps&, GrProcessorKeyBuilder*) const override;
159 std::unique_ptr<ProgramImpl> makeProgramImpl(const GrShaderCaps&) const override;
164 GrDistanceFieldPathGeoProc(const GrShaderCaps& caps,
213 const GrShaderCaps& caps, in Make()
[all …]
DGrBitmapTextGeoProc.h29 const GrShaderCaps& caps, in Make()
50 void addToKey(const GrShaderCaps& caps, GrProcessorKeyBuilder* b) const override;
52 std::unique_ptr<ProgramImpl> makeProgramImpl(const GrShaderCaps& caps) const override;
57 GrBitmapTextGeoProc(const GrShaderCaps&, const SkPMColor4f&, bool wideColor,
DGrBezierEffect.h82 void addToKey(const GrShaderCaps& caps, GrProcessorKeyBuilder* b) const override;
84 std::unique_ptr<ProgramImpl> makeProgramImpl(const GrShaderCaps&) const override;
144 void addToKey(const GrShaderCaps& caps, GrProcessorKeyBuilder* b) const override;
146 std::unique_ptr<ProgramImpl> makeProgramImpl(const GrShaderCaps&) const override;
DGrOvalEffect.h16 class GrShaderCaps; variable
25 const GrShaderCaps&);
DGrRRectEffect.h16 class GrShaderCaps; variable
27 const GrShaderCaps&);
/third_party/flutter/skia/src/gpu/effects/
DGrDistanceFieldGeoProc.h64 static sk_sp<GrGeometryProcessor> Make(const GrShaderCaps& caps, in Make()
73 static sk_sp<GrGeometryProcessor> Make(const GrShaderCaps& caps, in Make()
99 void getGLSLProcessorKey(const GrShaderCaps& caps, GrProcessorKeyBuilder* b) const override;
101 GrGLSLPrimitiveProcessor* createGLSLInstance(const GrShaderCaps&) const override;
104 GrDistanceFieldA8TextGeoProc(const GrShaderCaps& caps,
146 static sk_sp<GrGeometryProcessor> Make(const GrShaderCaps& caps, in Make()
170 void getGLSLProcessorKey(const GrShaderCaps& caps, GrProcessorKeyBuilder* b) const override;
172 GrGLSLPrimitiveProcessor* createGLSLInstance(const GrShaderCaps&) const override;
175 GrDistanceFieldPathGeoProc(const GrShaderCaps& caps,
226 static sk_sp<GrGeometryProcessor> Make(const GrShaderCaps& caps, in Make()
[all …]
DGrBitmapTextGeoProc.h30 static sk_sp<GrGeometryProcessor> Make(const GrShaderCaps& caps, in Make()
57 void getGLSLProcessorKey(const GrShaderCaps& caps, GrProcessorKeyBuilder* b) const override;
59 GrGLSLPrimitiveProcessor* createGLSLInstance(const GrShaderCaps& caps) const override;
62 GrBitmapTextGeoProc(const GrShaderCaps&, const SkPMColor4f&, bool wideColor,
DGrSkSLFP.h97 GrSkSLFP(sk_sp<GrSkSLFPFactoryCache> factoryCache, const GrShaderCaps* shaderCaps,
105 void onGetGLSLProcessorKey(const GrShaderCaps&, GrProcessorKeyBuilder*) const override;
113 const sk_sp<GrShaderCaps> fShaderCaps;
163 GrSkSLFPFactory(const char* name, const GrShaderCaps* shaderCaps, const char* sksl,
DGrOvalEffect.h16 class GrShaderCaps; variable
24 std::unique_ptr<GrFragmentProcessor> Make(GrClipEdgeType, const SkRect&, const GrShaderCaps&);
/third_party/skia/src/gpu/ops/
DGrOvalOpFactory.h18 class GrShaderCaps; variable
35 const GrShaderCaps*);
42 const GrShaderCaps*);
49 const GrShaderCaps*);
56 const GrShaderCaps*);
66 const GrShaderCaps*);
/third_party/flutter/skia/src/gpu/ops/
DGrOvalOpFactory.h17 class GrShaderCaps; variable
34 const GrShaderCaps*);
41 const GrShaderCaps*);
48 const GrShaderCaps*);
55 const GrShaderCaps*);
65 const GrShaderCaps*);
/third_party/skia/src/gpu/
DGrGeometryProcessor.h200 virtual void addToKey(const GrShaderCaps&, GrProcessorKeyBuilder*) const = 0;
226 virtual std::unique_ptr<ProgramImpl> makeProgramImpl(const GrShaderCaps&) const = 0;
296 const GrShaderCaps* caps, in EmitArgs()
314 const GrShaderCaps* fShaderCaps;
345 const GrShaderCaps&,
353 const GrShaderCaps&) const { in getTessControlShaderGLSL() argument
359 const GrShaderCaps&) const { in getTessEvaluationShaderGLSL() argument
365 static uint32_t ComputeMatrixKey(const GrShaderCaps& caps, const SkMatrix& mat) { in ComputeMatrixKey()
380 static uint32_t ComputeMatrixKeys(const GrShaderCaps& shaderCaps, in ComputeMatrixKeys()
387 static uint32_t AddMatrixKeys(const GrShaderCaps& shaderCaps, in AddMatrixKeys()
[all …]
DGrXferProcessor.h21 class GrShaderCaps; variable
74 void addToKey(const GrShaderCaps&, in GR_MAKE_BITFIELD_CLASS_OPS()
151 virtual void onAddToKey(const GrShaderCaps&, GrProcessorKeyBuilder*) const = 0; in GR_MAKE_BITFIELD_CLASS_OPS()
291 const GrShaderCaps* caps, in GR_MAKE_BITFIELD_CLASS_OPS()
313 const GrShaderCaps* fShaderCaps; in GR_MAKE_BITFIELD_CLASS_OPS()
DGrShaderCaps.cpp15 GrShaderCaps::GrShaderCaps() { in GrShaderCaps() function in GrShaderCaps
87 void GrShaderCaps::dumpJSON(SkJSONWriter* writer) const { in dumpJSON()
159 void GrShaderCaps::dumpJSON(SkJSONWriter* writer) const { } in dumpJSON()
162 void GrShaderCaps::applyOptionsOverrides(const GrContextOptions& options) { in applyOptionsOverrides()
/third_party/skia/gm/
Dtessellation.cpp64 void addToKey(const GrShaderCaps&, GrProcessorKeyBuilder*) const final {} in addToKey() argument
69 const GrShaderCaps&, in setData() argument
93 const GrShaderCaps&) const override { in getTessControlShaderGLSL()
113 const GrShaderCaps&) const override { in getTessEvaluationShaderGLSL()
166 std::unique_ptr<ProgramImpl> makeProgramImpl(const GrShaderCaps&) const final { in makeProgramImpl()
182 void addToKey(const GrShaderCaps&, GrProcessorKeyBuilder*) const final {} in addToKey() argument
188 const GrShaderCaps&, in setData() argument
209 const GrShaderCaps&) const override { in getTessControlShaderGLSL()
233 const GrShaderCaps&) const override { in getTessEvaluationShaderGLSL()
282 std::unique_ptr<ProgramImpl> makeProgramImpl(const GrShaderCaps&) const final { in makeProgramImpl()
/third_party/flutter/skia/src/gpu/
DGrProgramDesc.cpp47 const GrShaderCaps& caps) { in sampler_key()
59 GrGpu* gpu, const GrShaderCaps& caps) { in add_sampler_keys()
84 const GrShaderCaps& caps) { in add_sampler_keys()
117 const GrShaderCaps& shaderCaps, in gen_meta_key()
138 const GrShaderCaps& shaderCaps, in gen_meta_key()
159 const GrShaderCaps& shaderCaps, in gen_meta_key()
177 const GrShaderCaps& shaderCaps, in gen_frag_proc_and_meta_keys()
200 const GrShaderCaps& shaderCaps = *gpu->caps()->shaderCaps(); in Build()
DGrShaderCaps.cpp16 GrShaderCaps::GrShaderCaps(const GrContextOptions& options) { in GrShaderCaps() function in GrShaderCaps
79 void GrShaderCaps::dumpJSON(SkJSONWriter* writer) const { in dumpJSON()
145 void GrShaderCaps::dumpJSON(SkJSONWriter* writer) const { } in dumpJSON()
148 void GrShaderCaps::applyOptionsOverrides(const GrContextOptions& options) { in applyOptionsOverrides()
DGrDefaultGeoProcFactory.cpp37 static sk_sp<GrGeometryProcessor> Make(const GrShaderCaps* shaderCaps, in Make()
169 const GrShaderCaps&, in GenKey() argument
218 void getGLSLProcessorKey(const GrShaderCaps& caps, GrProcessorKeyBuilder* b) const override { in getGLSLProcessorKey()
222 GrGLSLPrimitiveProcessor* createGLSLInstance(const GrShaderCaps&) const override { in createGLSLInstance()
227 DefaultGeoProc(const GrShaderCaps* shaderCaps, in DefaultGeoProc()
310 sk_sp<GrGeometryProcessor> GrDefaultGeoProcFactory::Make(const GrShaderCaps* shaderCaps, in Make()
344 const GrShaderCaps* shaderCaps, in MakeForDeviceSpace()
/third_party/flutter/skia/src/gpu/glsl/
DGrGLSLXferProcessor.h18 class GrShaderCaps; variable
31 const GrShaderCaps* caps, in EmitArgs()
54 const GrShaderCaps* fShaderCaps;

12345678910>>...14