OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:cachedBitmap
(Results
1 - 3
of
3
) sorted by null
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
ImageBufferSurface.cpp
75
const SkBitmap& ImageBufferSurface::
cachedBitmap
() const
/external/chromium_org/third_party/skia/src/gpu/
SkGrPixelRef.cpp
179
SkBitmap
cachedBitmap
;
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
);
/external/chromium_org/third_party/skia/tests/
SkResourceCacheTest.cpp
102
SkBitmap
cachedBitmap
;
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
.getGenerationID(), rect, &bm, cache))
[
all
...]
Completed in 326 milliseconds