Lines Matching refs:Description
37 TessellationCache::Description::Description()
49 TessellationCache::Description::Description(Type type, const Matrix4& transform, const SkPaint& paint)
60 bool TessellationCache::Description::operator==(const TessellationCache::Description& rhs) const {
78 hash_t TessellationCache::Description::hash() const {
90 void TessellationCache::Description::setupMatrixAndPaint(Matrix4* matrix, SkPaint* paint) const {
126 TessellationTask(Tessellator tessellator, const Description& description)
128 , description(description) {
134 Description description;
146 VertexBuffer* buffer = t->tessellator(t->description);
295 , mCache(LruCache<Description, Buffer*>::kUnlimitedCapacity)
311 LruCache<Description, Buffer*>::Iterator iter(mCache);
346 void TessellationCache::BufferRemovedListener::operator()(Description& description,
408 const Description& entry, Tessellator tessellator) {
424 static VertexBuffer* tessellatePath(const TessellationCache::Description& description,
428 description.setupMatrixAndPaint(&matrix, &paint);
438 static VertexBuffer* tessellateRoundRect(const TessellationCache::Description& description) {
439 SkRect rect = SkRect::MakeWH(description.shape.roundRect.width,
440 description
441 float rx = description.shape.roundRect.rx;
442 float ry = description.shape.roundRect.ry;
443 if (description.style == SkPaint::kStrokeAndFill_Style) {
444 float outset = description.strokeWidth / 2;
451 return tessellatePath(description, path);
457 Description entry(Description::Type::RoundRect, transform, paint);