Home
last modified time | relevance | path

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

/external/skia/src/gpu/ganesh/ops/
DSmallPathAtlasMgr.cpp41 SmallPathShapeData* shapeData; in reset() local
42 while ((shapeData = iter.get())) { in reset()
44 delete shapeData; in reset()
84 void SmallPathAtlasMgr::deleteCacheEntry(SmallPathShapeData* shapeData) { in deleteCacheEntry() argument
85 fShapeCache.remove(shapeData->fKey); in deleteCacheEntry()
86 fShapeList.remove(shapeData); in deleteCacheEntry()
87 delete shapeData; in deleteCacheEntry()
91 auto shapeData = fShapeCache.find(key); in findOrCreate() local
92 if (!shapeData) { in findOrCreate()
94 shapeData = new SmallPathShapeData(key); in findOrCreate()
[all …]
DSmallPathRenderer.cpp276 skgpu::ganesh::SmallPathShapeData* shapeData; in onPrepareDraws() local
327 shapeData = atlasMgr->findOrCreate(args.fShape, ceilDesiredDimension); in onPrepareDraws()
328 if (!shapeData->fAtlasLocator.plotLocator().isValid()) { in onPrepareDraws()
334 shapeData, in onPrepareDraws()
338 atlasMgr->deleteCacheEntry(shapeData); in onPrepareDraws()
344 shapeData = atlasMgr->findOrCreate(args.fShape, args.fViewMatrix); in onPrepareDraws()
345 if (!shapeData->fAtlasLocator.plotLocator().isValid()) { in onPrepareDraws()
349 shapeData, in onPrepareDraws()
352 atlasMgr->deleteCacheEntry(shapeData); in onPrepareDraws()
359 atlasMgr->setUseToken(shapeData, uploadTarget->tokenTracker()->nextDrawToken()); in onPrepareDraws()
[all …]
/external/skia/src/gpu/graphite/geom/
DAnalyticBlurMask.cpp167 const Rect shapeData = Rect(devRect.left() + threeSigma, in MakeRect() local
176 const bool isFast = shapeData.left() <= shapeData.right() && shapeData.top() <= shapeData.bot(); in MakeRect()
189 shapeData, in MakeRect()
285 const Rect shapeData = Rect(devRect.centerX(), in MakeCircle() local
302 shapeData, in MakeCircle()
390 const Rect shapeData = devRRect.rect().makeOutset(blurRadius, blurRadius); in MakeRRect() local
402 shapeData, in MakeRRect()
DAnalyticBlurMask.h56 const Rect& shapeData() const { return fShapeData; } in shapeData() function
65 const Rect& shapeData, in AnalyticBlurMask() argument
70 , fShapeData(shapeData) in AnalyticBlurMask()
/external/lottie/lottie/src/main/java/com/airbnb/lottie/utils/
DMiscUtils.java22 public static void getPathFromData(ShapeData shapeData, Path outPath) { in getPathFromData() argument
24 PointF initialPoint = shapeData.getInitialPoint(); in getPathFromData()
27 for (int i = 0; i < shapeData.getCurves().size(); i++) { in getPathFromData()
28 CubicCurveData curveData = shapeData.getCurves().get(i); in getPathFromData()
46 if (shapeData.isClosed()) { in getPathFromData()
/external/lottie/lottie/src/main/java/com/airbnb/lottie/animation/content/
DRoundedCornersContent.java28 @Nullable private ShapeData shapeData; field in RoundedCornersContent
196 if (shapeData == null || shapeData.getCurves().size() != vertices) { in getShapeData()
201 shapeData = new ShapeData(new PointF(0f, 0f), false, newCurves); in getShapeData()
203 shapeData.setClosed(isClosed); in getShapeData()
204 return shapeData; in getShapeData()
DShapeModifierContent.java6 ShapeData modifyShape(ShapeData shapeData); in modifyShape() argument
/external/armnn/include/armnnTestUtils/
DMemCopyTestImpl.hpp23 const std::array<unsigned int, 4> shapeData = { { 1u, 1u, 6u, 5u } }; in MemCopyTest() local
24 const armnn::TensorShape tensorShape(4, shapeData.data()); in MemCopyTest()
/external/skia/src/gpu/graphite/render/
DAnalyticBlurRenderStep.cpp94 gatherer->write(blur.shapeData().asSkRect()); in writeUniformsAndTextures()
/external/skia/src/sksl/generated/
Dsksl_graphite_frag.unoptimized.sksl468 "(float2 coords,float4 shapeData,half2 blurData,int shapeType,sampler2D s){switch"
469 "(shapeType){case 0:{return $rect_blur_coverage_fn(coords,shapeData,blurData"
470 ".x,blurData.y,s);}case 2:{return $circle_blur_coverage_fn(coords,shapeData,"
471 "s);}case 1:{return $rrect_blur_coverage_fn(coords,shapeData,blurData.x,s);}"
/external/pytorch/aten/src/ATen/native/mps/operations/
DView.mm591 NSData* shapeData = [NSData dataWithBytes:sizeArray.data() length:shape_size * sizeof(int32_t)];
592 MPSGraphTensor* shapeTensor = [mpsGraph constantWithData:shapeData
/external/skia/src/sksl/
Dsksl_graphite_frag.sksl1791 float4 shapeData,
1797 return $rect_blur_coverage_fn(coords, shapeData, blurData.x, blurData.y, s);
1800 return $circle_blur_coverage_fn(coords, shapeData, s);
1803 return $rrect_blur_coverage_fn(coords, shapeData, blurData.x, s);