Home
last modified time | relevance | path

Searched refs:fCoverageMode (Results 1 – 3 of 3) sorted by relevance

/external/skia/samplecode/
DSampleDegenerateQuads.cpp240 , fCoverageMode(CoverageMode::kArea) { in DegenerateQuadSample()
301 if (fCoverageMode == CoverageMode::kArea) { in onDrawContent()
303 } else if (fCoverageMode == CoverageMode::kEdgeDistance) { in onDrawContent()
307 SkASSERT(fCoverageMode == CoverageMode::kGPUMesh); in onDrawContent()
328 if (fCoverageMode == CoverageMode::kEdgeDistance) { in onDrawContent()
345 if (fCoverageMode == CoverageMode::kGPUMesh) { in onDrawContent()
399 CoverageMode fCoverageMode; member in DegenerateQuadSample
514 fCoverageMode = CoverageMode::kArea; in onChar()
517 fCoverageMode = CoverageMode::kEdgeDistance; in onChar()
520 fCoverageMode = CoverageMode::kGPUMesh; in onChar()
/external/skia/src/gpu/ops/
DGrQuadPerEdgeAA.cpp587 SkASSERT(!fGeomSubset.isInitialized() || fCoverageMode == CoverageMode::kWithPosition); in getGLSLProcessorKey()
588 if (fCoverageMode != CoverageMode::kNone) { in getGLSLProcessorKey()
591 : (CoverageMode::kWithPosition == fCoverageMode ? 0x1 : 0x2); in getGLSLProcessorKey()
618 if (gp.fCoverageMode == CoverageMode::kWithPosition) { in createGLSLInstance()
645 SkASSERT(gp.fCoverageMode != CoverageMode::kWithColor || !gp.fNeedsPerspective); in createGLSLInstance()
649 gp.fCoverageMode == CoverageMode::kWithColor ? in createGLSLInstance()
701 if (gp.fCoverageMode == CoverageMode::kWithPosition) { in createGLSLInstance()
789 fCoverageMode = spec.coverageMode(); in initializeAttrs()
791 if (fCoverageMode == CoverageMode::kWithPosition) { in initializeAttrs()
844 CoverageMode fCoverageMode; member in GrQuadPerEdgeAA::QuadPerEdgeAAGeometryProcessor
/external/skqp/src/gpu/ops/
DGrQuadPerEdgeAA.cpp543 if (fCoverageMode != CoverageMode::kNone) { in getGLSLProcessorKey()
544 x |= CoverageMode::kWithPosition == fCoverageMode ? 128 : 256; in getGLSLProcessorKey()
573 if (gp.fCoverageMode == CoverageMode::kWithPosition) { in createGLSLInstance()
608 gp.fCoverageMode == CoverageMode::kWithColor ? in createGLSLInstance()
651 if (gp.fCoverageMode == CoverageMode::kWithPosition) { in createGLSLInstance()
699 fCoverageMode = get_mode_for_spec(spec); in initializeAttrs()
701 if (fCoverageMode == CoverageMode::kWithPosition) { in initializeAttrs()
745 CoverageMode fCoverageMode; member in GrQuadPerEdgeAA::QuadPerEdgeAAGeometryProcessor