Searched defs:cachedBitmap (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DImageBufferSurface.cpp75 const SkBitmap& ImageBufferSurface::cachedBitmap() const function in class:blink::ImageBufferSurface
/external/chromium_org/third_party/skia/tests/
H A DSkResourceCacheTest.cpp102 SkBitmap cachedBitmap; local
103 make_bitmap(&cachedBitmap, SkImageInfo::MakeN32Premul(5, 5), allocator);
104 cachedBitmap.setImmutable();
110 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
135 SkBitmap cachedBitmap; local
[all...]
/external/chromium_org/third_party/skia/src/gpu/
H A DSkGrPixelRef.cpp179 SkBitmap cachedBitmap; local
180 cachedBitmap.setInfo(this->info().makeWH(bounds.width(), bounds.height()));
183 if (!tryAllocBitmapPixels(&cachedBitmap)) {
188 void* buffer = cachedBitmap.getPixels();
192 buffer, cachedBitmap.rowBytes());
199 cachedBitmap.setImmutable();
201 SkBitmapCache::Add(this->getGenerationID(), bounds, cachedBitmap);
203 dst->swap(cachedBitmap);

Completed in 407 milliseconds