Home
last modified time | relevance | path

Searched refs:getDrawState (Results 1 – 25 of 36) sorted by relevance

12

/external/skia/src/gpu/gl/
DGrGpuGL_program.cpp212 const GrDrawState& drawState = this->getDrawState(); in flushGraphicsState()
218 const GrRenderTarget* rt = this->getDrawState().getRenderTarget(); in flushGraphicsState()
235 GrGLProgramDesc::Build(this->getDrawState(), in flushGraphicsState()
292 GrGLsizei stride = static_cast<GrGLsizei>(this->getDrawState().getVertexSize()); in setupGeometry()
346 int posIdx = this->getDrawState().positionAttributeIndex(); in setupGeometry()
347 const GrVertexAttrib* vertexArray = this->getDrawState().getVertexAttribs() + posIdx; in setupGeometry()
361 const GrVertexAttrib* vertexAttrib = this->getDrawState().getVertexAttribs(); in setupGeometry()
362 int vertexAttribCount = this->getDrawState().getVertexAttribCount(); in setupGeometry()
DGrGpuGL.cpp1228 const GrDrawState& drawState = this->getDrawState(); in flushScissor()
1263 const GrDrawState& drawState = this->getDrawState(); in onClear()
1307 if (NULL == this->getDrawState().getRenderTarget()) { in clearStencil()
1324 const GrDrawState& drawState = this->getDrawState(); in clearStencilClip()
1870 const GrRenderTarget* rt = this->getDrawState().getRenderTarget(); in flushAAState()
1901 this->getDrawState().isHWAntialiasState(); in flushAAState()
1971 GrColor blendConst = this->getDrawState().getBlendConstant(); in flushBlend()
2220 const GrDrawState& drawState = this->getDrawState(); in flushMiscFixedFunctionState()
2248 switch (this->getDrawState().getDrawFace()) { in flushMiscFixedFunctionState()
DGrGLProgram.cpp199 const GrDrawState& drawState = fGpu->getDrawState(); in setData()
/external/chromium_org/third_party/skia/src/gpu/gl/
DGrGpuGL_program.cpp212 const GrDrawState& drawState = this->getDrawState(); in flushGraphicsState()
218 const GrRenderTarget* rt = this->getDrawState().getRenderTarget(); in flushGraphicsState()
235 GrGLProgramDesc::Build(this->getDrawState(), in flushGraphicsState()
292 GrGLsizei stride = static_cast<GrGLsizei>(this->getDrawState().getVertexSize()); in setupGeometry()
346 int posIdx = this->getDrawState().positionAttributeIndex(); in setupGeometry()
347 const GrVertexAttrib* vertexArray = this->getDrawState().getVertexAttribs() + posIdx; in setupGeometry()
361 const GrVertexAttrib* vertexAttrib = this->getDrawState().getVertexAttribs(); in setupGeometry()
362 int vertexAttribCount = this->getDrawState().getVertexAttribCount(); in setupGeometry()
DGrGpuGL.cpp1228 const GrDrawState& drawState = this->getDrawState(); in flushScissor()
1263 const GrDrawState& drawState = this->getDrawState(); in onClear()
1307 if (NULL == this->getDrawState().getRenderTarget()) { in clearStencil()
1324 const GrDrawState& drawState = this->getDrawState(); in clearStencilClip()
1870 const GrRenderTarget* rt = this->getDrawState().getRenderTarget(); in flushAAState()
1901 this->getDrawState().isHWAntialiasState(); in flushAAState()
1971 GrColor blendConst = this->getDrawState().getBlendConstant(); in flushBlend()
2220 const GrDrawState& drawState = this->getDrawState(); in flushMiscFixedFunctionState()
2248 switch (this->getDrawState().getDrawFace()) { in flushMiscFixedFunctionState()
/external/skia/src/gpu/
DGrInOrderDrawBuffer.cpp203 if (!this->getDrawState().isClipState()) { in quickInsideClip()
209 … this->getClip()->getConservativeBounds(this->getDrawState().getRenderTarget(), &rect, &iior); in quickInsideClip()
224 if (fClipProxy.fRight >= this->getDrawState().getRenderTarget()->width()) { in quickInsideClip()
227 if (fClipProxy.fBottom >= this->getDrawState().getRenderTarget()->height()) { in quickInsideClip()
248 const GrDrawState& drawState = this->getDrawState(); in concatInstancedDraw()
318 const GrDrawState& drawState = this->getDrawState(); in onDraw()
651 size_t vertexSize = this->getDrawState().getVertexSize(); in geometryHints()
804 return fStates.empty() || !fStates.back().isEqual(this->getDrawState()); in needsNewState()
809 if (this->getDrawState().isClipState()) { in needsNewClip()
828 fStates.push_back().saveFrom(this->getDrawState()); in recordState()
DGrStencilAndCoverPathRenderer.cpp43 NULL != target->getDrawState().getRenderTarget()->getStencilBuffer() && in canDrawPath()
44 target->getDrawState().getStencil().isDisabled(); in canDrawPath()
DGrDefaultPathRenderer.cpp333 SkMatrix viewM = target->getDrawState().getViewMatrix(); in internalDrawPath()
337 if (IsStrokeHairlineOrEquivalent(*stroke, target->getDrawState().getViewMatrix(), in internalDrawPath()
340 target->getDrawState().getCoverage()); in internalDrawPath()
520 IsStrokeHairlineOrEquivalent(stroke, target->getDrawState().getViewMatrix(), NULL)); in canDrawPath()
DGrDrawTarget.cpp350 const GrDrawState& drawState = this->getDrawState(); in checkDraw()
416 if (this->caps()->dstReadInShaderSupport() || !this->getDrawState().willEffectReadDstColor()) { in setupDstReadIfNecessary()
530 const GrDrawState* drawState = &getDrawState(); in drawPath()
557 !this->getDrawState().isHWAntialiasState()) { in willUseHWAALines()
560 GrDrawState::BlendOptFlags opts = this->getDrawState().getBlendOpts(); in willUseHWAALines()
569 GrDrawState::kNone_BlendOpt != this->getDrawState().getBlendOpts(true); in canApplyCoverage()
672 if (this->getDrawState().willEffectReadDstColor()) { in onDrawRect()
674 this->getDrawState().getViewMatrix().mapRect(bounds.get(), rect); in onDrawRect()
DGrAAHairLinePathRenderer.cpp791 SkASSERT(sizeof(BezierVertex) == target->getDrawState().getVertexSize()); in createBezierGeom()
847 target->getDrawState().getViewMatrix(), in canDrawPath()
904 target->getDrawState().getViewMatrix(), in onDrawPath()
907 target->getDrawState().getCoverage()); in onDrawPath()
945 if (target->getDrawState().getViewMatrix().hasPerspective()) { in onDrawPath()
995 if (target->getDrawState().getViewMatrix().hasPerspective()) { in onDrawPath()
DGrAARectRenderer.cpp552 innerColor = target->getDrawState().getColor(); in geometryFillAARect()
554 innerColor = SkAlphaMulQ(target->getDrawState().getColor(), scale); in geometryFillAARect()
890 innerColor = target->getDrawState().getColor(); in geometryStrokeAARect()
892 innerColor = SkAlphaMulQ(target->getDrawState().getColor(), scale); in geometryStrokeAARect()
DGrSoftwarePathRenderer.cpp50 const GrRenderTarget* rt = target->getDrawState().getRenderTarget(); in get_path_and_clip_bounds()
DGrContext.cpp715 if (!target->getDrawState().canTweakAlphaForCoverage()) { in apply_aa_to_rect()
725 const GrDrawState& drawState = target->getDrawState(); in apply_aa_to_rect()
783 target->getDrawState().getRenderTarget()->getBoundsRect(&rtRect); in drawRect()
817 !target->getDrawState().getRenderTarget()->isMultisampled(); in drawRect()
1043 const GrDrawState& drawState = target->getDrawState(); in is_nested_rects()
1052 if (!target->getDrawState().canTweakAlphaForCoverage()) { in is_nested_rects()
1145 !target->getDrawState().getRenderTarget()->isMultisampled() && in internalDrawPath()
DGrBitmapTextContext.cpp254 SkASSERT(2*sizeof(GrPoint) == fDrawTarget->getDrawState().getVertexSize()); in drawPackedGlyph()
DGrDistanceFieldTextContext.cpp246 SkASSERT(2*sizeof(GrPoint) == fDrawTarget->getDrawState().getVertexSize()); in drawPackedGlyph()
/external/chromium_org/third_party/skia/src/gpu/
DGrInOrderDrawBuffer.cpp203 if (!this->getDrawState().isClipState()) { in quickInsideClip()
209 … this->getClip()->getConservativeBounds(this->getDrawState().getRenderTarget(), &rect, &iior); in quickInsideClip()
224 if (fClipProxy.fRight >= this->getDrawState().getRenderTarget()->width()) { in quickInsideClip()
227 if (fClipProxy.fBottom >= this->getDrawState().getRenderTarget()->height()) { in quickInsideClip()
248 const GrDrawState& drawState = this->getDrawState(); in concatInstancedDraw()
318 const GrDrawState& drawState = this->getDrawState(); in onDraw()
651 size_t vertexSize = this->getDrawState().getVertexSize(); in geometryHints()
804 return fStates.empty() || !fStates.back().isEqual(this->getDrawState()); in needsNewState()
809 if (this->getDrawState().isClipState()) { in needsNewClip()
828 fStates.push_back().saveFrom(this->getDrawState()); in recordState()
DGrStencilAndCoverPathRenderer.cpp43 NULL != target->getDrawState().getRenderTarget()->getStencilBuffer() && in canDrawPath()
44 target->getDrawState().getStencil().isDisabled(); in canDrawPath()
DGrDefaultPathRenderer.cpp333 SkMatrix viewM = target->getDrawState().getViewMatrix(); in internalDrawPath()
337 if (IsStrokeHairlineOrEquivalent(*stroke, target->getDrawState().getViewMatrix(), in internalDrawPath()
340 target->getDrawState().getCoverage()); in internalDrawPath()
520 IsStrokeHairlineOrEquivalent(stroke, target->getDrawState().getViewMatrix(), NULL)); in canDrawPath()
DGrDrawTarget.cpp350 const GrDrawState& drawState = this->getDrawState(); in checkDraw()
416 if (this->caps()->dstReadInShaderSupport() || !this->getDrawState().willEffectReadDstColor()) { in setupDstReadIfNecessary()
530 const GrDrawState* drawState = &getDrawState(); in drawPath()
557 !this->getDrawState().isHWAntialiasState()) { in willUseHWAALines()
560 GrDrawState::BlendOptFlags opts = this->getDrawState().getBlendOpts(); in willUseHWAALines()
569 GrDrawState::kNone_BlendOpt != this->getDrawState().getBlendOpts(true); in canApplyCoverage()
672 if (this->getDrawState().willEffectReadDstColor()) { in onDrawRect()
674 this->getDrawState().getViewMatrix().mapRect(bounds.get(), rect); in onDrawRect()
DGrAAHairLinePathRenderer.cpp791 SkASSERT(sizeof(BezierVertex) == target->getDrawState().getVertexSize()); in createBezierGeom()
847 target->getDrawState().getViewMatrix(), in canDrawPath()
904 target->getDrawState().getViewMatrix(), in onDrawPath()
907 target->getDrawState().getCoverage()); in onDrawPath()
945 if (target->getDrawState().getViewMatrix().hasPerspective()) { in onDrawPath()
995 if (target->getDrawState().getViewMatrix().hasPerspective()) { in onDrawPath()
DGrAARectRenderer.cpp552 innerColor = target->getDrawState().getColor(); in geometryFillAARect()
554 innerColor = SkAlphaMulQ(target->getDrawState().getColor(), scale); in geometryFillAARect()
890 innerColor = target->getDrawState().getColor(); in geometryStrokeAARect()
892 innerColor = SkAlphaMulQ(target->getDrawState().getColor(), scale); in geometryStrokeAARect()
DGrSoftwarePathRenderer.cpp50 const GrRenderTarget* rt = target->getDrawState().getRenderTarget(); in get_path_and_clip_bounds()
DGrContext.cpp715 if (!target->getDrawState().canTweakAlphaForCoverage()) { in apply_aa_to_rect()
725 const GrDrawState& drawState = target->getDrawState(); in apply_aa_to_rect()
783 target->getDrawState().getRenderTarget()->getBoundsRect(&rtRect); in drawRect()
817 !target->getDrawState().getRenderTarget()->isMultisampled(); in drawRect()
1043 const GrDrawState& drawState = target->getDrawState(); in is_nested_rects()
1052 if (!target->getDrawState().canTweakAlphaForCoverage()) { in is_nested_rects()
1145 !target->getDrawState().getRenderTarget()->isMultisampled() && in internalDrawPath()
DGrBitmapTextContext.cpp254 SkASSERT(2*sizeof(GrPoint) == fDrawTarget->getDrawState().getVertexSize()); in drawPackedGlyph()
DGrDistanceFieldTextContext.cpp246 SkASSERT(2*sizeof(GrPoint) == fDrawTarget->getDrawState().getVertexSize()); in drawPackedGlyph()

12