HomeSort by relevance Sort by last modified time
    Searched refs:drawState (Results 1 - 25 of 50) sorted by null

1 2

  /external/chromium_org/third_party/skia/src/gpu/gl/
GrGLProgramDesc.cpp 39 void GrGLProgramDesc::Build(const GrDrawState& drawState,
62 firstEffectiveColorStage = drawState.numColorStages();
65 const GrEffect* effect = drawState.getColorStage(firstEffectiveColorStage).getEffect()->get();
73 firstEffectiveCoverageStage = drawState.numCoverageStages();
76 const GrEffect* effect = drawState.getCoverageStage(firstEffectiveCoverageStage).getEffect()->get();
86 bool requiresColorAttrib = !skipColor && drawState.hasColorVertexAttribute();
87 bool requiresCoverageAttrib = !skipCoverage && drawState.hasCoverageVertexAttribute();
90 drawState.hasLocalCoordAttribute();
94 (!requiresColorAttrib && 0xffffffff == drawState.getColor()) ||
97 int numEffects = (skipColor ? 0 : (drawState.numColorStages() - firstEffectiveColorStage))
    [all...]
GrGLProgram.cpp 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,
    [all...]
  /external/skia/src/gpu/gl/
GrGLProgramDesc.cpp 39 void GrGLProgramDesc::Build(const GrDrawState& drawState,
62 firstEffectiveColorStage = drawState.numColorStages();
65 const GrEffect* effect = drawState.getColorStage(firstEffectiveColorStage).getEffect()->get();
73 firstEffectiveCoverageStage = drawState.numCoverageStages();
76 const GrEffect* effect = drawState.getCoverageStage(firstEffectiveCoverageStage).getEffect()->get();
86 bool requiresColorAttrib = !skipColor && drawState.hasColorVertexAttribute();
87 bool requiresCoverageAttrib = !skipCoverage && drawState.hasCoverageVertexAttribute();
90 drawState.hasLocalCoordAttribute();
94 (!requiresColorAttrib && 0xffffffff == drawState.getColor()) ||
97 int numEffects = (skipColor ? 0 : (drawState.numColorStages() - firstEffectiveColorStage))
    [all...]
GrGLProgram.cpp 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,
    [all...]
  /external/chromium_org/third_party/skia/src/gpu/
GrStencilAndCoverPathRenderer.cpp 69 GrDrawState* drawState = target->drawState();
70 SkASSERT(drawState->getStencil().isDisabled());
86 *drawState->stencil() = kInvertedStencilPass;
96 *drawState->stencil() = kStencilPass;
101 target->drawState()->stencil()->setDisabled();
GrClipMaskManager.cpp 38 GrDrawState* drawState = gpu->drawState();
39 SkASSERT(drawState);
48 mat.preConcat(drawState->getViewMatrix());
52 drawState->addCoverageEffect(
122 GrDrawState* drawState = fGpu->drawState();
124 const GrRenderTarget* rt = drawState->getRenderTarget();
128 bool ignoreClip = !drawState->isClipState() || clipDataIn->fClipStack->isWideOpen();
182 are->set(fGpu->drawState());
    [all...]