Searched refs:InstanceData (Results 1 – 4 of 4) sorted by relevance
108 struct InstanceData : private ::SkNoncopyable { struct110 static InstanceData* Alloc(TransformType transformType, int reserveCnt) { in Alloc() argument112 uint8_t* ptr = (uint8_t*)sk_malloc_throw(Align32(sizeof(InstanceData)) + in Alloc()115 InstanceData* instanceData = (InstanceData*)ptr; in Alloc()116 instanceData->fIndices = (uint16_t*)&ptr[Align32(sizeof(InstanceData))]; in Alloc()117 instanceData->fTransformValues = (float*)&ptr[Align32(sizeof(InstanceData)) + in Alloc()149 sk_free(const_cast<InstanceData*>(this)); in unref() argument156 InstanceData() {} in InstanceData() argument157 ~InstanceData() {} in ~InstanceData() argument170 GrPathRange* range, const InstanceData* instanceData, in Make() argument[all …]
96 const InstanceData* instanceData, const SkRect& bounds) in GrDrawPathRangeOp()188 const InstanceData& instances = *head.fInstanceData; in onExecute()205 const InstanceData& instances = *draw.fInstanceData; in onExecute()
89 typedef GrDrawPathRangeOp::InstanceData InstanceData; typedef102 sk_sp<InstanceData> fInstanceData;
443 fInstanceData.reset(InstanceData::Alloc(GrPathRendering::kTranslate_PathTransformType, in setText()505 fInstanceData.reset(InstanceData::Alloc(GrPathRendering::kTranslate_PathTransformType, in setPosText()653 size += sizeof(InstanceData); in computeSizeInCache()