Home
last modified time | relevance | path

Searched refs:shapeData (Results 1 – 5 of 5) sorted by relevance

/external/skia/src/gpu/ops/
DGrSmallPathAtlasMgr.cpp27 GrSmallPathShapeData* shapeData; in reset() local
28 while ((shapeData = iter.get())) { in reset()
30 delete shapeData; in reset()
65 void GrSmallPathAtlasMgr::deleteCacheEntry(GrSmallPathShapeData* shapeData) { in deleteCacheEntry() argument
66 fShapeCache.remove(shapeData->fKey); in deleteCacheEntry()
67 fShapeList.remove(shapeData); in deleteCacheEntry()
68 delete shapeData; in deleteCacheEntry()
72 auto shapeData = fShapeCache.find(key); in findOrCreate() local
73 if (!shapeData) { in findOrCreate()
75 shapeData = new GrSmallPathShapeData(key); in findOrCreate()
[all …]
DGrSmallPathRenderer.cpp273 GrSmallPathShapeData* shapeData; in onPrepareDraws() local
324 shapeData = atlasMgr->findOrCreate(args.fShape, ceilDesiredDimension); in onPrepareDraws()
325 if (!shapeData->fAtlasLocator.plotLocator().isValid()) { in onPrepareDraws()
331 shapeData, in onPrepareDraws()
335 atlasMgr->deleteCacheEntry(shapeData); in onPrepareDraws()
341 shapeData = atlasMgr->findOrCreate(args.fShape, args.fViewMatrix); in onPrepareDraws()
342 if (!shapeData->fAtlasLocator.plotLocator().isValid()) { in onPrepareDraws()
346 shapeData, in onPrepareDraws()
349 atlasMgr->deleteCacheEntry(shapeData); in onPrepareDraws()
356 atlasMgr->setUseToken(shapeData, uploadTarget->tokenTracker()->nextDrawToken()); in onPrepareDraws()
[all …]
/external/skqp/src/gpu/ops/
DGrSmallPathRenderer.cpp144 ShapeData* shapeData; in HandleEviction() local
145 while ((shapeData = iter.get())) { in HandleEviction()
147 if (id == shapeData->fID) { in HandleEviction()
148 dfpr->fShapeCache.remove(shapeData->fKey); in HandleEviction()
149 dfpr->fShapeList.remove(shapeData); in HandleEviction()
150 delete shapeData; in HandleEviction()
164 ShapeData* shapeData; in ~GrSmallPathRenderer() local
165 while ((shapeData = iter.get())) { in ~GrSmallPathRenderer()
167 delete shapeData; in ~GrSmallPathRenderer()
393 ShapeData* shapeData; in onPrepareDraws() local
[all …]
/external/lottie/lottie/src/main/java/com/airbnb/lottie/utils/
DMiscUtils.java21 public static void getPathFromData(ShapeData shapeData, Path outPath) { in getPathFromData() argument
23 PointF initialPoint = shapeData.getInitialPoint(); in getPathFromData()
26 for (int i = 0; i < shapeData.getCurves().size(); i++) { in getPathFromData()
27 CubicCurveData curveData = shapeData.getCurves().get(i); in getPathFromData()
45 if (shapeData.isClosed()) { in getPathFromData()
/external/llvm-project/flang/unittests/Evaluate/
Dreshape.cpp29 static const std::int16_t shapeData[]{8, 4}; in main() local
32 static_cast<int>(sizeof shapeData[0]), in main()
33 const_cast<void *>(reinterpret_cast<const void *>(shapeData)), 1, in main()