HomeSort by relevance Sort by last modified time
    Searched refs:PathTexture (Results 1 - 6 of 6) sorted by null

  /frameworks/base/libs/hwui/
PathCache.h 59 struct PathTexture;
62 PathTask(const SkPath* path, const SkPaint* paint, PathTexture* texture):
71 PathTexture* texture;
77 struct PathTexture: public Texture {
78 PathTexture(Caches& caches, int generation)
83 ~PathTexture() {
116 }; // struct PathTexture
176 class PathCache: public OnEntryRemoved<PathDescription, PathTexture*> {
185 void operator()(PathDescription& path, PathTexture*& texture) override;
201 PathTexture* getRoundRect(float width, float height, float rx, float ry, const SkPaint* paint)
    [all...]
PathCache.cpp 128 static void computePathBounds(const SkPath* path, const SkPaint* paint, PathTexture* texture,
154 static sk_sp<Bitmap> drawPath(const SkPath* path, const SkPaint* paint, PathTexture* texture,
182 : mCache(LruCache<PathDescription, PathTexture*>::kUnlimitedCapacity)
210 void PathCache::operator()(PathDescription& entry, PathTexture*& texture) {
218 void PathCache::removeTexture(PathTexture* texture) {
267 PathTexture* PathCache::addTexture(const PathDescription& entry, const SkPath *path,
271 PathTexture* texture = new PathTexture(Caches::getInstance(), path->getGenerationID());
284 PathTexture* texture, bool addToCache) {
342 LruCache<PathDescription, PathTexture*>::Iterator iter(mCache)
    [all...]
GlopBuilder.h 38 struct PathTexture;
67 GlopBuilder& setFillPathTexturePaint(PathTexture& texture,
BakedOpDispatcher.cpp 369 float xOffset, float yOffset, PathTexture& texture, const SkPaint& paint) {
398 PathTexture* texture = renderer.caches().pathCache.getArc(
559 PathTexture* texture = renderer.caches().pathCache.getOval(
609 PathTexture* texture = renderer.caches().pathCache.get(op.path, op.paint);
636 PathTexture* texture = renderer.caches().pathCache.getRect(
670 PathTexture* texture = renderer.caches().pathCache.getRoundRect(
    [all...]
GlopBuilder.cpp 371 GlopBuilder& GlopBuilder::setFillPathTexturePaint(PathTexture& texture,
  /frameworks/base/libs/hwui/tests/unit/
BakedOpDispatcherTests.cpp 96 EXPECT_EQ(expectedOffset, reinterpret_cast<PathTexture*>(texture)->offset)
285 EXPECT_EQ(1, reinterpret_cast<PathTexture*>(texture)->left);
286 EXPECT_EQ(3, reinterpret_cast<PathTexture*>(texture)->top);

Completed in 656 milliseconds