/external/chromium_org/content/common/ |
D | host_shared_bitmap_manager_unittest.cc | 50 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/ |
D | software_frame_manager.cc | 39 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/ |
D | test_shared_bitmap_manager.cc | 11 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/ |
D | context_factory_mojo.cc | 18 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/ |
D | compositor_software_output_device.cc | 80 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/ |
D | pepper_graphics_2d_host.cc | 562 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/ |
D | resource_provider.cc | 251 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 …]
|
D | resource_provider.h | 447 SharedBitmap* shared_bitmap; member
|
/external/chromium_org/cc/ |
D | cc.gyp | 404 'resources/shared_bitmap.cc', 405 'resources/shared_bitmap.h',
|
D | BUILD.gn | 377 "resources/shared_bitmap.cc", 378 "resources/shared_bitmap.h",
|
D | cc.target.linux-x86.mk | 200 cc/resources/shared_bitmap.cc \
|
D | cc.target.linux-x86_64.mk | 200 cc/resources/shared_bitmap.cc \
|
D | cc.target.darwin-mips.mk | 200 cc/resources/shared_bitmap.cc \
|
D | cc.target.linux-arm64.mk | 200 cc/resources/shared_bitmap.cc \
|
D | cc.target.darwin-arm64.mk | 200 cc/resources/shared_bitmap.cc \
|
D | cc.target.linux-arm.mk | 200 cc/resources/shared_bitmap.cc \
|
D | cc.target.darwin-x86_64.mk | 200 cc/resources/shared_bitmap.cc \
|
D | cc.target.darwin-arm.mk | 200 cc/resources/shared_bitmap.cc \
|
D | cc.target.linux-mips.mk | 200 cc/resources/shared_bitmap.cc \
|
D | cc.target.darwin-x86.mk | 200 cc/resources/shared_bitmap.cc \
|
/external/chromium_org/content/renderer/ |
D | render_view_impl.cc | 3848 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()
|