Home
last modified time | relevance | path

Searched refs:InstanceData (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/gpu/ops/
DGrDrawPathOp.h108 struct InstanceData : private ::SkNoncopyable { struct
110 static InstanceData* Alloc(TransformType transformType, int reserveCnt) { in Alloc() argument
112 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() argument
156 InstanceData() {} in InstanceData() argument
157 ~InstanceData() {} in ~InstanceData() argument
170 GrPathRange* range, const InstanceData* instanceData, in Make() argument
[all …]
DGrDrawPathOp.cpp96 const InstanceData* instanceData, const SkRect& bounds) in GrDrawPathRangeOp()
188 const InstanceData& instances = *head.fInstanceData; in onExecute()
205 const InstanceData& instances = *draw.fInstanceData; in onExecute()
/external/skia/src/gpu/text/
DGrStencilAndCoverTextContext.h89 typedef GrDrawPathRangeOp::InstanceData InstanceData; typedef
102 sk_sp<InstanceData> fInstanceData;
DGrStencilAndCoverTextContext.cpp443 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()