Home
last modified time | relevance | path

Searched refs:fProgramID (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/third_party/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.cpp90 , fProgramID(0) in GrGLProgramBuilder()
231 SkASSERT(0 == fProgramID); in finish()
232 GL_CALL_RET(fProgramID, CreateProgram()); in finish()
233 if (!fProgramID) { in finish()
239 if (!this->compileAndAttachShaders(fProgramID, &shadersToDelete)) { in finish()
240 GL_CALL(DeleteProgram(fProgramID)); in finish()
244 this->bindProgramLocations(fProgramID); in finish()
246 GL_CALL(LinkProgram(fProgramID)); in finish()
255 GL_CALL(GetProgramiv(fProgramID, GR_GL_LINK_STATUS, &linked)); in finish()
258 GL_CALL(GetProgramiv(fProgramID, GR_GL_INFO_LOG_LENGTH, &infoLen)); in finish()
[all …]
DGrGLProgramBuilder.h94 SkASSERT(fProgramID); return fGeometryProcessor.get(); in getGeometryProcessor()
96 … GrGLProgramEffects* getColorEffects() const { SkASSERT(fProgramID); return fColorEffects.get(); } in getColorEffects()
97 …GrGLProgramEffects* getCoverageEffects() const { SkASSERT(fProgramID); return fCoverageEffects.get… in getCoverageEffects()
99 SkASSERT(fProgramID); in getBuiltinUniformHandles()
102 GrGLuint getProgramID() const { SkASSERT(fProgramID); return fProgramID; } in getProgramID()
103 bool hasVertexShader() const { SkASSERT(fProgramID); return !fFragOnly; } in hasVertexShader()
104 int getTexCoordSetCount() const { SkASSERT(fProgramID); return fTexCoordSetCnt; } in getTexCoordSetCount()
296 GrGLuint fProgramID; variable
/external/chromium_org/third_party/skia/src/gpu/gl/
DGrGLProgram.cpp58 , fProgramID(builder.getProgramID()) in GrGLProgram()
68 if (fProgramID) { in ~GrGLProgram()
69 GL_CALL(DeleteProgram(fProgramID)); in ~GrGLProgram()
74 fProgramID = 0; in abandon()
78 GL_CALL(UseProgram(fProgramID)); in initSamplerUniforms()
DGrGLProgram.h60 GrGLuint programID() const { return fProgramID; } in programID()
194 GrGLuint fProgramID; variable
/external/skia/src/gpu/gl/
DGrGLProgram.cpp31 SkASSERT(0 != output.fProgramID); in Create()
52 if (fBuilderOutput.fProgramID) { in ~GrGLProgram()
53 GL_CALL(DeleteProgram(fBuilderOutput.fProgramID)); in ~GrGLProgram()
58 fBuilderOutput.fProgramID = 0; in abandon()
84 GL_CALL(UseProgram(fBuilderOutput.fProgramID)); in initSamplerUniforms()
DGrGLShaderBuilder.cpp661 SkASSERT(0 == fOutput.fProgramID); in finish()
662 GL_CALL_RET(fOutput.fProgramID, CreateProgram()); in finish()
663 if (!fOutput.fProgramID) { in finish()
669 if (!this->compileAndAttachShaders(fOutput.fProgramID, &shadersToDelete)) { in finish()
670 GL_CALL(DeleteProgram(fOutput.fProgramID)); in finish()
674 this->bindProgramLocations(fOutput.fProgramID); in finish()
676 fUniformManager->getUniformLocations(fOutput.fProgramID, fUniforms); in finish()
679 GL_CALL(LinkProgram(fOutput.fProgramID)); in finish()
688 GL_CALL(GetProgramiv(fOutput.fProgramID, GR_GL_LINK_STATUS, &linked)); in finish()
691 GL_CALL(GetProgramiv(fOutput.fProgramID, GR_GL_INFO_LOG_LENGTH, &infoLen)); in finish()
[all …]
DGrGLShaderBuilder.h69 , fProgramID(0) {} in GenProgramOutput()
81 fProgramID = other.fProgramID;
90 GrGLuint fProgramID; member
DGrGLProgram.h63 GrGLuint programID() const { return fBuilderOutput.fProgramID; } in programID()