Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DPathCache.h63 struct PathTexture: public Texture { struct
64 PathTexture(Caches& caches, float left, float top, in PathTexture() argument
72 PathTexture(Caches& caches, int generation) in PathTexture() function
77 ~PathTexture() { in ~PathTexture() argument
170 class PathCache: public OnEntryRemoved<PathDescription, PathTexture*> {
179 void operator()(PathDescription& path, PathTexture*& texture) override;
195 PathTexture* getRoundRect(float width, float height, float rx, float ry, const SkPaint* paint);
196 PathTexture* getCircle(float radius, const SkPaint* paint);
197 PathTexture* getOval(float width, float height, const SkPaint* paint);
198 PathTexture* getRect(float width, float height, const SkPaint* paint);
[all …]
DPathCache.cpp183 : mCache(LruCache<PathDescription, PathTexture*>::kUnlimitedCapacity) in PathCache()
215 void PathCache::operator()(PathDescription& entry, PathTexture*& texture) { in operator ()()
223 void PathCache::removeTexture(PathTexture* texture) { in removeTexture()
270 PathTexture* PathCache::addTexture(const PathDescription& entry, const SkPath *path, in addTexture()
285 PathTexture* texture = new PathTexture(Caches::getInstance(), in addTexture()
293 PathTexture* texture, bool addToCache) { in generateTexture()
337 PathTexture* texture = t->texture; in onProcess()
366 LruCache<PathDescription, PathTexture*>::Iterator iter(mCache); in clearGarbage()
382 PathTexture* PathCache::get(const SkPath* path, const SkPaint* paint) { in get()
386 PathTexture* texture = mCache.get(entry); in get()
[all …]
DBakedOpDispatcher.cpp375 float xOffset, float yOffset, PathTexture& texture, const SkPaint& paint) { in renderPathTexture()
404 PathTexture* texture = renderer.caches().pathCache.getArc( in onArcOp()
573 PathTexture* texture = renderer.caches().pathCache.getOval( in onOvalOp()
624 PathTexture* texture = renderer.caches().pathCache.get(op.path, op.paint); in onPathOp()
651 PathTexture* texture = renderer.caches().pathCache.getRect( in onRectOp()
685 PathTexture* texture = renderer.caches().pathCache.getRoundRect( in onRoundRectOp()
DGlopBuilder.h64 GlopBuilder& setFillPathTexturePaint(PathTexture& texture,
DOpenGLRenderer.h610 void drawShape(float left, float top, PathTexture* texture, const SkPaint* paint);
663 void drawPathTexture(PathTexture* texture, float x, float y, const SkPaint* paint);
DOpenGLRenderer.cpp1788 void OpenGLRenderer::drawShape(float left, float top, PathTexture* texture,
1811 PathTexture* texture = mCaches.pathCache.getRoundRect(
1830 PathTexture* texture = mCaches.pathCache.getCircle(radius, p);
1876 PathTexture* texture = mCaches.pathCache.getOval(right - left, bottom - top, p);
1900 PathTexture* texture = mCaches.pathCache.getArc(right - left, bottom - top,
1935 PathTexture* texture =
2221 PathTexture* texture = mCaches.pathCache.get(path, paint);
2326 void OpenGLRenderer::drawPathTexture(PathTexture* texture, float x, float y,
DGlopBuilder.cpp390 GlopBuilder& GlopBuilder::setFillPathTexturePaint(PathTexture& texture, in setFillPathTexturePaint()
/frameworks/base/libs/hwui/tests/unit/
DBakedOpDispatcherTests.cpp97 EXPECT_EQ(expectedOffset, reinterpret_cast<PathTexture*>(texture)->offset) in RENDERTHREAD_TEST()