Home
last modified time | relevance | path

Searched refs:GrGLProgram (Results 1 – 9 of 9) sorted by relevance

/external/skia/src/gpu/gl/
DGrGLProgram.cpp21 SK_DEFINE_INST_COUNT(GrGLProgram)
43 GrGLProgram* GrGLProgram::Create(const GrGLContextInfo& gl, in Create()
46 GrGLProgram* program = SkNEW_ARGS(GrGLProgram, (gl, desc, stages)); in Create()
54 GrGLProgram::GrGLProgram(const GrGLContextInfo& gl, in GrGLProgram() function in GrGLProgram
78 GrGLProgram::~GrGLProgram() { in ~GrGLProgram()
97 void GrGLProgram::abandon() { in abandon()
104 void GrGLProgram::overrideBlend(GrBlendCoeff* srcCoeff, in overrideBlend()
226 bool GrGLProgram::genEdgeCoverage(SkString* coverageVar, in genEdgeCoverage()
301 void GrGLProgram::genInputColor(GrGLShaderBuilder* builder, SkString* inColor) { in genInputColor()
303 case GrGLProgram::Desc::kAttribute_ColorInput: { in genInputColor()
[all …]
DGrGLProgram.h39 class GrGLProgram : public GrRefCnt {
41 SK_DECLARE_INST_COUNT(GrGLProgram)
45 static GrGLProgram* Create(const GrGLContextInfo& gl,
49 virtual ~GrGLProgram();
138 GrGLProgram(const GrGLContextInfo& gl,
DGrGpuGL_program.cpp35 GrGLProgram* GrGpuGL::ProgramCache::getProgram(const ProgramDesc& desc, in getProgram()
42 newEntry.fProgram.reset(GrGLProgram::Create(fGL, desc, stages)); in getProgram()
179 GL_CALL(VertexAttrib4fv(GrGLProgram::ColorAttributeIdx(), c)); in flushColor()
229 GL_CALL(VertexAttrib4fv(GrGLProgram::CoverageAttributeIdx(), in flushCoverage()
278 GrGLProgram::Desc desc; in flushGraphicsState()
396 int idx = GrGLProgram::PositionAttributeIdx(); in setupGeometry()
405 int idx = GrGLProgram::TexCoordAttributeIdx(t); in setupGeometry()
416 GL_CALL(DisableVertexAttribArray(GrGLProgram::TexCoordAttributeIdx(t))); in setupGeometry()
422 int idx = GrGLProgram::ColorAttributeIdx(); in setupGeometry()
432 GL_CALL(DisableVertexAttribArray(GrGLProgram::ColorAttributeIdx())); in setupGeometry()
[all …]
DGrGpuGL.h141 typedef GrGLProgram::Desc ProgramDesc;
148 GrGLProgram* getProgram(const GrGLProgram::Desc& desc, const GrEffectStage* stages[]);
176 SkAutoTUnref<GrGLProgram> fProgram;
264 SkAutoTUnref<GrGLProgram> fCurrentProgram;
DGrGLShaderBuilder.h70 friend class GrGLProgram; // to construct these and access fSamplerUniform. variable
DGrGpuGL.cpp465 int posAttrIdx = GrGLProgram::PositionAttributeIdx(); in onResetContext()
/external/skia/tests/
DGLProgramsTest.cpp140 SkAutoTUnref<GrGLProgram> program(GrGLProgram::Create(this->glContextInfo(), in programUnitTest()
/external/skia/gyp/
Dgpu.gypi155 '<(skia_src_path)/gpu/gl/GrGLProgram.cpp',
156 '<(skia_src_path)/gpu/gl/GrGLProgram.h',
/external/skia/
DAndroid.mk401 src/gpu/gl/GrGLProgram.cpp \