Home
last modified time | relevance | path

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

/external/skia/src/gpu/batches/
DGrDrawPathBatch.h102 struct InstanceData : public SkNoncopyable { struct
104 static InstanceData* Alloc(TransformType transformType, int reserveCnt) { in Alloc() argument
106 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() argument
150 InstanceData() {} in InstanceData() function
151 ~InstanceData() {} in ~InstanceData() argument
164 GrPathRange* range, const InstanceData* instanceData, in Create() argument
[all …]
DGrDrawPathBatch.cpp46 const InstanceData* instanceData, const SkRect& bounds) in GrDrawPathRangeBatch()
132 const InstanceData& instances = *head.fInstanceData; in onDraw()
145 const InstanceData& instances = *draw.fInstanceData; in onDraw()
/external/skia/src/gpu/text/
DGrStencilAndCoverTextContext.h91 typedef GrDrawPathRangeBatch::InstanceData InstanceData; typedef
104 SkAutoTUnref<InstanceData> fInstanceData;
DGrStencilAndCoverTextContext.cpp446 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()