Searched refs:getGenerationID (Results 1 - 25 of 69) sorted by relevance

123

/external/skia/src/gpu/
H A DGrCacheable.cpp11 uint32_t GrCacheable::getGenerationID() const { function in class:GrCacheable
H A DGrPath.cpp16 keyData[0] = path.getGenerationID();
/external/chromium_org/third_party/skia/tests/
H A DPixelRefTest.cpp30 REPORTER_ASSERT(r, 0 != pixelRef->getGenerationID());
37 REPORTER_ASSERT(r, 0 != pixelRef->getGenerationID());
43 REPORTER_ASSERT(r, 0 != pixelRef->getGenerationID());
H A DSkResourceCacheTest.cpp110 REPORTER_ASSERT(reporter, !SkBitmapCache::Add(cachedBitmap.getGenerationID(), SkIRect::MakeWH(4, 6), cachedBitmap, cache));
111 REPORTER_ASSERT(reporter, !SkBitmapCache::Find(cachedBitmap.getGenerationID(), rect, &bm, cache));
113 REPORTER_ASSERT(reporter, !SkBitmapCache::Add(cachedBitmap.getGenerationID(), SkIRect::MakeXYWH(-1, 0, 5, 5), cachedBitmap, cache));
114 REPORTER_ASSERT(reporter, !SkBitmapCache::Find(cachedBitmap.getGenerationID(), rect, &bm, cache));
117 REPORTER_ASSERT(reporter, !SkBitmapCache::Find(cachedBitmap.getGenerationID(), rect, &bm, cache));
119 REPORTER_ASSERT(reporter, SkBitmapCache::Add(cachedBitmap.getGenerationID(), rect, cachedBitmap, cache));
121 REPORTER_ASSERT(reporter, SkBitmapCache::Find(cachedBitmap.getGenerationID(), rect, &bm, cache));
144 REPORTER_ASSERT(reporter, SkBitmapCache::Add(cachedBitmap.getGenerationID(), rect, cachedBitmap, cache));
145 REPORTER_ASSERT(reporter, SkBitmapCache::Find(cachedBitmap.getGenerationID(), rect, &bm, cache));
148 REPORTER_ASSERT(reporter, SkBitmapCache::Find(cachedBitmap.getGenerationID(), rec
[all...]
H A DPaintTest.cpp163 uint32_t paintGenID = paint.getGenerationID();
164 uint32_t copiedPaintGenID = copiedPaint.getGenerationID();
175 REPORTER_ASSERT(reporter, paint.getGenerationID() == paintGenID);
176 REPORTER_ASSERT(reporter, copiedPaint.getGenerationID() != copiedPaintGenID);
177 copiedPaintGenID = copiedPaint.getGenerationID(); // reset to the new value
190 REPORTER_ASSERT(reporter, paint.getGenerationID() != paintGenID);
191 REPORTER_ASSERT(reporter, copiedPaint.getGenerationID() != copiedPaintGenID);
H A DBitmapCopyTest.cpp248 REPORTER_ASSERT(reporter, copy.getGenerationID() != subset.getGenerationID());
314 REPORTER_ASSERT(reporter, srcPremul.getGenerationID() == dst.getGenerationID());
316 REPORTER_ASSERT(reporter, srcPremul.getGenerationID() != dst.getGenerationID());
/external/skia/tests/
H A DPixelRefTest.cpp30 REPORTER_ASSERT(r, 0 != pixelRef->getGenerationID());
37 REPORTER_ASSERT(r, 0 != pixelRef->getGenerationID());
43 REPORTER_ASSERT(r, 0 != pixelRef->getGenerationID());
H A DPaintTest.cpp163 uint32_t paintGenID = paint.getGenerationID();
164 uint32_t copiedPaintGenID = copiedPaint.getGenerationID();
175 REPORTER_ASSERT(reporter, paint.getGenerationID() == paintGenID);
176 REPORTER_ASSERT(reporter, copiedPaint.getGenerationID() != copiedPaintGenID);
177 copiedPaintGenID = copiedPaint.getGenerationID(); // reset to the new value
190 REPORTER_ASSERT(reporter, paint.getGenerationID() != paintGenID);
191 REPORTER_ASSERT(reporter, copiedPaint.getGenerationID() != copiedPaintGenID);
H A DImageCacheTest.cpp131 REPORTER_ASSERT(r, tmp.getGenerationID() == scaled2.getGenerationID());
H A DBitmapCopyTest.cpp248 REPORTER_ASSERT(reporter, copy.getGenerationID() != subset.getGenerationID());
314 REPORTER_ASSERT(reporter, srcPremul.getGenerationID() == dst.getGenerationID());
316 REPORTER_ASSERT(reporter, srcPremul.getGenerationID() != dst.getGenerationID());
/external/skia/include/gpu/
H A DGrCacheable.h49 uint32_t getGenerationID() const;
/external/chromium_org/third_party/skia/src/lazy/
H A DSkCachingPixelRef.cpp48 if (!SkBitmapCache::Find(this->getGenerationID(),
61 SkBitmapCache::Add(this->getGenerationID(),
/external/skia/src/lazy/
H A DSkCachingPixelRef.cpp51 fScaledCacheId = SkScaledImageCache::FindAndLock(this->getGenerationID(),
66 fScaledCacheId = SkScaledImageCache::AddAndLock(this->getGenerationID(),
/external/chromium_org/third_party/skia/src/core/
H A DSkBitmapCache.cpp82 BitmapKey key(src.getGenerationID(), invScaleX, invScaleY, get_bounds_from_bitmap(src));
94 BitmapRec* rec = SkNEW_ARGS(BitmapRec, (src.getGenerationID(), invScaleX, invScaleY,
127 : fKey(src.getGenerationID(), 0, 0, get_bounds_from_bitmap(src))
152 BitmapKey key(src.getGenerationID(), 0, 0, get_bounds_from_bitmap(src));
H A DSkPixelRef.cpp119 // This is subtle. We must call that.getGenerationID() to make sure its genID isn't 0.
120 this->fGenerationID = that.getGenerationID();
198 uint32_t SkPixelRef::getGenerationID() const { function in class:SkPixelRef
H A DSkPathHeap.cpp54 : fGenerationID(path.getGenerationID()), fStorageSlot(0) {
H A DSkBitmapHeap.h222 : fGenerationId(bm.getGenerationID())
/external/chromium_org/third_party/skia/src/gpu/
H A DGrPath.cpp22 keyData[0] = path.getGenerationID();
H A DSkGrPixelRef.cpp176 if(!SkBitmapCache::Find(this->getGenerationID(), bounds, dst)) {
201 SkBitmapCache::Add(this->getGenerationID(), bounds, cachedBitmap);
/external/chromium_org/chrome/browser/extensions/api/extension_action/
H A Dbrowser_action_apitest.cc152 uint32_t action_icon_last_id = action_icon.ToSkBitmap()->getGenerationID();
156 icon_factory.GetIcon(0).ToSkBitmap()->getGenerationID());
168 action_icon_current_id = action_icon.ToSkBitmap()->getGenerationID();
185 action_icon_current_id = action_icon.ToSkBitmap()->getGenerationID();
204 action_icon_current_id = action_icon.ToSkBitmap()->getGenerationID();
221 action_icon_current_id = action_icon.ToSkBitmap()->getGenerationID();
239 action_icon_current_id = action_icon.ToSkBitmap()->getGenerationID();
257 action_icon_current_id = action_icon.ToSkBitmap()->getGenerationID();
280 action_icon_current_id = action_icon.ToSkBitmap()->getGenerationID();
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DDeferredImageDecoderTest.cpp242 unsigned firstId = frame->getSkBitmap().getGenerationID();
252 unsigned secondId = frame->getSkBitmap().getGenerationID();
257 EXPECT_EQ(secondId, m_lazyDecoder->frameBufferAtIndex(0)->getSkBitmap().getGenerationID());
268 unsigned firstId = m_lazyDecoder->frameBufferAtIndex(0)->getSkBitmap().getGenerationID();
280 unsigned secondId = m_lazyDecoder->frameBufferAtIndex(0)->getSkBitmap().getGenerationID();
297 EXPECT_EQ(secondId, m_lazyDecoder->frameBufferAtIndex(0)->getSkBitmap().getGenerationID());
/external/skia/src/core/
H A DSkPathHeap.cpp54 : fGenerationID(path.getGenerationID()), fStorageSlot(0) {
H A DSkPixelRef.cpp147 // This is subtle. We must call that.getGenerationID() to make sure its genID isn't 0.
148 this->fGenerationID = that.getGenerationID();
243 uint32_t SkPixelRef::getGenerationID() const { function in class:SkPixelRef
/external/chromium_org/ash/desktop_background/
H A Dwallpaper_resizer.cc98 return image_rep.is_null() ? 0 : image_rep.sk_bitmap().getGenerationID();
/external/chromium_org/third_party/skia/include/core/
H A DSkPixelRef.h128 uint32_t getGenerationID() const;
133 * getGenerationID().

Completed in 378 milliseconds

123