/external/skia/src/gpu/ |
H A D | GrStencilAndCoverPathRenderer.cpp | 69 GrDrawState* drawState = target->drawState(); local 70 SkASSERT(drawState->getStencil().isDisabled()); 86 *drawState->stencil() = kInvertedStencilPass; 96 *drawState->stencil() = kStencilPass; 101 target->drawState()->stencil()->setDisabled();
|
H A D | GrPathRenderer.h | 122 SkASSERT(target->drawState()->getStencil().isDisabled() || 179 GrDrawState* drawState = target->drawState(); local 187 drawState->setStencil(kIncrementStencil); 188 drawState->enableState(GrDrawState::kNoColorWrites_StateBit);
|
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 | GrSWMaskHelper.cpp | 216 GrDrawState* drawState = target->drawState(); local 219 if (!avmr.setIdentity(drawState)) { 222 GrDrawState::AutoRestoreEffects are(drawState); 236 maskMatrix.preConcat(drawState->getViewMatrix()); 238 drawState->addCoverageEffect(
|
/external/chromium_org/third_party/skia/experimental/AndroidPathRenderer/ |
H A D | GrAndroidPathRenderer.cpp | 40 GrDrawState* drawState = target->drawState(); local 47 drawState->setVertexAttribs(attribs, SK_ARRAY_COUNT(attribs)); 48 drawState->setAttribIndex(GrDrawState::kPosition_AttribIndex, 0); 49 drawState->setAttribIndex(GrDrawState::kCoverage_AttribIndex, 1); 50 drawState->setAttribBindings(GrDrawState::kCoverage_AttribBindingsBit); 52 drawState->setDefaultVertexAttribs(); 65 SkASSERT(sizeof(ColorVertex) == drawState->getVertexSize()); 80 size_t vsize = drawState->getVertexSize();
|
/external/chromium_org/third_party/skia/gm/ |
H A D | convexpolyeffect.cpp | 123 GrDrawState* drawState = tt.target()->drawState(); variable 135 drawState->addCoverageProcessor(fp); 136 drawState->setIdentityViewMatrix(); 137 drawState->setRenderTarget(rt); 138 drawState->setColor(0xff000000); 188 GrDrawState* drawState = tt.target()->drawState(); variable 189 drawState->addCoverageProcessor(fp); 190 drawState [all...] |
H A D | texturedomaineffect.cpp | 93 GrDrawState* drawState = tt.target()->drawState(); variable 136 drawState->reset(viewMatrix); 137 drawState->setRenderTarget(rt); 138 drawState->setColor(0xffffffff); 139 drawState->addColorProcessor(fp);
|
H A D | yuvtorgbeffect.cpp | 84 GrDrawState* drawState = tt.target()->drawState(); variable 118 drawState->reset(viewMatrix); 119 drawState->setRenderTarget(rt); 120 drawState->setColor(0xffffffff); 121 drawState->addColorProcessor(fp);
|
H A D | rrects.cpp | 115 GrDrawState* drawState = tt.target()->drawState(); variable 123 drawState->addCoverageProcessor(fp); 124 drawState->setIdentityViewMatrix(); 125 drawState->setRenderTarget(rt); 126 drawState->setColor(0xff000000);
|
H A D | beziereffects.cpp | 170 GrDrawState* drawState = tt.target()->drawState(); variable 171 drawState->setVertexAttribs<kAttribs>(2, sizeof(Vertex)); 173 drawState->setGeometryProcessor(gp); 174 drawState->setRenderTarget(rt); 175 drawState->setColor(0xff000000); 325 GrDrawState* drawState = tt.target()->drawState(); variable 326 drawState->setVertexAttribs<kAttribs>(2, sizeof(Vertex)); 328 drawState 509 GrDrawState* drawState = tt.target()->drawState(); variable [all...] |
/external/chromium_org/third_party/skia/src/gpu/ |
H A D | GrPathRenderer.h | 122 SkASSERT(target->drawState()->getStencil().isDisabled() || 179 GrDrawState* drawState = target->drawState(); local 187 drawState->setStencil(kIncrementStencil); 188 drawState->enableState(GrDrawState::kNoColorWrites_StateBit);
|
H A D | GrSoftwarePathRenderer.cpp | 80 if (!avmr.setIdentity(target->drawState())) { 119 GrDrawState* drawState = target->drawState(); local 121 SkMatrix vm = drawState->getViewMatrix();
|
H A D | GrStencilAndCoverPathRenderer.cpp | 80 GrDrawState* drawState = target->drawState(); local 81 SkASSERT(drawState->getStencil().isDisabled()); 97 *drawState->stencil() = kInvertedStencilPass; 107 *drawState->stencil() = kStencilPass; 112 target->drawState()->stencil()->setDisabled();
|
H A D | GrOptDrawState.cpp | 14 GrOptDrawState::GrOptDrawState(const GrDrawState& drawState, argument 18 const GrDrawTargetCaps& caps) : INHERITED(drawState) { 19 fColor = drawState.getColor(); 20 fCoverage = drawState.getCoverage(); 21 fViewMatrix = drawState.getViewMatrix(); 22 fBlendConstant = drawState.getBlendConstant(); 23 fFlagBits = drawState.getFlagBits(); 24 fVAPtr = drawState.getVertexAttribs(); 25 fVACount = drawState.getVertexAttribCount(); 26 fVAStride = drawState [all...] |
H A D | GrRODrawState.cpp | 15 GrRODrawState::GrRODrawState(const GrRODrawState& drawState) : INHERITED() { argument 16 fRenderTarget.setResource(SkSafeRef(drawState.fRenderTarget.getResource()),
|
H A D | GrDefaultPathRenderer.cpp | 233 target->drawState()->setDefaultVertexAttribs(); 339 target->drawState()->setCoverage(newCoverage); 366 GrDrawState* drawState = target->drawState(); local 367 bool colorWritesWereDisabled = drawState->isColorWriteDisabled(); 369 SkASSERT(GrDrawState::kBoth_DrawFace == drawState->getDrawFace()); 464 GetPathDevBounds(path, drawState->getRenderTarget(), viewM, &devBounds); 467 drawState->setDrawFace(drawFace[p]); 469 *drawState->stencil() = *passes[p]; 474 drawState [all...] |
H A D | GrDrawState.cpp | 315 GrDrawState::AutoVertexAttribRestore::AutoVertexAttribRestore(GrDrawState* drawState) { argument 316 SkASSERT(drawState); 317 fDrawState = drawState; 318 fVAPtr = drawState->fVAPtr; 319 fVACount = drawState->fVACount; 320 fVAStride = drawState->fVAStride; 387 void GrDrawState::AutoViewMatrixRestore::set(GrDrawState* drawState, argument 392 if (NULL == drawState || preconcatMatrix.isIdentity()) { 395 fDrawState = drawState; 397 fViewMatrix = drawState 405 setIdentity(GrDrawState* drawState) argument [all...] |
H A D | GrSWMaskHelper.cpp | 342 GrDrawState* drawState = target->drawState(); local 345 if (!avmr.setIdentity(drawState)) { 348 GrDrawState::AutoRestoreEffects are(drawState); 362 maskMatrix.preConcat(drawState->getViewMatrix()); 364 drawState->addCoverageProcessor(
|
/external/skia/experimental/AndroidPathRenderer/ |
H A D | GrAndroidPathRenderer.cpp | 40 GrDrawState* drawState = target->drawState(); local 47 drawState->setVertexAttribs(attribs, SK_ARRAY_COUNT(attribs)); 48 drawState->setAttribIndex(GrDrawState::kPosition_AttribIndex, 0); 49 drawState->setAttribIndex(GrDrawState::kCoverage_AttribIndex, 1); 50 drawState->setAttribBindings(GrDrawState::kCoverage_AttribBindingsBit); 52 drawState->setDefaultVertexAttribs(); 65 SkASSERT(sizeof(ColorVertex) == drawState->getVertexSize()); 80 size_t vsize = drawState->getVertexSize();
|
/external/skia/gm/ |
H A D | convexpolyeffect.cpp | 129 GrDrawState* drawState = tt.target()->drawState(); variable 130 drawState->setVertexAttribs<kAttribs>(SK_ARRAY_COUNT(kAttribs)); 142 drawState->addCoverageEffect(effect, 1); 143 drawState->setIdentityViewMatrix(); 144 drawState->setRenderTarget(rt); 145 drawState->setColor(0xff000000); 195 GrDrawState* drawState = tt.target()->drawState(); variable 196 drawState [all...] |
H A D | texturedomaineffect.cpp | 90 GrDrawState* drawState = tt.target()->drawState(); variable 136 drawState->reset(viewMatrix); 137 drawState->setRenderTarget(rt); 138 drawState->setColor(0xffffffff); 139 drawState->addColorEffect(effect, 1);
|
H A D | rrects.cpp | 115 GrDrawState* drawState = tt.target()->drawState(); variable 122 drawState->addCoverageEffect(effect); 123 drawState->setIdentityViewMatrix(); 124 drawState->setRenderTarget(rt); 125 drawState->setColor(0xff000000);
|
H A D | beziereffects.cpp | 170 GrDrawState* drawState = tt.target()->drawState(); variable 171 drawState->setVertexAttribs<kAttribs>(2); 173 drawState->addCoverageEffect(effect, 1); 174 drawState->setRenderTarget(rt); 175 drawState->setColor(0xff000000); 325 GrDrawState* drawState = tt.target()->drawState(); variable 326 drawState->setVertexAttribs<kAttribs>(2); 328 drawState 509 GrDrawState* drawState = tt.target()->drawState(); variable [all...] |
/external/chromium_org/third_party/skia/src/gpu/gl/builders/ |
H A D | GrGLVertexShaderBuilder.cpp | 86 // order. This assumes that the drawState has not changed since we called flushGraphicsState() 89 const GrDrawState& drawState = *fProgramBuilder->gpu()->drawState(); local 90 SkAutoTUnref<GrOptDrawState> optState(drawState.createOptState(*caps));
|
/external/skia/src/gpu/gl/ |
H A D | GrGLProgram.cpp | 101 const GrDrawState& drawState = fGpu->getDrawState(); local 110 coverage = drawState.getCoverageColor(); 112 color = drawState.getColor(); 113 coverage = drawState.getCoverageColor(); 116 this->setColor(drawState, color, sharedState); 117 this->setCoverage(drawState, coverage, sharedState); 118 this->setMatrixAndRenderTargetHeight(drawState); 153 void GrGLProgram::setColor(const GrDrawState& drawState, argument 157 if (!drawState.hasColorVertexAttribute()) { 193 void GrGLProgram::setCoverage(const GrDrawState& drawState, argument 232 setMatrixAndRenderTargetHeight(const GrDrawState& drawState) argument [all...] |