Home | History | Annotate | Download | only in gl

Lines Matching refs:drawState

199     const GrDrawState& drawState = fGpu->getDrawState();
208 coverage = drawState.getCoverageColor();
210 color = drawState.getColor();
211 coverage = drawState.getCoverageColor();
214 this->setColor(drawState, color, sharedState);
215 this->setCoverage(drawState, coverage, sharedState);
216 this->setMatrixAndRenderTargetHeight(drawState);
250 void GrGLProgram::setColor(const GrDrawState& drawState,
254 if (!drawState.hasColorVertexAttribute()) {
290 void GrGLProgram::setCoverage(const GrDrawState& drawState,
294 if (!drawState.hasCoverageVertexAttribute()) {
329 void GrGLProgram::setMatrixAndRenderTargetHeight(const GrDrawState& drawState) {
330 const GrRenderTarget* rt = drawState.getRenderTarget();
342 fGpu->setProjectionMatrix(drawState.getViewMatrix(), size, rt->origin());
345 !fMatrixState.fViewMatrix.cheapEqualTo(drawState.getViewMatrix())) {
348 fMatrixState.fViewMatrix = drawState.getViewMatrix();