/external/chromium_org/third_party/skia/src/core/ |
H A D | SkBitmapCache.h | 39 * Search based on the bitmap's genID and subset. If found, returns true and 42 static bool Find(uint32_t genID, const SkIRect& subset, SkBitmap* result, 49 static bool Add(uint32_t genID, const SkIRect& subset, const SkBitmap& result,
|
H A D | SkBitmapCache.cpp | 33 BitmapKey(uint32_t genID, SkScalar scaleX, SkScalar scaleY, const SkIRect& bounds) argument 34 : fGenID(genID) 51 BitmapRec(uint32_t genID, SkScalar scaleX, SkScalar scaleY, const SkIRect& bounds, argument 53 : fKey(genID, scaleX, scaleY, bounds) 99 bool SkBitmapCache::Find(uint32_t genID, const SkIRect& subset, SkBitmap* result, argument 101 BitmapKey key(genID, SK_Scalar1, SK_Scalar1, subset); 106 bool SkBitmapCache::Add(uint32_t genID, const SkIRect& subset, const SkBitmap& result, argument 117 BitmapRec* rec = SkNEW_ARGS(BitmapRec, (genID, SK_Scalar1, SK_Scalar1, subset, result));
|
H A D | SkPixelRef.cpp | 65 int32_t genID; local 67 genID = sk_atomic_inc(&gPixelRefGenerationID) + 1; 68 } while (0 == genID); 69 return genID; 119 // This is subtle. We must call that.getGenerationID() to make sure its genID isn't 0. 216 // We don't invalidate ourselves if we think another SkPixelRef is sharing our genID.
|
H A D | SkPathRef.cpp | 210 // We've done the work to determine that these are equal. If either has a zero genID, copy 211 // the other's. If both are 0 then genID() will compute the next ID. 213 fGenerationID = ref.genID(); 215 ref.fGenerationID = this->genID(); 264 // We could call genID() here to force a real ID (instead of 0). However, if we're making 413 uint32_t SkPathRef::genID() const { function in class:SkPathRef
|
H A D | SkPicture.cpp | 624 int32_t genID; 626 genID = sk_atomic_inc(&gPictureGenerationID) + 1; 627 } while (SK_InvalidGenID == genID); 628 return genID;
|
H A D | SkPath.cpp | 293 uint32_t genID = fPathRef->genID(); local 296 genID |= static_cast<uint32_t>(fFillType) << kPathRefGenIDBitCnt; 298 return genID;
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
H A D | Canvas2DLayerBridgeTest.cpp | 152 uint32_t genID = surface->generationID(); local 154 EXPECT_EQ(genID, surface->generationID()); 156 EXPECT_EQ(genID, surface->generationID()); 158 EXPECT_EQ(genID, surface->generationID()); 160 EXPECT_EQ(genID, surface->generationID()); 162 EXPECT_EQ(genID, surface->generationID()); 164 EXPECT_EQ(genID, surface->generationID());
|
/external/skia/src/core/ |
H A D | SkPixelRef.cpp | 67 int32_t genID; local 69 genID = sk_atomic_inc(&gPixelRefGenerationID) + 1; 70 } while (0 == genID); 71 return genID; 147 // This is subtle. We must call that.getGenerationID() to make sure its genID isn't 0. 170 // is safe since the same genID will never refer to two different sets of 173 // trigger assignment of a new genID in playback. 261 // We don't invalidate ourselves if we think another SkPixelRef is sharing our genID.
|
H A D | SkScaledImageCache.cpp | 59 Key(uint32_t genID, argument 63 : fGenID(genID) 319 SkScaledImageCache::Rec* SkScaledImageCache::findAndLock(uint32_t genID, argument 323 const Key key(genID, scaleX, scaleY, bounds); 360 SkScaledImageCache::ID* SkScaledImageCache::findAndLock(uint32_t genID, argument 364 Rec* rec = this->findAndLock(genID, SK_Scalar1, SK_Scalar1, 432 SkScaledImageCache::ID* SkScaledImageCache::addAndLock(uint32_t genID, argument 436 Key key(genID, SK_Scalar1, SK_Scalar1, SkIRect::MakeWH(width, height));
|
H A D | SkPicture.cpp | 483 int32_t genID; local 485 genID = sk_atomic_inc(&gPictureGenerationID) + 1; 486 } while (SK_InvalidGenID == genID); 487 return genID;
|
H A D | SkPathRef.cpp | 210 // We've done the work to determine that these are equal. If either has a zero genID, copy 211 // the other's. If both are 0 then genID() will compute the next ID. 213 fGenerationID = ref.genID(); 215 ref.fGenerationID = this->genID(); 264 // We could call genID() here to force a real ID (instead of 0). However, if we're making 413 uint32_t SkPathRef::genID() const { function in class:SkPathRef
|
H A D | SkPath.cpp | 293 uint32_t genID = fPathRef->genID(); local 296 genID |= static_cast<uint32_t>(fFillType) << kPathRefGenIDBitCnt; 298 return genID;
|
/external/chromium_org/third_party/skia/src/pipe/ |
H A D | SkGPipePriv.h | 166 BitmapInfo(SkBitmap* bitmap, uint32_t genID, int toBeDrawnCount) argument 168 , fGenID(genID)
|
/external/skia/src/pipe/ |
H A D | SkGPipePriv.h | 164 BitmapInfo(SkBitmap* bitmap, uint32_t genID, int toBeDrawnCount) argument 166 , fGenID(genID)
|
/external/chromium_org/third_party/skia/src/utils/ |
H A D | SkPictureUtils.cpp | 25 uint32_t genID = pr->getGenerationID(); local 26 if (fGenID.find(genID) < 0) { 28 *fGenID.append() = genID; 29 // SkDebugf("--- adding [%d] %x %d\n", fArray->count() - 1, pr, genID); 31 // SkDebugf("--- already have %x %d\n", pr, genID);
|
H A D | SkLua.cpp | 509 int32_t genID; local 517 &genID, 978 setfield_number(L, "genID", bm.pixelRef() ? bm.pixelRef()->getGenerationID() : 0);
|
/external/skia/src/utils/ |
H A D | SkPictureUtils.cpp | 25 uint32_t genID = pr->getGenerationID(); local 26 if (fGenID.find(genID) < 0) { 28 *fGenID.append() = genID; 29 // SkDebugf("--- adding [%d] %x %d\n", fArray->count() - 1, pr, genID); 31 // SkDebugf("--- already have %x %d\n", pr, genID);
|
H A D | SkLua.cpp | 501 int32_t genID; local 509 &genID, 970 setfield_number(L, "genID", bm.pixelRef() ? bm.pixelRef()->getGenerationID() : 0);
|
/external/chromium_org/third_party/skia/src/gpu/ |
H A D | GrClipMaskManager.cpp | 221 int32_t genID; local 240 &genID, 293 result = this->createSoftwareClipMask(genID, 298 result = this->createAlphaClipMask(genID, 328 this->createStencilClipMask(genID,
|
H A D | SkGr.cpp | 90 uint32_t genID = bitmap.getGenerationID(); local 96 memcpy(key.fData8 + 0, &genID, 4); 118 // When the SkPixelRef genID changes, invalidate a corresponding GrResource described by key.
|
/external/skia/src/gpu/ |
H A D | GrClipMaskManager.cpp | 219 int32_t genID; local 238 &genID, 291 result = this->createSoftwareClipMask(genID, 296 result = this->createAlphaClipMask(genID, 326 this->createStencilClipMask(genID,
|
H A D | SkGr.cpp | 88 uint32_t genID = bitmap.getGenerationID(); local 94 memcpy(key.fData8 + 0, &genID, 4); 116 // When the SkPixelRef genID changes, invalidate a corresponding GrResource described by key.
|
/external/chromium_org/third_party/skia/include/core/ |
H A D | SkPathRef.h | 255 uint32_t genID() const; 309 /** Makes additional room but does not change the counts or change the genID */
|
/external/skia/include/core/ |
H A D | SkPathRef.h | 254 uint32_t genID() const; 306 /** Makes additional room but does not change the counts or change the genID */
|