Searched refs:InstanceData (Results 1 – 4 of 4) sorted by relevance
102 struct InstanceData : public SkNoncopyable { struct104 static InstanceData* Alloc(TransformType transformType, int reserveCnt) { in Alloc() argument106 uint8_t* ptr = (uint8_t*)sk_malloc_throw(Align32(sizeof(InstanceData)) + in Alloc()109 InstanceData* instanceData = (InstanceData*)ptr; in Alloc()110 instanceData->fIndices = (uint16_t*)&ptr[Align32(sizeof(InstanceData))]; in Alloc()111 instanceData->fTransformValues = (float*)&ptr[Align32(sizeof(InstanceData)) + in Alloc()143 sk_free(const_cast<InstanceData*>(this)); in unref() argument150 InstanceData() {} in InstanceData() function151 ~InstanceData() {} in ~InstanceData() argument164 GrPathRange* range, const InstanceData* instanceData, in Create() argument[all …]
46 const InstanceData* instanceData, const SkRect& bounds) in GrDrawPathRangeBatch()132 const InstanceData& instances = *head.fInstanceData; in onDraw()145 const InstanceData& instances = *draw.fInstanceData; in onDraw()
91 typedef GrDrawPathRangeBatch::InstanceData InstanceData; typedef104 SkAutoTUnref<InstanceData> fInstanceData;
446 fInstanceData.reset(InstanceData::Alloc(GrPathRendering::kTranslate_PathTransformType, in setText()511 fInstanceData.reset(InstanceData::Alloc(GrPathRendering::kTranslate_PathTransformType, in setPosText()650 size += sizeof(InstanceData); in computeSizeInCache()