Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrDrawTarget.cpp477 GeometrySrcState& geoSrc = fGeoSrcStateStack.push_back(); in GrDrawTarget() local
479 geoSrc.fVertexCount = DEBUG_INVAL_START_IDX; in GrDrawTarget()
480 geoSrc.fVertexBuffer = (GrVertexBuffer*)DEBUG_INVAL_BUFFER; in GrDrawTarget()
481 geoSrc.fIndexCount = DEBUG_INVAL_START_IDX; in GrDrawTarget()
482 geoSrc.fIndexBuffer = (GrIndexBuffer*)DEBUG_INVAL_BUFFER; in GrDrawTarget()
484 geoSrc.fVertexSrc = kNone_GeometrySrcType; in GrDrawTarget()
485 geoSrc.fIndexSrc = kNone_GeometrySrcType; in GrDrawTarget()
490 GeometrySrcState& geoSrc = fGeoSrcStateStack.back(); in ~GrDrawTarget() local
491 GrAssert(kNone_GeometrySrcType == geoSrc.fIndexSrc); in ~GrDrawTarget()
492 GrAssert(kNone_GeometrySrcType == geoSrc.fVertexSrc); in ~GrDrawTarget()
[all …]
DGrGpu.cpp747 const GeometrySrcState& geoSrc = this->getGeomSrc(); in geometrySourceWillPush() local
748 if (kArray_GeometrySrcType == geoSrc.fVertexSrc || in geometrySourceWillPush()
749 kReserved_GeometrySrcType == geoSrc.fVertexSrc) { in geometrySourceWillPush()
752 if (kArray_GeometrySrcType == geoSrc.fIndexSrc || in geometrySourceWillPush()
753 kReserved_GeometrySrcType == geoSrc.fIndexSrc) { in geometrySourceWillPush()
892 const GeometrySrcState& geoSrc = this->getGeomSrc(); in releaseReservedVertexSpace() local
893 GrAssert(kReserved_GeometrySrcType == geoSrc.fVertexSrc); in releaseReservedVertexSpace()
894 size_t bytes = geoSrc.fVertexCount * VertexSize(geoSrc.fVertexLayout); in releaseReservedVertexSpace()
900 const GeometrySrcState& geoSrc = this->getGeomSrc(); in releaseReservedIndexSpace() local
901 GrAssert(kReserved_GeometrySrcType == geoSrc.fIndexSrc); in releaseReservedIndexSpace()
[all …]
DGrInOrderDrawBuffer.cpp480 const GeometrySrcState& geoSrc = this->getGeomSrc(); in releaseReservedVertexSpace() local
482 GrAssert(kReserved_GeometrySrcType == geoSrc.fVertexSrc); in releaseReservedVertexSpace()
484 size_t reservedVertexBytes = VertexSize(geoSrc.fVertexLayout) * in releaseReservedVertexSpace()
485 geoSrc.fVertexCount; in releaseReservedVertexSpace()
494 const GeometrySrcState& geoSrc = this->getGeomSrc(); in releaseReservedIndexSpace() local
496 GrAssert(kReserved_GeometrySrcType == geoSrc.fIndexSrc); in releaseReservedIndexSpace()
498 size_t reservedIndexBytes = sizeof(uint16_t) * geoSrc.fIndexCount; in releaseReservedIndexSpace()
548 const GeometrySrcState& geoSrc = this->getGeomSrc(); in releaseVertexArray() local
550 size_t reservedVertexBytes = VertexSize(geoSrc.fVertexLayout) * in releaseVertexArray()
551 geoSrc.fVertexCount; in releaseVertexArray()
[all …]