Lines Matching refs:TessellationCache

24 #include "TessellationCache.h"
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 {
78 TessellationCache::ShadowDescription::ShadowDescription()
83 TessellationCache::ShadowDescription::ShadowDescription(const void* nodeKey, const Matrix4* drawTransform)
88 hash_t TessellationCache::ShadowDescription::hash() const {
98 class TessellationCache::TessellationTask : public Task<VertexBuffer*> {
111 class TessellationCache::TessellationProcessor : public TaskProcessor<VertexBuffer*> {
125 class TessellationCache::Buffer {
163 class ShadowTask : public Task<TessellationCache::vertexBuffer_pair_t*> {
179 TessellationCache::vertexBuffer_pair_t* bufferPair = getResult();
284 class ShadowProcessor : public TaskProcessor<TessellationCache::vertexBuffer_pair_t*> {
287 : TaskProcessor<TessellationCache::vertexBuffer_pair_t*>(&caches.tasks) {}
290 virtual void onProcess(const sp<Task<TessellationCache::vertexBuffer_pair_t*> >& task) override {
300 t->setResult(new TessellationCache::vertexBuffer_pair_t(ambientBuffer, spotBuffer));
308 TessellationCache::TessellationCache()
326 TessellationCache::~TessellationCache() {
334 uint32_t TessellationCache::getSize() {
343 uint32_t TessellationCache::getMaxSize() {
347 void TessellationCache::setMaxSize(uint32_t maxSize) {
359 void TessellationCache::trim() {
368 void TessellationCache::clear() {
377 void TessellationCache::BufferRemovedListener::operator()(Description& description,
386 void TessellationCache::precacheShadows(const Matrix4* drawTransform, const Rect& localClip,
403 void TessellationCache::getShadowBuffers(const Matrix4* drawTransform, const Rect& localClip,
422 TessellationCache::Buffer* TessellationCache::getOrCreateBuffer(
439 static VertexBuffer* tessellatePath(const TessellationCache::Description& description,
453 static VertexBuffer* tessellateRoundRect(const TessellationCache::Description& description) {
469 TessellationCache::Buffer* TessellationCache::getRoundRectBuffer(
479 const VertexBuffer* TessellationCache::getRoundRect(const Matrix4& transform, const SkPaint& paint,