OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:pixelRef
(Results
1 - 25
of
78
) sorted by null
1
2
3
4
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DiscardablePixelRef.cpp
55
SkAutoTUnref<DiscardablePixelRef>
pixelRef
(new DiscardablePixelRef(info, adoptPtr(new SkMutex())));
56
if (
pixelRef
->allocAndLockDiscardableMemory(size.get32())) {
57
pixelRef
->setURI(labelDiscardable);
58
dst->setPixelRef(
pixelRef
.get());
108
bool DiscardablePixelRef::isDiscardable(SkPixelRef*
pixelRef
)
113
return
pixelRef
&&
pixelRef
->getURI() && discardable.equals(
pixelRef
->getURI());
DeferredImageDecoder.cpp
75
return bitmap.
pixelRef
()
76
&& bitmap.
pixelRef
()->getURI()
77
&& (!memcmp(bitmap.
pixelRef
()->getURI(), labelLazyDecoded, sizeof(labelLazyDecoded))
78
|| !memcmp(bitmap.
pixelRef
()->getURI(), labelDiscardable, sizeof(labelDiscardable)));
271
bitmap.
pixelRef
()->setURI(labelDiscardable);
295
bitmap.
pixelRef
()->setURI(labelLazyDecoded);
/external/skia/tests/
PixelRefTest.cpp
56
SkAutoTUnref<SkPixelRef>
pixelRef
(SkMallocPixelRef::NewAllocate(info, 0, NULL));
60
pixelRef
->addGenIDChangeListener(SkNEW_ARGS(TestListener, (&count)));
63
// No one has looked at our
pixelRef
's generation ID, so invalidating it doesn't make sense.
65
pixelRef
->notifyPixelsChanged();
69
REPORTER_ASSERT(r, 0 !=
pixelRef
->getGenerationID());
72
pixelRef
->notifyPixelsChanged();
76
REPORTER_ASSERT(r, 0 !=
pixelRef
->getGenerationID());
77
pixelRef
->addGenIDChangeListener(SkNEW_ARGS(TestListener, (&count)));
78
pixelRef
->notifyPixelsChanged();
82
REPORTER_ASSERT(r, 0 !=
pixelRef
->getGenerationID())
[
all
...]
GpuBitmapCopyTest.cpp
60
REPORTER_ASSERT(reporter, src.
pixelRef
() != NULL && dst.
pixelRef
() != NULL);
66
bool readBack = src.
pixelRef
()->readPixels(&srcReadBack);
70
bool readBack = dst.
pixelRef
()->readPixels(&dstReadBack);
ImageCacheTest.cpp
46
REPORTER_ASSERT(reporter, tmp.
pixelRef
() == tmp2.
pixelRef
());
/external/chromium/chrome/browser/ui/views/tabs/
tab_renderer_data.cc
22
favicon.
pixelRef
() &&
23
favicon.
pixelRef
() == data.favicon.
pixelRef
() &&
/external/chromium_org/cc/layers/
picture_image_layer.cc
36
if (bitmap.
pixelRef
() && bitmap.
pixelRef
() == bitmap_.
pixelRef
())
image_layer.cc
29
if (bitmap.
pixelRef
() && bitmap.
pixelRef
() == bitmap_.
pixelRef
())
/external/chromium_org/third_party/WebKit/Source/platform/graphics/gpu/
WebGLImageBufferSurface.h
48
virtual bool isValid() const OVERRIDE { return m_bitmap.
pixelRef
(); }
/external/chromium_org/cc/resources/
picture_unittest.cc
152
EXPECT_TRUE(*iterator == lazy_bitmap[y][x].
pixelRef
()) << x << " " << y;
164
EXPECT_TRUE(*iterator == lazy_bitmap[1][2].
pixelRef
());
166
EXPECT_TRUE(*iterator == lazy_bitmap[2][1].
pixelRef
());
168
EXPECT_TRUE(*iterator == lazy_bitmap[2][3].
pixelRef
());
170
EXPECT_TRUE(*iterator == lazy_bitmap[3][2].
pixelRef
());
178
EXPECT_TRUE(*iterator == lazy_bitmap[1][2].
pixelRef
());
180
EXPECT_TRUE(*iterator == lazy_bitmap[2][1].
pixelRef
());
186
EXPECT_TRUE(*iterator == lazy_bitmap[2][3].
pixelRef
());
188
EXPECT_TRUE(*iterator == lazy_bitmap[3][2].
pixelRef
());
192
EXPECT_TRUE(*copy == lazy_bitmap[2][1].
pixelRef
());
[
all
...]
picture_pile_impl_unittest.cc
311
EXPECT_TRUE(*iterator == lazy_bitmap[0][0].
pixelRef
());
318
EXPECT_TRUE(*iterator == lazy_bitmap[0][0].
pixelRef
());
325
EXPECT_TRUE(*iterator == lazy_bitmap[0][0].
pixelRef
());
333
EXPECT_TRUE(*iterator == lazy_bitmap[1][1].
pixelRef
());
340
EXPECT_TRUE(*iterator == lazy_bitmap[1][1].
pixelRef
());
347
EXPECT_TRUE(*iterator == lazy_bitmap[1][1].
pixelRef
());
361
EXPECT_TRUE(*iterator == lazy_bitmap[0][0].
pixelRef
());
363
EXPECT_TRUE(*iterator == lazy_bitmap[1][0].
pixelRef
());
365
EXPECT_TRUE(*iterator == lazy_bitmap[1][1].
pixelRef
());
372
EXPECT_TRUE(*iterator == lazy_bitmap[0][0].
pixelRef
());
[
all
...]
image_layer_updater.cc
60
DCHECK(bitmap.
pixelRef
());
65
return bitmap.
pixelRef
() == bitmap_.
pixelRef
();
ui_resource_bitmap.cc
36
skia::RefPtr<SkPixelRef> pixel_ref = skia::SharePtr(skbitmap.
pixelRef
());
/external/chromium_org/third_party/WebKit/Source/platform/graphics/skia/
GaneshUtils.cpp
61
SkGrPixelRef*
pixelRef
= SkNEW_ARGS(SkGrPixelRef, (info, texture.get()));
62
if (!
pixelRef
)
65
bitmap.setPixelRef(
pixelRef
, 0)->unref();
/external/chromium_org/cc/debug/
devtools_instrumentation.h
46
explicit ScopedImageDecodeTask(void*
pixelRef
) {
48
internal::kPixelRefId, reinterpret_cast<uint64>(
pixelRef
));
/external/chromium_org/third_party/skia/src/image/
SkImage_Codec.cpp
43
if (!fBitmap.
pixelRef
()) {
54
if (!fBitmap.
pixelRef
()) {
/external/skia/dm/
DMSerializeTask.cpp
23
if (NULL == bitmap.
pixelRef
()) {
26
SkData* data = bitmap.
pixelRef
()->refEncodedData();
/external/skia/src/image/
SkImage_Codec.cpp
43
if (!fBitmap.
pixelRef
()) {
54
if (!fBitmap.
pixelRef
()) {
/external/chromium_org/third_party/skia/src/gpu/
SkGr.cpp
109
static void add_genID_listener(GrResourceKey key, SkPixelRef*
pixelRef
) {
110
SkASSERT(NULL !=
pixelRef
);
111
pixelRef
->addGenIDChangeListener(SkNEW_ARGS(GrResourceInvalidator, (key)));
145
add_genID_listener(key, origBitmap.
pixelRef
());
177
add_genID_listener(key, origBitmap.
pixelRef
());
SkGrPixelRef.cpp
103
SkGrPixelRef*
pixelRef
= SkNEW_ARGS(SkGrPixelRef, (info, dst));
105
return
pixelRef
;
/external/skia/src/gpu/
SkGr.cpp
109
static void add_genID_listener(GrResourceKey key, SkPixelRef*
pixelRef
) {
110
SkASSERT(NULL !=
pixelRef
);
111
pixelRef
->addGenIDChangeListener(SkNEW_ARGS(GrResourceInvalidator, (key)));
145
add_genID_listener(key, origBitmap.
pixelRef
());
177
add_genID_listener(key, origBitmap.
pixelRef
());
SkGrPixelRef.cpp
103
SkGrPixelRef*
pixelRef
= SkNEW_ARGS(SkGrPixelRef, (info, dst));
105
return
pixelRef
;
/external/chromium_org/third_party/skia/src/core/
SkBitmapProcShader.cpp
87
if (NULL == bm.
pixelRef
()) {
191
SkASSERT(state.fBitmap->
pixelRef
() == NULL ||
192
state.fBitmap->
pixelRef
()->isLocked());
243
SkASSERT(state.fBitmap->
pixelRef
() == NULL ||
244
state.fBitmap->
pixelRef
()->isLocked());
/external/skia/src/core/
SkBitmapProcShader.cpp
87
if (NULL == bm.
pixelRef
()) {
191
SkASSERT(state.fBitmap->
pixelRef
() == NULL ||
192
state.fBitmap->
pixelRef
()->isLocked());
243
SkASSERT(state.fBitmap->
pixelRef
() == NULL ||
244
state.fBitmap->
pixelRef
()->isLocked());
/external/chromium_org/third_party/WebKit/Source/core/frame/
ImageBitmapTest.cpp
185
ASSERT_EQ(imageBitmap->bitmapImage()->nativeImageForCurrentFrame()->bitmap().
pixelRef
()->pixels(),
186
originalImageResource->image()->nativeImageForCurrentFrame()->bitmap().
pixelRef
()->pixels());
189
ASSERT_NE(imageBitmap->bitmapImage()->nativeImageForCurrentFrame()->bitmap().
pixelRef
()->pixels(),
190
newImageResource->image()->nativeImageForCurrentFrame()->bitmap().
pixelRef
()->pixels());
Completed in 208 milliseconds
1
2
3
4