Searched refs:PathTexture (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/libs/hwui/ |
D | PathCache.h | 60 struct PathTexture: public Texture { struct 61 PathTexture(Caches& caches): Texture(caches) { in PathTexture() function 64 ~PathTexture() { in ~PathTexture() argument 181 class PathCache: public OnEntryRemoved<PathDescription, PathTexture*> { 190 void operator()(PathDescription& path, PathTexture*& texture); 210 PathTexture* getRoundRect(float width, float height, float rx, float ry, SkPaint* paint); 211 PathTexture* getCircle(float radius, SkPaint* paint); 212 PathTexture* getOval(float width, float height, SkPaint* paint); 213 PathTexture* getRect(float width, float height, SkPaint* paint); 214 PathTexture* getArc(float width, float height, float startAngle, float sweepAngle, [all …]
|
D | PathCache.cpp | 140 static PathTexture* createTexture(float left, float top, float offset, in createTexture() 142 PathTexture* texture = new PathTexture(Caches::getInstance()); in createTexture() 157 mCache(LruCache<PathDescription, PathTexture*>::kUnlimitedCapacity), in PathCache() 206 void PathCache::operator()(PathDescription& entry, PathTexture*& texture) { in operator ()() 214 void PathCache::removeTexture(PathTexture* texture) { in removeTexture() 263 PathTexture* PathCache::addTexture(const PathDescription& entry, const SkPath *path, in addTexture() 278 PathTexture* texture = createTexture(left, top, offset, width, height, in addTexture() 286 PathTexture* texture, bool addToCache) { in generateTexture() 351 PathTexture* texture = t->texture; in onProcess() 374 LruCache<PathDescription, PathTexture*>::Iterator i(mCache); in remove() [all …]
|
D | OpenGLRenderer.h | 754 status_t drawShape(float left, float top, const PathTexture* texture, SkPaint* paint); 901 void drawPathTexture(const PathTexture* texture, float x, float y, SkPaint* paint);
|
D | OpenGLRenderer.cpp | 2643 status_t OpenGLRenderer::drawShape(float left, float top, const PathTexture* texture, in drawShape() 2665 const PathTexture* texture = mCaches.pathCache.getRoundRect( in drawRoundRect() 2690 const PathTexture* texture = mCaches.pathCache.getCircle(radius, p); in drawCircle() 2712 const PathTexture* texture = mCaches.pathCache.getOval(right - left, bottom - top, p); in drawOval() 2739 const PathTexture* texture = mCaches.pathCache.getArc(right - left, bottom - top, in drawArc() 2774 const PathTexture* texture = in drawRect() 3045 const PathTexture* texture = mCaches.pathCache.get(path, paint); in drawPath() 3243 void OpenGLRenderer::drawPathTexture(const PathTexture* texture, in drawPathTexture()
|