Searched refs:bitmap_ (Results 1 - 25 of 59) sorted by relevance

123

/external/chromium_org/ui/gfx/image/
H A Dimage_skia_rep.h36 bool is_null() const { return bitmap_.isNull(); }
43 int pixel_width() const { return bitmap_.width(); }
44 int pixel_height() const { return bitmap_.height(); }
58 const SkBitmap& sk_bitmap() const { return bitmap_; }
62 SkBitmap& mutable_sk_bitmap() { return bitmap_; }
64 SkBitmap bitmap_; member in class:gfx::ImageSkiaRep
H A Dimage_skia_rep.cc18 bitmap_.allocN32Pixels(static_cast<int>(size.width() * this->scale()),
20 bitmap_.eraseColor(SK_ColorRED);
24 : bitmap_(src),
29 return static_cast<int>(bitmap_.width() / scale());
33 return static_cast<int>(bitmap_.height() / scale());
/external/chromium_org/cc/resources/
H A Dui_resource_request.cc16 : type_(type), id_(id), bitmap_(new UIResourceBitmap(bitmap)) {}
26 if (request.bitmap_) {
27 bitmap_ = make_scoped_ptr(new UIResourceBitmap(*request.bitmap_.get()));
29 bitmap_.reset();
H A Dui_resource_request.h35 DCHECK(bitmap_);
36 return *bitmap_.get();
44 scoped_ptr<UIResourceBitmap> bitmap_; member in class:cc::UIResourceRequest
H A Dscoped_ui_resource.cc21 : bitmap_(bitmap), host_(host) {
37 return bitmap_;
H A Dimage_layer_updater.cc44 gfx::Rect image_rect = gfx::Rect(0, 0, bitmap_.width(), bitmap_.height());
52 texture, &bitmap_, image_rect, clipped_source_rect, clipped_dest_offset);
61 bitmap_ = bitmap;
65 return bitmap.pixelRef() == bitmap_.pixelRef();
H A Dbitmap_skpicture_content_layer_updater.cc28 bitmap_.allocPixels(SkImageInfo::Make(
30 SkCanvas canvas(bitmap_);
34 texture(), &bitmap_, source_rect, source_rect, dest_offset);
H A Dscoped_ui_resource.h38 UIResourceBitmap bitmap_; member in class:cc::ScopedUIResource
H A Dui_resource_bitmap.cc83 const UIResourceBitmap& bitmap) : bitmap_(bitmap) {
84 bitmap_.pixel_ref_->lockPixels();
88 bitmap_.pixel_ref_->unlockPixels();
92 return static_cast<const uint8_t*>(bitmap_.pixel_ref_->pixels());
H A Dbitmap_skpicture_content_layer_updater.h29 SkBitmap bitmap_; member in class:cc::BitmapSkPictureContentLayerUpdater::Resource
H A Dimage_layer_updater.h53 SkBitmap bitmap_; member in class:cc::ImageLayerUpdater
/external/chromium_org/cc/layers/
H A Dimage_layer.cc29 if (bitmap.pixelRef() && bitmap.pixelRef() == bitmap_.pixelRef())
32 bitmap_ = bitmap;
38 return !bitmap_.isNull() && TiledLayer::HasDrawableContent();
51 if (!updater_->UsingBitmap(bitmap_)) {
52 updater_->SetBitmap(bitmap_);
78 *content_bounds = gfx::Size(bitmap_.width(), bitmap_.height());
88 if (bounds().IsEmpty() || bitmap_.width() == 0)
90 return static_cast<float>(bitmap_.width()) / bounds().width();
94 if (bounds().IsEmpty() || bitmap_
[all...]
H A Dpicture_image_layer.cc28 return !bitmap_.isNull() && PictureLayer::HasDrawableContent();
36 if (bitmap.pixelRef() && bitmap.pixelRef() == bitmap_.pixelRef())
39 bitmap_ = bitmap;
48 if (!bitmap_.width() || !bitmap_.height())
52 SkFloatToScalar(static_cast<float>(bounds().width()) / bitmap_.width());
54 SkFloatToScalar(static_cast<float>(bounds().height()) / bitmap_.height());
60 canvas->drawBitmap(bitmap_, 0, 0);
H A Dpicture_image_layer.h41 SkBitmap bitmap_; member in class:cc::PictureImageLayer
H A Dimage_layer.h48 SkBitmap bitmap_; member in class:cc::ImageLayer
/external/chromium_org/skia/ext/
H A Dbitmap_platform_device_mac_unittest.cc22 bitmap_.reset(BitmapPlatformDevice::Create(
26 scoped_ptr<BitmapPlatformDevice> bitmap_; member in class:skia::BitmapPlatformDeviceMacTest
38 bitmap_->setMatrixClip(transform, clip_region, ignore);
40 CGContextRef context = bitmap_->GetBitmapContext();
58 bitmap_->setMatrixClip(transform, clip_region, unused);
60 CGContextRef context = bitmap_->GetBitmapContext();
/external/chromium_org/cc/output/
H A Dcopy_output_result.cc17 bitmap_(bitmap.Pass()) {
18 DCHECK(bitmap_);
37 return bitmap_.Pass();
H A Dcopy_output_result.h39 bool HasBitmap() const { return !!bitmap_; }
55 scoped_ptr<SkBitmap> bitmap_; member in class:cc::CopyOutputResult
/external/chromium_org/third_party/webrtc/modules/desktop_capture/
H A Ddesktop_frame_win.h31 HBITMAP bitmap() { return bitmap_; }
40 HBITMAP bitmap_; member in class:webrtc::DesktopFrameWin
H A Ddesktop_frame_win.cc23 bitmap_(bitmap),
28 DeleteObject(bitmap_);
/external/chromium_org/chrome/browser/android/thumbnail/
H A Dthumbnail.cc44 bitmap_(gfx::Size(1, 1), true),
61 bitmap_ = cc::UIResourceBitmap(bitmap);
73 bitmap_ = cc::UIResourceBitmap(compressed_bitmap, data_size);
85 return bitmap_;
89 cc::UIResourceBitmap old_bitmap(bitmap_);
91 bitmap_ = cc::UIResourceBitmap(CreateSmallHolderBitmap());
/external/chromium_org/content/browser/android/
H A Dsystem_ui_resource_manager_impl.cc92 DCHECK(bitmap_.empty());
94 bitmap_ = bitmap;
98 if (bitmap_.empty())
108 DCHECK(!bitmap_.empty());
109 return cc::UIResourceBitmap(bitmap_);
115 const SkBitmap& bitmap() const { return bitmap_; }
118 SkBitmap bitmap_; member in class:content::SystemUIResourceManagerImpl::Entry
/external/chromium_org/chrome/browser/ui/ash/launcher/
H A Dlauncher_favicon_loader.cc37 const SkBitmap& bitmap() const { return bitmap_; }
63 SkBitmap bitmap_; member in class:internal::FaviconRawBitmapHandler
95 // Reset bitmap_ if no longer valid (i.e. not in the list of urls).
98 bitmap_.reset();
147 if (!bitmap_.isNull()) {
149 if (new_bitmap.height() > bitmap_.height())
153 bitmap_ = new_bitmap;
/external/chromium_org/remoting/client/jni/
H A Djni_frame_consumer.cc52 if (bitmap_->size().width() != buffer->size().width() ||
53 bitmap_->size().height() != buffer->size().height()) {
67 uint8* dest_buffer = static_cast<uint8*>(bitmap_->pixels());
73 bitmap_->stride(), buffer_rect, rect);
116 // |bitmap_| must be deleted before |bitmap_global_ref_| is released.
117 bitmap_.reset();
119 bitmap_.reset(new gfx::JavaBitmap(bitmap_global_ref_.obj()));
/external/chromium_org/mojo/services/public/cpp/view_manager/lib/
H A Dbitmap_uploader.cc79 bitmap_ = bitmap;
111 if (!bitmap_.isNull()) {
112 gfx::Size bitmap_size(bitmap_.width(), bitmap_.height());
114 bitmap_.lockPixels();
123 bitmap_.getPixels());
124 bitmap_.unlockPixels();
210 if (color_ != SK_ColorTRANSPARENT || !bitmap_.isNull())

Completed in 572 milliseconds

123