/external/chromium_org/third_party/skia/src/gpu/ |
H A D | GrPathRenderer.h | 122 GrAssert(target->drawState()->getStencil().isDisabled() || 165 GrDrawState* drawState = target->drawState(); local 173 drawState->setStencil(kIncrementStencil); 174 drawState->enableState(GrDrawState::kNoColorWrites_StateBit);
|
H A D | GrSWMaskHelper.cpp | 175 GrDrawState* drawState = target->drawState(); local 178 if (!avmr.setIdentity(drawState)) { 181 GrDrawState::AutoRestoreEffects are(drawState); 195 maskMatrix.preConcat(drawState->getViewMatrix()); 197 drawState->addCoverageEffect(
|
H A D | GrSoftwarePathRenderer.cpp | 86 if (!avmr.setIdentity(target->drawState())) { 125 GrDrawState* drawState = target->drawState(); local 127 SkMatrix vm = drawState->getViewMatrix();
|
H A D | GrStencilAndCoverPathRenderer.cpp | 68 GrDrawState* drawState = target->drawState(); local 69 GrAssert(drawState->getStencil().isDisabled()); 81 SkScalar bloat = drawState->getViewMatrix().getMaxStretch() * SK_ScalarHalf; 92 *drawState->stencil() = kStencilPass; 106 SkIntToScalar(drawState->getRenderTarget()->width()), 107 SkIntToScalar(drawState->getRenderTarget()->height())); 109 if (!drawState->getViewMatrix().hasPerspective() && drawState->getViewInverse(&vmi)) { 114 avmr.setIdentity(drawState); [all...] |
H A D | GrTextContext.cpp | 28 GrDrawState* drawState = fDrawTarget->drawState(); local 29 GrDrawState::AutoRestoreEffects are(drawState); 30 drawState->setFromPaint(fPaint, SkMatrix::I(), fContext->getRenderTarget()); 39 drawState->addCoverageEffect( 50 drawState->setBlendConstant(fPaint.getColor()); 51 drawState->setBlendFunc(kConstC_GrBlendCoeff, kISC_GrBlendCoeff); 54 drawState->setColor(0xffffffff); 57 drawState->setBlendFunc(fPaint.getSrcBlendCoeff(), fPaint.getDstBlendCoeff()); 58 drawState [all...] |
H A D | GrDefaultPathRenderer.cpp | 234 target->drawState()->setDefaultVertexAttribs(); 353 GrDrawState* drawState = target->drawState(); local 354 bool colorWritesWereDisabled = drawState->isColorWriteDisabled(); 356 GrAssert(GrDrawState::kBoth_DrawFace == drawState->getDrawFace()); 451 GetPathDevBounds(path, drawState->getRenderTarget(), viewM, &devBounds); 454 drawState->setDrawFace(drawFace[p]); 456 *drawState->stencil() = *passes[p]; 461 drawState->disableState(GrDrawState::kNoColorWrites_StateBit); 466 GrAssert(NULL != drawState [all...] |
H A D | GrAARectRenderer.cpp | 271 static void set_aa_rect_vertex_attributes(GrDrawState* drawState, bool useCoverage) { argument 273 drawState->setVertexAttribs<gAARectCoverageAttribs>(SK_ARRAY_COUNT(gAARectCoverageAttribs)); 275 drawState->setVertexAttribs<gAARectColorAttribs>(SK_ARRAY_COUNT(gAARectColorAttribs)); 383 GrDrawState* drawState = target->drawState(); local 385 set_aa_rect_vertex_attributes(drawState, useVertexCoverage); 400 size_t vsize = drawState->getVertexSize(); 530 GrDrawState* drawState = target->drawState(); local 547 drawState 594 GrDrawState* drawState = target->drawState(); local 704 GrDrawState* drawState = target->drawState(); local [all...] |
H A D | GrClipMaskManager.cpp | 37 GrDrawState* drawState = gpu->drawState(); local 38 GrAssert(drawState); 47 mat.preConcat(drawState->getViewMatrix()); 51 drawState->addCoverageEffect( 120 GrDrawState* drawState = fGpu->drawState(); local 122 const GrRenderTarget* rt = drawState->getRenderTarget(); 126 bool ignoreClip = !drawState->isClipState() || clipDataIn->fClipStack->isWideOpen(); 180 are->set(fGpu->drawState()); 239 setup_boolean_blendcoeffs(GrDrawState* drawState, SkRegion::Op op) argument 272 GrDrawState* drawState = fGpu->drawState(); local 320 GrDrawState* drawState = fGpu->drawState(); local 351 GrDrawState* drawState = fGpu->drawState(); local 453 GrDrawState* drawState = fGpu->drawState(); local 575 GrDrawState* drawState = fGpu->drawState(); local 793 const GrDrawState& drawState = fGpu->getDrawState(); local [all...] |
H A D | GrDrawTarget.h | 73 void setDrawState(GrDrawState* drawState); 84 GrDrawState* drawState() { return fDrawState; } function in class:GrDrawTarget 466 * the previous one in the destructor. The caller should call drawState() to 469 * GrDrawState* state = target->drawState(); 586 : fAttribRestore(target->drawState()) { 613 target->drawState()->setDefaultVertexAttribs();
|
H A D | GrOvalRenderer.cpp | 335 GrDrawState* drawState = target->drawState(); local 337 const SkMatrix& vm = drawState->getViewMatrix(); 344 if (!avmr.setIdentity(drawState)) { 348 drawState->setVertexAttribs<gCircleVertexAttribs>(SK_ARRAY_COUNT(gCircleVertexAttribs)); 349 GrAssert(sizeof(CircleVertex) == drawState->getVertexSize()); 364 drawState->addCoverageEffect(effect, kCircleEdgeAttrIndex)->unref(); 438 GrDrawState* drawState = target->drawState(); local 442 bool isAxisAlignedEllipse = drawState 648 GrDrawState* drawState = target->drawState(); local [all...] |
H A D | GrAAConvexPathRenderer.cpp | 610 GrDrawState* drawState = target->drawState(); local 638 drawState->setVertexAttribs<gPathAttribs>(SK_ARRAY_COUNT(gPathAttribs)); 642 drawState->addCoverageEffect(quadEffect, kEdgeAttrIndex)->unref(); 648 GrAssert(sizeof(QuadVertex) == drawState->getVertexSize());
|
/external/skia/src/gpu/ |
H A D | GrPathRenderer.h | 122 GrAssert(target->drawState()->getStencil().isDisabled() || 165 GrDrawState* drawState = target->drawState(); local 173 drawState->setStencil(kIncrementStencil); 174 drawState->enableState(GrDrawState::kNoColorWrites_StateBit);
|
H A D | GrSWMaskHelper.cpp | 175 GrDrawState* drawState = target->drawState(); local 178 if (!avmr.setIdentity(drawState)) { 181 GrDrawState::AutoRestoreEffects are(drawState); 195 maskMatrix.preConcat(drawState->getViewMatrix()); 197 drawState->addCoverageEffect(
|
H A D | GrSoftwarePathRenderer.cpp | 86 if (!avmr.setIdentity(target->drawState())) { 125 GrDrawState* drawState = target->drawState(); local 127 SkMatrix vm = drawState->getViewMatrix();
|
H A D | GrStencilAndCoverPathRenderer.cpp | 68 GrDrawState* drawState = target->drawState(); local 69 GrAssert(drawState->getStencil().isDisabled()); 81 SkScalar bloat = drawState->getViewMatrix().getMaxStretch() * SK_ScalarHalf; 92 *drawState->stencil() = kStencilPass; 106 SkIntToScalar(drawState->getRenderTarget()->width()), 107 SkIntToScalar(drawState->getRenderTarget()->height())); 109 if (!drawState->getViewMatrix().hasPerspective() && drawState->getViewInverse(&vmi)) { 114 avmr.setIdentity(drawState); [all...] |
H A D | GrTextContext.cpp | 28 GrDrawState* drawState = fDrawTarget->drawState(); local 29 GrDrawState::AutoRestoreEffects are(drawState); 30 drawState->setFromPaint(fPaint, SkMatrix::I(), fContext->getRenderTarget()); 39 drawState->addCoverageEffect( 50 drawState->setBlendConstant(fPaint.getColor()); 51 drawState->setBlendFunc(kConstC_GrBlendCoeff, kISC_GrBlendCoeff); 54 drawState->setColor(0xffffffff); 57 drawState->setBlendFunc(fPaint.getSrcBlendCoeff(), fPaint.getDstBlendCoeff()); 58 drawState [all...] |
H A D | GrDefaultPathRenderer.cpp | 234 target->drawState()->setDefaultVertexAttribs(); 353 GrDrawState* drawState = target->drawState(); local 354 bool colorWritesWereDisabled = drawState->isColorWriteDisabled(); 356 GrAssert(GrDrawState::kBoth_DrawFace == drawState->getDrawFace()); 451 GetPathDevBounds(path, drawState->getRenderTarget(), viewM, &devBounds); 454 drawState->setDrawFace(drawFace[p]); 456 *drawState->stencil() = *passes[p]; 461 drawState->disableState(GrDrawState::kNoColorWrites_StateBit); 466 GrAssert(NULL != drawState [all...] |
H A D | GrAARectRenderer.cpp | 271 static void set_aa_rect_vertex_attributes(GrDrawState* drawState, bool useCoverage) { argument 273 drawState->setVertexAttribs<gAARectCoverageAttribs>(SK_ARRAY_COUNT(gAARectCoverageAttribs)); 275 drawState->setVertexAttribs<gAARectColorAttribs>(SK_ARRAY_COUNT(gAARectColorAttribs)); 383 GrDrawState* drawState = target->drawState(); local 385 set_aa_rect_vertex_attributes(drawState, useVertexCoverage); 400 size_t vsize = drawState->getVertexSize(); 530 GrDrawState* drawState = target->drawState(); local 547 drawState 594 GrDrawState* drawState = target->drawState(); local 704 GrDrawState* drawState = target->drawState(); local [all...] |
H A D | GrClipMaskManager.cpp | 37 GrDrawState* drawState = gpu->drawState(); local 38 GrAssert(drawState); 47 mat.preConcat(drawState->getViewMatrix()); 51 drawState->addCoverageEffect( 120 GrDrawState* drawState = fGpu->drawState(); local 122 const GrRenderTarget* rt = drawState->getRenderTarget(); 126 bool ignoreClip = !drawState->isClipState() || clipDataIn->fClipStack->isWideOpen(); 180 are->set(fGpu->drawState()); 239 setup_boolean_blendcoeffs(GrDrawState* drawState, SkRegion::Op op) argument 272 GrDrawState* drawState = fGpu->drawState(); local 320 GrDrawState* drawState = fGpu->drawState(); local 351 GrDrawState* drawState = fGpu->drawState(); local 453 GrDrawState* drawState = fGpu->drawState(); local 575 GrDrawState* drawState = fGpu->drawState(); local 793 const GrDrawState& drawState = fGpu->getDrawState(); local [all...] |
H A D | GrDrawTarget.h | 73 void setDrawState(GrDrawState* drawState); 84 GrDrawState* drawState() { return fDrawState; } function in class:GrDrawTarget 466 * the previous one in the destructor. The caller should call drawState() to 469 * GrDrawState* state = target->drawState(); 586 : fAttribRestore(target->drawState()) { 613 target->drawState()->setDefaultVertexAttribs();
|
H A D | GrOvalRenderer.cpp | 335 GrDrawState* drawState = target->drawState(); local 337 const SkMatrix& vm = drawState->getViewMatrix(); 344 if (!avmr.setIdentity(drawState)) { 348 drawState->setVertexAttribs<gCircleVertexAttribs>(SK_ARRAY_COUNT(gCircleVertexAttribs)); 349 GrAssert(sizeof(CircleVertex) == drawState->getVertexSize()); 364 drawState->addCoverageEffect(effect, kCircleEdgeAttrIndex)->unref(); 438 GrDrawState* drawState = target->drawState(); local 442 bool isAxisAlignedEllipse = drawState 648 GrDrawState* drawState = target->drawState(); local [all...] |
/external/chromium_org/third_party/skia/src/gpu/gl/ |
H A D | GrGLProgramDesc.cpp | 35 void GrGLProgramDesc::Build(const GrDrawState& drawState, argument 61 bool requiresColorAttrib = !skipColor && drawState.hasColorVertexAttribute(); 62 bool requiresCoverageAttrib = !skipCoverage && drawState.hasCoverageVertexAttribute(); 65 drawState.hasLocalCoordAttribute(); 69 (!requiresColorAttrib && 0xffffffff == drawState.getColor()); 71 int numEffects = (skipColor ? 0 : drawState.numColorStages()) + 72 (skipCoverage ? 0 : drawState.numCoverageStages()); 91 for (int s = 0; s < drawState.numColorStages(); ++s) { 93 get_key_and_update_stats(drawState.getColorStage(s), gpu->glCaps(), 98 for (int s = 0; s < drawState [all...] |
H A D | GrGpuGL_program.cpp | 260 const GrDrawState& drawState = this->getDrawState(); local 263 GrAssert(NULL != drawState.getRenderTarget()); 272 GrDrawState::BlendOptFlags blendOpts = drawState.getBlendOpts(false, &srcCoeff, &dstCoeff); 322 if (drawState.isClipState()) { 323 this->getClip()->getConservativeBounds(drawState.getRenderTarget(), &devClipBounds);
|
/external/skia/src/gpu/gl/ |
H A D | GrGLProgramDesc.cpp | 35 void GrGLProgramDesc::Build(const GrDrawState& drawState, argument 61 bool requiresColorAttrib = !skipColor && drawState.hasColorVertexAttribute(); 62 bool requiresCoverageAttrib = !skipCoverage && drawState.hasCoverageVertexAttribute(); 65 drawState.hasLocalCoordAttribute(); 69 (!requiresColorAttrib && 0xffffffff == drawState.getColor()); 71 int numEffects = (skipColor ? 0 : drawState.numColorStages()) + 72 (skipCoverage ? 0 : drawState.numCoverageStages()); 91 for (int s = 0; s < drawState.numColorStages(); ++s) { 93 get_key_and_update_stats(drawState.getColorStage(s), gpu->glCaps(), 98 for (int s = 0; s < drawState [all...] |
H A D | GrGpuGL_program.cpp | 260 const GrDrawState& drawState = this->getDrawState(); local 263 GrAssert(NULL != drawState.getRenderTarget()); 272 GrDrawState::BlendOptFlags blendOpts = drawState.getBlendOpts(false, &srcCoeff, &dstCoeff); 322 if (drawState.isClipState()) { 323 this->getClip()->getConservativeBounds(drawState.getRenderTarget(), &devClipBounds);
|