Searched refs:geoSrc (Results 1 – 3 of 3) sorted by relevance
477 GeometrySrcState& geoSrc = fGeoSrcStateStack.push_back(); in GrDrawTarget() local479 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() local491 GrAssert(kNone_GeometrySrcType == geoSrc.fIndexSrc); in ~GrDrawTarget()492 GrAssert(kNone_GeometrySrcType == geoSrc.fVertexSrc); in ~GrDrawTarget()[all …]
747 const GeometrySrcState& geoSrc = this->getGeomSrc(); in geometrySourceWillPush() local748 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() local893 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() local901 GrAssert(kReserved_GeometrySrcType == geoSrc.fIndexSrc); in releaseReservedIndexSpace()[all …]
480 const GeometrySrcState& geoSrc = this->getGeomSrc(); in releaseReservedVertexSpace() local482 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() local496 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() local550 size_t reservedVertexBytes = VertexSize(geoSrc.fVertexLayout) * in releaseVertexArray()551 geoSrc.fVertexCount; in releaseVertexArray()[all …]