/external/chromium_org/cc/resources/ |
D | picture_pile_impl_unittest.cc | 311 EXPECT_TRUE(*iterator == lazy_bitmap[0][0].pixelRef()); in TEST() 318 EXPECT_TRUE(*iterator == lazy_bitmap[0][0].pixelRef()); in TEST() 325 EXPECT_TRUE(*iterator == lazy_bitmap[0][0].pixelRef()); in TEST() 333 EXPECT_TRUE(*iterator == lazy_bitmap[1][1].pixelRef()); in TEST() 340 EXPECT_TRUE(*iterator == lazy_bitmap[1][1].pixelRef()); in TEST() 347 EXPECT_TRUE(*iterator == lazy_bitmap[1][1].pixelRef()); in TEST() 361 EXPECT_TRUE(*iterator == lazy_bitmap[0][0].pixelRef()); in TEST() 363 EXPECT_TRUE(*iterator == lazy_bitmap[1][0].pixelRef()); in TEST() 365 EXPECT_TRUE(*iterator == lazy_bitmap[1][1].pixelRef()); in TEST() 372 EXPECT_TRUE(*iterator == lazy_bitmap[0][0].pixelRef()); in TEST() [all …]
|
D | picture_unittest.cc | 152 EXPECT_TRUE(*iterator == lazy_bitmap[y][x].pixelRef()) << x << " " << y; in TEST() 164 EXPECT_TRUE(*iterator == lazy_bitmap[1][2].pixelRef()); in TEST() 166 EXPECT_TRUE(*iterator == lazy_bitmap[2][1].pixelRef()); in TEST() 168 EXPECT_TRUE(*iterator == lazy_bitmap[2][3].pixelRef()); in TEST() 170 EXPECT_TRUE(*iterator == lazy_bitmap[3][2].pixelRef()); in TEST() 178 EXPECT_TRUE(*iterator == lazy_bitmap[1][2].pixelRef()); in TEST() 180 EXPECT_TRUE(*iterator == lazy_bitmap[2][1].pixelRef()); in TEST() 186 EXPECT_TRUE(*iterator == lazy_bitmap[2][3].pixelRef()); in TEST() 188 EXPECT_TRUE(*iterator == lazy_bitmap[3][2].pixelRef()); in TEST() 192 EXPECT_TRUE(*copy == lazy_bitmap[2][1].pixelRef()); in TEST() [all …]
|
D | image_layer_updater.cc | 60 DCHECK(bitmap.pixelRef()); in SetBitmap() 65 return bitmap.pixelRef() == bitmap_.pixelRef(); in UsingBitmap()
|
/external/skia/tests/ |
D | PixelRefTest.cpp | 56 SkAutoTUnref<SkPixelRef> pixelRef(SkMallocPixelRef::NewAllocate(info, 0, NULL)); in DEF_TEST() local 60 pixelRef->addGenIDChangeListener(SkNEW_ARGS(TestListener, (&count))); in DEF_TEST() 65 pixelRef->notifyPixelsChanged(); in DEF_TEST() 69 REPORTER_ASSERT(r, 0 != pixelRef->getGenerationID()); in DEF_TEST() 72 pixelRef->notifyPixelsChanged(); in DEF_TEST() 76 REPORTER_ASSERT(r, 0 != pixelRef->getGenerationID()); in DEF_TEST() 77 pixelRef->addGenIDChangeListener(SkNEW_ARGS(TestListener, (&count))); in DEF_TEST() 78 pixelRef->notifyPixelsChanged(); in DEF_TEST() 82 REPORTER_ASSERT(r, 0 != pixelRef->getGenerationID()); in DEF_TEST() 83 pixelRef->addGenIDChangeListener(NULL); in DEF_TEST() [all …]
|
D | GpuBitmapCopyTest.cpp | 60 REPORTER_ASSERT(reporter, src.pixelRef() != NULL && dst.pixelRef() != NULL); in TestIndividualCopy() 66 bool readBack = src.pixelRef()->readPixels(&srcReadBack); in TestIndividualCopy() 70 bool readBack = dst.pixelRef()->readPixels(&dstReadBack); in TestIndividualCopy()
|
D | ImageCacheTest.cpp | 46 REPORTER_ASSERT(reporter, tmp.pixelRef() == tmp2.pixelRef()); in test_cache()
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
D | DiscardablePixelRef.cpp | 55 …SkAutoTUnref<DiscardablePixelRef> pixelRef(new DiscardablePixelRef(info, adoptPtr(new SkMutex()))); in allocPixelRef() local 56 if (pixelRef->allocAndLockDiscardableMemory(size.get32())) { in allocPixelRef() 57 pixelRef->setURI(labelDiscardable); in allocPixelRef() 58 dst->setPixelRef(pixelRef.get()); in allocPixelRef() 108 bool DiscardablePixelRef::isDiscardable(SkPixelRef* pixelRef) in isDiscardable() argument 113 return pixelRef && pixelRef->getURI() && discardable.equals(pixelRef->getURI()); in isDiscardable()
|
D | DeferredImageDecoder.cpp | 75 return bitmap.pixelRef() in isLazyDecoded() 76 && bitmap.pixelRef()->getURI() in isLazyDecoded() 77 && (!memcmp(bitmap.pixelRef()->getURI(), labelLazyDecoded, sizeof(labelLazyDecoded)) in isLazyDecoded() 78 || !memcmp(bitmap.pixelRef()->getURI(), labelDiscardable, sizeof(labelDiscardable))); in isLazyDecoded() 271 bitmap.pixelRef()->setURI(labelDiscardable); in createSkiaDiscardableBitmap() 295 bitmap.pixelRef()->setURI(labelLazyDecoded); in createLazyDecodingBitmap()
|
D | ImageDecodingStoreTest.cpp | 411 …MockDiscardablePixelRef* pixelRef = static_cast<MockDiscardablePixelRef*>(refImage->bitmap().pixel… in TEST_F() local 412 pixelRef->discard(); in TEST_F() 425 …MockDiscardablePixelRef* pixelRef = static_cast<MockDiscardablePixelRef*>(cachedImage->bitmap().pi… in TEST_F() local 426 pixelRef->discard(); in TEST_F()
|
/external/chromium/chrome/browser/ui/views/tabs/ |
D | tab_renderer_data.cc | 22 favicon.pixelRef() && in Equals() 23 favicon.pixelRef() == data.favicon.pixelRef() && in Equals()
|
/external/chromium_org/cc/layers/ |
D | picture_image_layer.cc | 36 if (bitmap.pixelRef() && bitmap.pixelRef() == bitmap_.pixelRef()) in SetBitmap()
|
D | image_layer.cc | 29 if (bitmap.pixelRef() && bitmap.pixelRef() == bitmap_.pixelRef()) in SetBitmap()
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/skia/ |
D | GaneshUtils.cpp | 61 SkGrPixelRef* pixelRef = SkNEW_ARGS(SkGrPixelRef, (info, texture.get())); in ensureTextureBackedSkBitmap() local 62 if (!pixelRef) in ensureTextureBackedSkBitmap() 65 bitmap.setPixelRef(pixelRef, 0)->unref(); in ensureTextureBackedSkBitmap()
|
/external/skia/src/gpu/ |
D | SkGr.cpp | 109 static void add_genID_listener(GrResourceKey key, SkPixelRef* pixelRef) { in add_genID_listener() argument 110 SkASSERT(NULL != pixelRef); in add_genID_listener() 111 pixelRef->addGenIDChangeListener(SkNEW_ARGS(GrResourceInvalidator, (key))); in add_genID_listener() 145 add_genID_listener(key, origBitmap.pixelRef()); in sk_gr_create_bitmap_texture() 177 add_genID_listener(key, origBitmap.pixelRef()); in sk_gr_create_bitmap_texture()
|
/external/chromium_org/third_party/skia/src/gpu/ |
D | SkGr.cpp | 109 static void add_genID_listener(GrResourceKey key, SkPixelRef* pixelRef) { in add_genID_listener() argument 110 SkASSERT(NULL != pixelRef); in add_genID_listener() 111 pixelRef->addGenIDChangeListener(SkNEW_ARGS(GrResourceInvalidator, (key))); in add_genID_listener() 145 add_genID_listener(key, origBitmap.pixelRef()); in sk_gr_create_bitmap_texture() 177 add_genID_listener(key, origBitmap.pixelRef()); in sk_gr_create_bitmap_texture()
|
/external/skia/dm/ |
D | DMSerializeTask.cpp | 23 if (NULL == bitmap.pixelRef()) { in trivial_bitmap_encoder() 26 SkData* data = bitmap.pixelRef()->refEncodedData(); in trivial_bitmap_encoder()
|
/external/chromium_org/third_party/skia/src/core/ |
D | SkBitmapProcShader.cpp | 87 if (NULL == bm.pixelRef()) { in valid_for_drawing() 191 SkASSERT(state.fBitmap->pixelRef() == NULL || in shadeSpan() 192 state.fBitmap->pixelRef()->isLocked()); in shadeSpan() 243 SkASSERT(state.fBitmap->pixelRef() == NULL || in shadeSpan16() 244 state.fBitmap->pixelRef()->isLocked()); in shadeSpan16()
|
D | SkBitmap.cpp | 573 dst == NULL || (getPixels() == NULL && pixelRef() == NULL)) in copyPixelsTo() 968 SkPixelRef* pixelRef = fPixelRef->deepCopy(this->config(), &subset); in extractSubset() local 969 if (pixelRef != NULL) { in extractSubset() 974 dst.setPixelRef(pixelRef)->unref(); in extractSubset() 1057 if (dst->pixelRef() && this->config() == dstConfig) { in copyTo() 1059 dst->pixelRef()->cloneGenID(*fPixelRef); in copyTo() 1098 SkPixelRef* pixelRef = tmpDst.pixelRef(); in copyTo() local 1099 if (NULL != pixelRef && NULL != fPixelRef) { in copyTo() 1101 pixelRef->cloneGenID(*fPixelRef); in copyTo() 1151 SkPixelRef* pixelRef = fPixelRef->deepCopy(dstConfig); in deepCopyTo() local [all …]
|
/external/skia/src/core/ |
D | SkBitmapProcShader.cpp | 87 if (NULL == bm.pixelRef()) { in valid_for_drawing() 191 SkASSERT(state.fBitmap->pixelRef() == NULL || in shadeSpan() 192 state.fBitmap->pixelRef()->isLocked()); in shadeSpan() 243 SkASSERT(state.fBitmap->pixelRef() == NULL || in shadeSpan16() 244 state.fBitmap->pixelRef()->isLocked()); in shadeSpan16()
|
D | SkBitmap.cpp | 573 dst == NULL || (getPixels() == NULL && pixelRef() == NULL)) in copyPixelsTo() 968 SkPixelRef* pixelRef = fPixelRef->deepCopy(this->config(), &subset); in extractSubset() local 969 if (pixelRef != NULL) { in extractSubset() 974 dst.setPixelRef(pixelRef)->unref(); in extractSubset() 1057 if (dst->pixelRef() && this->config() == dstConfig) { in copyTo() 1059 dst->pixelRef()->cloneGenID(*fPixelRef); in copyTo() 1098 SkPixelRef* pixelRef = tmpDst.pixelRef(); in copyTo() local 1099 if (NULL != pixelRef && NULL != fPixelRef) { in copyTo() 1101 pixelRef->cloneGenID(*fPixelRef); in copyTo() 1151 SkPixelRef* pixelRef = fPixelRef->deepCopy(dstConfig); in deepCopyTo() local [all …]
|
/external/skia/src/image/ |
D | SkImage_Codec.cpp | 43 if (!fBitmap.pixelRef()) { in onDraw() 54 if (!fBitmap.pixelRef()) { in onDrawRectToRect()
|
/external/chromium_org/third_party/skia/src/image/ |
D | SkImage_Codec.cpp | 43 if (!fBitmap.pixelRef()) { in onDraw() 54 if (!fBitmap.pixelRef()) { in onDrawRectToRect()
|
/external/chromium_org/cc/debug/ |
D | devtools_instrumentation.h | 46 explicit ScopedImageDecodeTask(void* pixelRef) { in ScopedImageDecodeTask() argument 48 internal::kPixelRefId, reinterpret_cast<uint64>(pixelRef)); in ScopedImageDecodeTask()
|
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
D | ImageBitmapTest.cpp | 185 … ASSERT_EQ(imageBitmap->bitmapImage()->nativeImageForCurrentFrame()->bitmap().pixelRef()->pixels(), in TEST_F() 186 … originalImageResource->image()->nativeImageForCurrentFrame()->bitmap().pixelRef()->pixels()); in TEST_F() 189 … ASSERT_NE(imageBitmap->bitmapImage()->nativeImageForCurrentFrame()->bitmap().pixelRef()->pixels(), in TEST_F() 190 newImageResource->image()->nativeImageForCurrentFrame()->bitmap().pixelRef()->pixels()); in TEST_F()
|
/external/chromium_org/skia/ext/ |
D | platform_canvas_unittest.cc | 419 EXPECT_TRUE(platform_bitmap->GetBitmap().pixelRef()->isLocked()); in TEST() 420 EXPECT_EQ(1, platform_bitmap->GetBitmap().pixelRef()->getRefCnt()); in TEST() 428 EXPECT_EQ(2, platform_bitmap->GetBitmap().pixelRef()->getRefCnt()); in TEST() 429 EXPECT_EQ(2, sk_bitmap.pixelRef()->getRefCnt()); in TEST() 440 EXPECT_EQ(1, sk_bitmap.pixelRef()->getRefCnt()); in TEST()
|