Home
last modified time | relevance | path

Searched refs:PathTexture (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/hwui/
DPathCache.h61 struct PathTexture: public Texture { struct
62 PathTexture(Caches& caches): Texture(caches) { in PathTexture() function
65 ~PathTexture() { in ~PathTexture() argument
160 class PathCache: public OnEntryRemoved<PathDescription, PathTexture*> {
169 void operator()(PathDescription& path, PathTexture*& texture);
189 PathTexture* getRoundRect(float width, float height, float rx, float ry, const SkPaint* paint);
190 PathTexture* getCircle(float radius, const SkPaint* paint);
191 PathTexture* getOval(float width, float height, const SkPaint* paint);
192 PathTexture* getRect(float width, float height, const SkPaint* paint);
193 PathTexture* getArc(float width, float height, float startAngle, float sweepAngle,
[all …]
DPathCache.cpp136 static PathTexture* createTexture(float left, float top, float offset, in createTexture()
138 PathTexture* texture = new PathTexture(Caches::getInstance()); in createTexture()
153 mCache(LruCache<PathDescription, PathTexture*>::kUnlimitedCapacity), in PathCache()
199 void PathCache::operator()(PathDescription& entry, PathTexture*& texture) { in operator ()()
207 void PathCache::removeTexture(PathTexture* texture) { in removeTexture()
256 PathTexture* PathCache::addTexture(const PathDescription& entry, const SkPath *path, in addTexture()
271 PathTexture* texture = createTexture(left, top, offset, width, height, in addTexture()
279 PathTexture* texture, bool addToCache) { in generateTexture()
344 PathTexture* texture = t->texture; in onProcess()
367 LruCache<PathDescription, PathTexture*>::Iterator i(mCache); in remove()
[all …]
DOpenGLRenderer.h646 status_t drawShape(float left, float top, const PathTexture* texture, const SkPaint* paint);
783 void drawPathTexture(const PathTexture* texture, float x, float y, const SkPaint* paint);
DOpenGLRenderer.cpp2470 status_t OpenGLRenderer::drawShape(float left, float top, const PathTexture* texture,
2493 const PathTexture* texture = mCaches.pathCache.getRoundRect(
2511 const PathTexture* texture = mCaches.pathCache.getCircle(radius, p);
2534 const PathTexture* texture = mCaches.pathCache.getOval(right - left, bottom - top, p);
2558 const PathTexture* texture = mCaches.pathCache.getArc(right - left, bottom - top,
2595 const PathTexture* texture =
2876 const PathTexture* texture = mCaches.pathCache.get(path, paint);
3046 void OpenGLRenderer::drawPathTexture(const PathTexture* texture,