Home
last modified time | relevance | path

Searched refs:shaderCaps (Results 1 – 25 of 31) sorted by relevance

12

/external/skia/src/gpu/text/
DGrAtlasTextContext.cpp30 const GrShaderCaps& shaderCaps) { in canDraw() argument
31 return GrTextUtils::CanDrawAsDistanceFields(skPaint, viewMatrix, props, shaderCaps) || in canDraw()
127 *context->caps()->shaderCaps(), skPaint, grPaint.getColor(), in drawTextBlob()
140 *context->caps()->shaderCaps(), skPaint, in drawTextBlob()
153 *context->caps()->shaderCaps(), skPaint, grPaint.getColor(), in drawTextBlob()
164 const GrShaderCaps& shaderCaps, in RegenerateTextBlob() argument
193 if (GrTextUtils::CanDrawAsDistanceFields(runPaint, viewMatrix, props, shaderCaps)) { in RegenerateTextBlob()
254 const GrShaderCaps& shaderCaps, in CreateDrawTextBlob() argument
266 if (GrTextUtils::CanDrawAsDistanceFields(skPaint, viewMatrix, props, shaderCaps)) { in CreateDrawTextBlob()
279 const GrShaderCaps& shaderCaps, const GrPaint& paint, in CreateDrawPosTextBlob() argument
[all …]
DGrStencilAndCoverTextContext.cpp91 *context->caps()->shaderCaps())) { in drawText()
124 *context->caps()->shaderCaps())) { in drawPosText()
/external/skia/src/gpu/effects/
DGrBezierEffect.h70 if (!caps.shaderCaps()->shaderDerivativeSupport()) {
76 if (!caps.shaderCaps()->shaderDerivativeSupport()) {
150 if (!caps.shaderCaps()->shaderDerivativeSupport()) {
156 if (!caps.shaderCaps()->shaderDerivativeSupport()) {
229 if (!caps.shaderCaps()->shaderDerivativeSupport()) { in Create()
234 if (!caps.shaderCaps()->shaderDerivativeSupport()) { in Create()
DGrPorterDuffXferProcessor.cpp749 !caps.shaderCaps()->dualSourceBlendingSupport() && in onCreateXferProcessor()
750 !caps.shaderCaps()->dstReadInShaderSupport()) { in onCreateXferProcessor()
762 if (blendFormula.hasSecondaryOutput() && !caps.shaderCaps()->dualSourceBlendingSupport()) { in onCreateXferProcessor()
804 if (caps.shaderCaps()->dualSourceBlendingSupport()) { in onWillReadDstColor()
814 !caps.shaderCaps()->dstReadInShaderSupport()) { in onWillReadDstColor()
877 !caps.shaderCaps()->dualSourceBlendingSupport() && in CreateSrcOverXferProcessor()
878 !caps.shaderCaps()->dstReadInShaderSupport()) { in CreateSrcOverXferProcessor()
891 if (blendFormula.hasSecondaryOutput() && !caps.shaderCaps()->dualSourceBlendingSupport()) { in CreateSrcOverXferProcessor()
902 if (caps.shaderCaps()->dstReadInShaderSupport() || in SrcOverWillNeedDstTexture()
903 caps.shaderCaps()->dualSourceBlendingSupport()) { in SrcOverWillNeedDstTexture()
[all …]
/external/skia/src/gpu/
DGrOvalRenderer.h29 GrShaderCaps* shaderCaps);
34 GrShaderCaps* shaderCaps);
DGrXferProcessor.cpp201 if (!caps.shaderCaps()->dstReadInShaderSupport()) { in createXferProcessor()
209 SkASSERT(!hasMixedSamples || caps.shaderCaps()->dualSourceBlendingSupport()); in createXferProcessor()
218 !caps.shaderCaps()->dstReadInShaderSupport()); in willNeedDstTexture()
DGrDrawContext.cpp498 GrShaderCaps* shaderCaps = fContext->caps()->shaderCaps(); in drawRRect() local
504 shaderCaps)); in drawRRect()
542 GrShaderCaps* shaderCaps = fContext->caps()->shaderCaps(); in drawOval() local
547 shaderCaps)); in drawOval()
702 GrShaderCaps* shaderCaps = fContext->caps()->shaderCaps(); in drawPath() local
707 shaderCaps)); in drawPath()
746 canDrawArgs.fShaderCaps = fDrawingManager->getContext()->caps()->shaderCaps(); in internalDrawPath()
DGrCoordTransform.cpp30 const GrShaderCaps* caps = texture->getContext()->caps()->shaderCaps(); in reset()
DGrPathRendererChain.cpp40 if (caps.shaderCaps()->plsPathRenderingSupport()) { in GrPathRendererChain()
DGrContextFactory.cpp143 if (!grCtx->caps()->shaderCaps()->pathRenderingSupport()) { in getContextInfo()
DGrDrawingManager.cpp174 if (useDIF && fContext->caps()->shaderCaps()->pathRenderingSupport() && in drawContext()
DGrPathRenderer.h153 canArgs.fShaderCaps = args.fTarget->caps()->shaderCaps(); in drawPath()
DGrDrawTarget.cpp291 SkASSERT(this->caps()->shaderCaps()->pathRenderingSupport()); in stencilPath()
327 SkASSERT(this->caps()->shaderCaps()->pathRenderingSupport()); in drawPathBatch()
DGrClipMaskManager.cpp103 canDrawArgs.fShaderCaps = context->caps()->shaderCaps(); in PathNeedsSWRenderer()
551 canDrawArgs.fShaderCaps = this->getContext()->caps()->shaderCaps(); in drawElement()
805 canDrawArgs.fShaderCaps = this->getContext()->caps()->shaderCaps(); in createStencilClipMask()
/external/skia/tests/
DGrContextFactoryTest.cpp30 context->caps()->shaderCaps()->pathRenderingSupport());
44 !context->caps()->shaderCaps()->pathRenderingSupport());
DGrDrawTargetTest.cpp20 SkString shaderResult = context->caps()->shaderCaps()->dump(); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
DSRGBReadWritePixelsTest.cpp171 float error = context->caps()->shaderCaps()->floatPrecisionVaries() ? 1.2f : 0.5f; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
178 float smallError = context->caps()->shaderCaps()->floatPrecisionVaries() ? 1.f : in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/src/gpu/gl/
DGrGLVaryingHandler.cpp21 SkASSERT(glPB->gpu()->glCaps().shaderCaps()->pathRenderingSupport() && in addPathProcessingVarying()
DGrGLPathRendering.cpp101 SkASSERT(gpu->caps()->shaderCaps()->pathRenderingSupport()); in onStencilPath()
221 SkASSERT(this->gpu()->glCaps().shaderCaps()->pathRenderingSupport()); in setProjectionMatrix()
DGrGLVertexArray.cpp68 SkASSERT(gpu->caps()->shaderCaps()->integerSupport()); in set()
DGrGLProgram.cpp142 SkASSERT(fGpu->glCaps().shaderCaps()->pathRenderingSupport()); in setRenderTargetState()
DGrGLProgramDataManager.cpp51 SkASSERT(fGpu->glCaps().shaderCaps()->pathRenderingSupport()); in GrGLProgramDataManager()
269 SkASSERT(fGpu->glCaps().shaderCaps()->pathRenderingSupport()); in setPathFragmentInputTransform()
/external/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.cpp193 if (!fGpu->glCaps().shaderCaps()->pathRenderingSupport() || in bindProgramResourceLocations()
233 if (!fGpu->glCaps().shaderCaps()->pathRenderingSupport() || in resolveProgramResourceLocations()
/external/skia/include/gpu/
DGrCaps.h134 GrShaderCaps* shaderCaps() const { return fShaderCaps; } in shaderCaps() function
/external/skia/src/gpu/batches/
DGrStencilAndCoverPathRenderer.cpp23 if (caps.shaderCaps()->pathRenderingSupport()) { in Create()

12