Lines Matching refs:ShapeDataKey
51 class ShapeDataKey { class
53 ShapeDataKey() {} in ShapeDataKey() function in ShapeDataKey
54 ShapeDataKey(const ShapeDataKey& that) { *this = that; } in ShapeDataKey() function in ShapeDataKey
55 ShapeDataKey(const GrShape& shape, uint32_t dim) { this->set(shape, dim); } in ShapeDataKey() function in ShapeDataKey
56 ShapeDataKey(const GrShape& shape, const SkMatrix& ctm) { this->set(shape, ctm); } in ShapeDataKey() function in ShapeDataKey
58 ShapeDataKey& operator=(const ShapeDataKey& that) { in operator =()
104 bool operator==(const ShapeDataKey& that) const { in operator ==()
121 ShapeDataKey fKey;
127 static inline const ShapeDataKey& GetKey(const ShapeData& data) { in GetKey()
131 static inline uint32_t Hash(const ShapeDataKey& key) { in Hash()
229 using ShapeCache = SkTDynamicHash<ShapeData, ShapeDataKey>;
440 ShapeDataKey key(args.fShape, SkScalarCeilToInt(desiredDimension)); in onPrepareDraws()
465 ShapeDataKey key(args.fShape, args.fViewMatrix); in onPrepareDraws()