Home | History | Annotate | Download | only in hwui

Lines Matching defs: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();
275 class ShadowProcessor : public TaskProcessor<TessellationCache::vertexBuffer_pair_t*> {
278 : TaskProcessor<TessellationCache::vertexBuffer_pair_t*>(&caches.tasks) {}
281 virtual void onProcess(const sp<Task<TessellationCache::vertexBuffer_pair_t*> >& task) {
291 t->setResult(new TessellationCache::vertexBuffer_pair_t(ambientBuffer, spotBuffer));
299 TessellationCache::TessellationCache()
317 TessellationCache::~TessellationCache() {
325 uint32_t TessellationCache::getSize() {
334 uint32_t TessellationCache::getMaxSize() {
338 void TessellationCache::setMaxSize(uint32_t maxSize) {
350 void TessellationCache::trim() {
359 void TessellationCache::clear() {
368 void TessellationCache::BufferRemovedListener::operator()(Description& description,
377 void TessellationCache::precacheShadows(const Matrix4* drawTransform, const Rect& localClip,
394 void TessellationCache::getShadowBuffers(const Matrix4* drawTransform, const Rect& localClip,
413 TessellationCache::Buffer* TessellationCache::getOrCreateBuffer(
430 static VertexBuffer* tessellatePath(const TessellationCache::Description& description,
444 static VertexBuffer* tessellateRoundRect(const TessellationCache::Description& description) {
460 TessellationCache::Buffer* TessellationCache::getRoundRectBuffer(
470 const VertexBuffer* TessellationCache::getRoundRect(const Matrix4& transform, const SkPaint& paint,