/third_party/skia/src/gpu/effects/ |
H A D | GrDistanceFieldGeoProc.h | 12 #include "src/gpu/GrGeometryProcessor.h" 55 class GrDistanceFieldA8TextGeoProc : public GrGeometryProcessor { 65 static GrGeometryProcessor* Make(SkArenaAlloc* arena, in Make() 79 static GrGeometryProcessor* Make(SkArenaAlloc* arena, in Make() 133 using INHERITED = GrGeometryProcessor; 142 class GrDistanceFieldPathGeoProc : public GrGeometryProcessor { 151 static GrGeometryProcessor* Make(SkArenaAlloc* arena, const GrShaderCaps& caps, 196 using INHERITED = GrGeometryProcessor; 205 class GrDistanceFieldLCDTextGeoProc : public GrGeometryProcessor { 228 static GrGeometryProcessor* Mak [all...] |
H A D | GrBezierEffect.h | 14 #include "src/gpu/GrGeometryProcessor.h" 59 class GrConicEffect : public GrGeometryProcessor { 61 static GrGeometryProcessor* Make(SkArenaAlloc* arena, in Make() 109 using INHERITED = GrGeometryProcessor; 123 class GrQuadEffect : public GrGeometryProcessor { 125 static GrGeometryProcessor* Make(SkArenaAlloc* arena, 174 using INHERITED = GrGeometryProcessor;
|
H A D | GrShadowGeoProc.h | 12 #include "src/gpu/GrGeometryProcessor.h" 22 class GrRRectShadowGeoProc : public GrGeometryProcessor { 24 static GrGeometryProcessor* Make(SkArenaAlloc* arena, const GrSurfaceProxyView& lutView) { in Make() 59 using INHERITED = GrGeometryProcessor;
|
H A D | GrShadowGeoProc.cpp | 20 const GrGeometryProcessor&) override {} 67 std::unique_ptr<GrGeometryProcessor::ProgramImpl> GrRRectShadowGeoProc::makeProgramImpl( in makeProgramImpl() 77 GrGeometryProcessor* GrRRectShadowGeoProc::TestCreate(GrProcessorTestData* d) { in TestCreate()
|
H A D | GrBitmapTextGeoProc.h | 12 #include "src/gpu/GrGeometryProcessor.h" 24 class GrBitmapTextGeoProc : public GrGeometryProcessor { 32 static GrGeometryProcessor* Make(SkArenaAlloc* arena, in Make() 83 using INHERITED = GrGeometryProcessor;
|
/third_party/skia/gm/ |
H A D | tessellation.cpp | 13 #include "src/gpu/GrGeometryProcessor.h" 30 constexpr static GrGeometryProcessor::Attribute kPositionAttrib = 54 class TessellationTestTriShader : public GrGeometryProcessor { 57 : GrGeometryProcessor(kTessellationTestTriShader_ClassID), fViewMatrix(viewMatrix) { in TessellationTestTriShader() 70 const GrGeometryProcessor& geomProc) override { 90 SkString getTessControlShaderGLSL(const GrGeometryProcessor&, 110 SkString getTessEvaluationShaderGLSL(const GrGeometryProcessor&, 173 class TessellationTestRectShader : public GrGeometryProcessor { 176 : GrGeometryProcessor(kTessellationTestTriShader_ClassID), fViewMatrix(viewMatrix) { in TessellationTestRectShader() 189 const GrGeometryProcessor [all...] |
H A D | fwidth_squircle.cpp | 23 #include "src/gpu/GrGeometryProcessor.h" 56 static constexpr GrGeometryProcessor::Attribute gVertex = 62 class FwidthSquircleTestProcessor : public GrGeometryProcessor { 64 static GrGeometryProcessor* Make(SkArenaAlloc* arena, const SkMatrix& viewMatrix) { in Make() 78 : GrGeometryProcessor(kFwidthSquircleTestProcessor_ClassID) in FwidthSquircleTestProcessor() 85 using INHERITED = GrGeometryProcessor; 88 std::unique_ptr<GrGeometryProcessor::ProgramImpl> FwidthSquircleTestProcessor::makeProgramImpl( in makeProgramImpl() 94 const GrGeometryProcessor& geomProc) override { in makeProgramImpl() 179 GrGeometryProcessor* geomProc = FwidthSquircleTestProcessor::Make(arena, fViewMatrix); in createProgramInfo() 252 // The program info (and both the GrPipeline and GrGeometryProcessor i [all...] |
H A D | clockwise.cpp | 28 #include "src/gpu/GrGeometryProcessor.h" 59 static constexpr GrGeometryProcessor::Attribute gVertex = 65 class ClockwiseTestProcessor : public GrGeometryProcessor { 67 static GrGeometryProcessor* Make(SkArenaAlloc* arena, bool readSkFragCoord) { in Make() 85 : GrGeometryProcessor(kClockwiseTestProcessor_ClassID) in ClockwiseTestProcessor() 92 using INHERITED = GrGeometryProcessor; 95 std::unique_ptr<GrGeometryProcessor::ProgramImpl> ClockwiseTestProcessor::makeProgramImpl( in makeProgramImpl() 101 const GrGeometryProcessor&) override {} in makeProgramImpl() 158 GrGeometryProcessor* geomProc = ClockwiseTestProcessor::Make(arena, fReadSkFragCoord); in createProgramInfo() 228 // The program info (and both the GrPipeline and GrGeometryProcessor i [all...] |
/third_party/skia/src/gpu/gl/ |
H A D | GrGLProgram.h | 13 #include "src/gpu/GrGeometryProcessor.h" 22 class GrGeometryProcessor; 59 std::unique_ptr<GrGeometryProcessor::ProgramImpl>, 107 void bindTextures(const GrGeometryProcessor&, 132 std::unique_ptr<GrGeometryProcessor::ProgramImpl>, 142 void setRenderTargetState(const GrRenderTarget*, GrSurfaceOrigin, const GrGeometryProcessor&); 150 std::unique_ptr<GrGeometryProcessor::ProgramImpl> fGPImpl;
|
H A D | GrGLProgram.cpp | 11 #include "src/gpu/GrGeometryProcessor.h" 33 std::unique_ptr<GrGeometryProcessor::ProgramImpl> gpImpl, in Make() 65 std::unique_ptr<GrGeometryProcessor::ProgramImpl> gpImpl, in GrGLProgram() 123 void GrGLProgram::bindTextures(const GrGeometryProcessor& geomProc, in bindTextures() 153 const GrGeometryProcessor& geomProc) { in setRenderTargetState()
|
/third_party/skia/src/gpu/ |
H A D | GrGeometryProcessor.h | 29 * The GrGeometryProcessor represents some kind of geometric primitive. This includes the shape 30 * of the primitive and the inherent color of the primitive. The GrGeometryProcessor is 33 * from the GrGeometryProcessor, so the GrGeometryProcessor must be able to support this 37 * GrGeometryProcessor. These loops run on the CPU and to determine known properties of the final 43 * decisions about GrGeometryProcessor creation. 51 class GrGeometryProcessor : public GrProcessor { class 54 * Every GrGeometryProcessor must be capable of creating a subclass of ProgramImpl. The 55 * ProgramImpl emits the shader code that implements the GrGeometryProcessor, is attached to the 57 * GrGeometryProcessor instance 350 getTessControlShaderGLSL(const GrGeometryProcessor&, const char* versionAndExtensionDecls, const GrGLSLUniformHandler&, const GrShaderCaps&) const getTessControlShaderGLSL() argument 356 getTessEvaluationShaderGLSL(const GrGeometryProcessor&, const char* versionAndExtensionDecls, const GrGLSLUniformHandler&, const GrShaderCaps&) const getTessEvaluationShaderGLSL() argument [all...] |
H A D | GrDefaultGeoProcFactory.cpp | 13 #include "src/gpu/GrGeometryProcessor.h" 34 class DefaultGeoProc : public GrGeometryProcessor { 36 static GrGeometryProcessor* Make(SkArenaAlloc* arena, in Make() 82 const GrGeometryProcessor& geomProc) override { 251 using INHERITED = GrGeometryProcessor; 257 GrGeometryProcessor* DefaultGeoProc::TestCreate(GrProcessorTestData* d) { 291 GrGeometryProcessor* GrDefaultGeoProcFactory::Make(SkArenaAlloc* arena, 323 GrGeometryProcessor* GrDefaultGeoProcFactory::MakeForDeviceSpace(SkArenaAlloc* arena,
|
H A D | GrProcessorUnitTest.h | 28 class GrGeometryProcessor; 108 using GrGeometryProcessorTestFactory = GrProcessorTestFactory<GrGeometryProcessor*>; 133 static GrGeometryProcessor* TestCreate(GrProcessorTestData*); 167 static GrGeometryProcessor* TestCreate(GrProcessorTestData*);
|
H A D | GrProgramDesc.cpp | 13 #include "src/gpu/GrGeometryProcessor.h" 58 const GrGeometryProcessor& geomProc, in add_geomproc_sampler_keys() 63 const GrGeometryProcessor::TextureSampler& sampler = geomProc.textureSampler(i); in add_geomproc_sampler_keys() 83 static void gen_geomproc_key(const GrGeometryProcessor& geomProc, in gen_geomproc_key() 120 b->addBits(GrGeometryProcessor::kCoordTransformKeyBits, in gen_fp_key() 121 GrGeometryProcessor::ComputeCoordTransformsKey(fp), "fpTransforms"); in gen_fp_key()
|
H A D | GrGeometryProcessor.cpp | 8 #include "src/gpu/GrGeometryProcessor.h" 19 GrGeometryProcessor::GrGeometryProcessor(ClassID classID) : GrProcessor(classID) {} in GrGeometryProcessor() function in GrGeometryProcessor 21 const GrGeometryProcessor::TextureSampler& GrGeometryProcessor::textureSampler(int i) const { in textureSampler() 26 uint32_t GrGeometryProcessor::ComputeCoordTransformsKey(const GrFragmentProcessor& fp) { in ComputeCoordTransformsKey() 46 GrGeometryProcessor::TextureSampler::TextureSampler(GrSamplerState samplerState, in TextureSampler() 52 void GrGeometryProcessor::TextureSampler::reset(GrSamplerState samplerState, in reset() 64 using ProgramImpl = GrGeometryProcessor::ProgramImpl;
|
H A D | GrProgramInfo.h | 12 #include "src/gpu/GrGeometryProcessor.h" 24 const GrGeometryProcessor* geomProc, in GrProgramInfo() 66 const GrGeometryProcessor& geomProc() const { return *fGeomProc; } in geomProc() 111 const GrGeometryProcessor* fGeomProc;
|
/third_party/skia/src/gpu/tessellate/shaders/ |
H A D | GrPathTessellationShader_Hardware.cpp | 59 std::unique_ptr<GrGeometryProcessor::ProgramImpl> HardwareWedgeShader::makeProgramImpl( in makeProgramImpl() 72 SkString getTessControlShaderGLSL(const GrGeometryProcessor&, in makeProgramImpl() 127 SkString getTessEvaluationShaderGLSL(const GrGeometryProcessor&, in makeProgramImpl() 205 std::unique_ptr<GrGeometryProcessor::ProgramImpl> HardwareCurveShader::makeProgramImpl( in makeProgramImpl() 218 SkString getTessControlShaderGLSL(const GrGeometryProcessor&, in makeProgramImpl() 296 SkString getTessEvaluationShaderGLSL(const GrGeometryProcessor&, in makeProgramImpl()
|
H A D | GrStrokeTessellationShader.h | 149 const GrGeometryProcessor&) final; 165 SkString getTessControlShaderGLSL(const GrGeometryProcessor&, 169 SkString getTessEvaluationShaderGLSL(const GrGeometryProcessor&,
|
/third_party/skia/src/gpu/glsl/ |
H A D | GrGLSLProgramBuilder.h | 13 #include "src/gpu/GrGeometryProcessor.h" 43 const GrGeometryProcessor& geometryProcessor() const { return fProgramInfo.geomProc(); } in geometryProcessor() 106 std::unique_ptr<GrGeometryProcessor::ProgramImpl> fGPImpl; 160 void verify(const GrGeometryProcessor&); 168 GrGeometryProcessor::ProgramImpl::FPCoordsMap fFPCoordsMap;
|
/third_party/skia/tests/ |
H A D | PrimitiveProcessorTest.cpp | 19 #include "src/gpu/GrGeometryProcessor.h" 66 class GP : public GrGeometryProcessor { 68 static GrGeometryProcessor* Make(SkArenaAlloc* arena, int numAttribs) { in Make() 81 const GrGeometryProcessor&) override {} 125 using INHERITED = GrGeometryProcessor; 128 GrGeometryProcessor* gp = GP::Make(arena, fNumAttribs);
|
H A D | GrPipelineDynamicStateTest.cpp | 15 #include "src/gpu/GrGeometryProcessor.h" 60 class PipelineDynamicStateTestProcessor : public GrGeometryProcessor { 62 static GrGeometryProcessor* Make(SkArenaAlloc* arena) { in Make() 87 using INHERITED = GrGeometryProcessor; 91 std::unique_ptr<GrGeometryProcessor::ProgramImpl> 93 class Impl : public GrGeometryProcessor::ProgramImpl { 97 const GrGeometryProcessor&) final {}
|
/third_party/skia/src/gpu/ops/ |
H A D | DashOp.cpp | 17 #include "src/gpu/GrGeometryProcessor.h" 164 * An GrGeometryProcessor that renders a dashed line. 165 * This GrGeometryProcessor is meant for dashed lines that only have a single on/off interval pair. 169 GrGeometryProcessor* make_dash_gp(SkArenaAlloc* arena, 293 GrGeometryProcessor* gp; 311 SkDebugf("Could not create GrGeometryProcessor\n"); 709 class DashingCircleEffect : public GrGeometryProcessor { 713 static GrGeometryProcessor* Make(SkArenaAlloc* arena, 744 using INHERITED = GrGeometryProcessor; 753 const GrGeometryProcessor [all...] |
/third_party/skia/src/gpu/vk/ |
H A D | GrVkPipelineState.h | 50 std::unique_ptr<GrGeometryProcessor::ProgramImpl>, 63 const GrGeometryProcessor&, 108 std::unique_ptr<GrGeometryProcessor::ProgramImpl> fGPImpl;
|
/third_party/skia/src/gpu/d3d/ |
H A D | GrD3DPipelineState.h | 36 std::unique_ptr<GrGeometryProcessor::ProgramImpl> gpImpl, 48 const GrGeometryProcessor&, 90 std::unique_ptr<GrGeometryProcessor::ProgramImpl> fGPImpl;
|
/third_party/skia/src/gpu/mtl/ |
H A D | GrMtlPipelineState.h | 45 std::unique_ptr<GrGeometryProcessor::ProgramImpl>, 53 void setTextures(const GrGeometryProcessor&, 114 std::unique_ptr<GrGeometryProcessor::ProgramImpl> fGPImpl;
|