Lines Matching defs:Description
37 TessellationCache::Description::Description()
48 TessellationCache::Description::Description(Type type, const Matrix4& transform, const SkPaint& paint)
58 hash_t TessellationCache::Description::hash() const {
70 void TessellationCache::Description::setupMatrixAndPaint(Matrix4* matrix, SkPaint* paint) const {
100 TessellationTask(Tessellator tessellator, const Description& description)
102 , description(description) {
108 Description description;
120 VertexBuffer* buffer = t->tessellator(t->description);
311 , mCache(LruCache<Description, Buffer*>::kUnlimitedCapacity)
335 LruCache<Description, Buffer*>::Iterator iter(mCache);
377 void TessellationCache::BufferRemovedListener::operator()(Description& description,
423 const Description& entry, Tessellator tessellator) {
439 static VertexBuffer* tessellatePath(const TessellationCache::Description& description,
443 description.setupMatrixAndPaint(&matrix, &paint);
453 Description& description) {
454 SkRect rect = SkRect::MakeWH(description.shape.roundRect.width,
455 description.shape.roundRect.height);
456 float rx = description.shape.roundRect.rx;
457 float ry = description.shape.roundRect.ry;
458 if (description.style == SkPaint::kStrokeAndFill_Style) {
459 float outset = description.strokeWidth / 2;
466 return tessellatePath(description, path);
472 Description entry(Description::kRoundRect, transform, paint);