Home
last modified time | relevance | path

Searched refs:shared_bitmap (Results 1 – 21 of 21) sorted by relevance

/external/chromium_org/content/common/
Dhost_shared_bitmap_manager_unittest.cc50 scoped_ptr<cc::SharedBitmap> shared_bitmap; in TEST_F() local
51 shared_bitmap = manager_->GetSharedBitmapFromId(bitmap_size, id); in TEST_F()
52 ASSERT_TRUE(shared_bitmap.get() != NULL); in TEST_F()
53 EXPECT_EQ(memcmp(shared_bitmap->pixels(), bitmap->memory(), 4), 0); in TEST_F()
61 EXPECT_TRUE(shared_bitmap2->pixels() == shared_bitmap->pixels()); in TEST_F()
63 EXPECT_EQ(memcmp(shared_bitmap->pixels(), bitmap->memory(), size_in_bytes), in TEST_F()
70 EXPECT_EQ(memcmp(shared_bitmap->pixels(), bitmap->memory(), size_in_bytes), in TEST_F()
73 shared_bitmap.reset(); in TEST_F()
90 scoped_ptr<cc::SharedBitmap> shared_bitmap; in TEST_F() local
91 shared_bitmap = manager_->GetSharedBitmapFromId(bitmap_size, id); in TEST_F()
[all …]
/external/chromium_org/content/browser/renderer_host/
Dsoftware_frame_manager.cc39 scoped_ptr<cc::SharedBitmap> shared_bitmap);
58 scoped_ptr<cc::SharedBitmap> shared_bitmap) in SoftwareFrame() argument
64 shared_bitmap_(shared_bitmap.Pass()) {} in SoftwareFrame()
89 scoped_ptr<cc::SharedBitmap> shared_bitmap = in SwapToNewFrame() local
93 if (!shared_bitmap) { in SwapToNewFrame()
105 shared_bitmap.Pass())); in SwapToNewFrame()
/external/chromium_org/cc/test/
Dtest_shared_bitmap_manager.cc11 void FreeSharedBitmap(SharedBitmap* shared_bitmap) { in FreeSharedBitmap() argument
12 delete shared_bitmap->memory(); in FreeSharedBitmap()
15 void IgnoreSharedBitmap(SharedBitmap* shared_bitmap) {} in IgnoreSharedBitmap() argument
/external/chromium_org/mojo/aura/
Dcontext_factory_mojo.cc18 void FreeSharedBitmap(cc::SharedBitmap* shared_bitmap) { in FreeSharedBitmap() argument
19 delete shared_bitmap->memory(); in FreeSharedBitmap()
22 void IgnoreSharedBitmap(cc::SharedBitmap* shared_bitmap) {} in IgnoreSharedBitmap() argument
/external/chromium_org/content/renderer/gpu/
Dcompositor_software_output_device.cc80 scoped_ptr<cc::SharedBitmap> shared_bitmap = in CreateBuffer() local
82 CHECK(shared_bitmap); in CreateBuffer()
83 return new Buffer(GetNextId(), shared_bitmap.Pass()); in CreateBuffer()
/external/chromium_org/content/renderer/pepper/
Dpepper_graphics_2d_host.cc562 scoped_ptr<cc::SharedBitmap> shared_bitmap = in PrepareTextureMailbox() local
566 if (!shared_bitmap) in PrepareTextureMailbox()
569 memcpy(shared_bitmap->pixels(), in PrepareTextureMailbox()
574 *mailbox = cc::TextureMailbox(shared_bitmap->memory(), pixel_image_size); in PrepareTextureMailbox()
576 base::Bind(&ReleaseCallback, base::Passed(&shared_bitmap))); in PrepareTextureMailbox()
/external/chromium_org/cc/resources/
Dresource_provider.cc251 shared_bitmap(NULL) {} in Resource()
296 shared_bitmap(NULL) { in Resource()
339 shared_bitmap(bitmap) { in Resource()
384 shared_bitmap(NULL) { in Resource()
788 scoped_ptr<SharedBitmap> shared_bitmap; in CreateResourceFromTextureMailbox() local
790 shared_bitmap = in CreateResourceFromTextureMailbox()
794 shared_bitmap.release(), in CreateResourceFromTextureMailbox()
884 delete resource->shared_bitmap; in DeleteResourceInternal()
885 resource->shared_bitmap = NULL; in DeleteResourceInternal()
896 if (resource->shared_bitmap) { in DeleteResourceInternal()
[all …]
Dresource_provider.h447 SharedBitmap* shared_bitmap; member
/external/chromium_org/cc/
Dcc.gyp404 'resources/shared_bitmap.cc',
405 'resources/shared_bitmap.h',
DBUILD.gn377 "resources/shared_bitmap.cc",
378 "resources/shared_bitmap.h",
Dcc.target.linux-x86.mk200 cc/resources/shared_bitmap.cc \
Dcc.target.linux-x86_64.mk200 cc/resources/shared_bitmap.cc \
Dcc.target.darwin-mips.mk200 cc/resources/shared_bitmap.cc \
Dcc.target.linux-arm64.mk200 cc/resources/shared_bitmap.cc \
Dcc.target.darwin-arm64.mk200 cc/resources/shared_bitmap.cc \
Dcc.target.linux-arm.mk200 cc/resources/shared_bitmap.cc \
Dcc.target.darwin-x86_64.mk200 cc/resources/shared_bitmap.cc \
Dcc.target.darwin-arm.mk200 cc/resources/shared_bitmap.cc \
Dcc.target.linux-mips.mk200 cc/resources/shared_bitmap.cc \
Dcc.target.darwin-x86.mk200 cc/resources/shared_bitmap.cc \
/external/chromium_org/content/renderer/
Drender_view_impl.cc3848 scoped_ptr<cc::SharedBitmap> shared_bitmap = in didTapMultipleTargets() local
3854 bitmap.installPixels(info, shared_bitmap->pixels(), info.minRowBytes()); in didTapMultipleTargets()
3877 shared_bitmap->id())); in didTapMultipleTargets()
3878 cc::SharedBitmapId id = shared_bitmap->id(); in didTapMultipleTargets()
3879 disambiguation_bitmaps_[id] = shared_bitmap.release(); in didTapMultipleTargets()