Searched defs:paint_rect (Results 1 - 19 of 19) sorted by relevance

/external/chromium_org/cc/resources/
H A Dcontent_layer_updater.h36 // layer's content space. |paint_rect| bounds to paint in content space of the
37 // layer. Both |content_size| and |paint_rect| are in pixels.
40 const gfx::Rect& paint_rect,
43 gfx::Rect paint_rect() const { return paint_rect_; } function in class:cc::ContentLayerUpdater
H A Dskpicture_content_layer_updater.cc27 const gfx::Rect& paint_rect,
33 recorder.beginRecording(paint_rect.width(), paint_rect.height(), NULL, 0);
34 DCHECK_EQ(paint_rect.width(), canvas->getBaseLayerSize().width());
35 DCHECK_EQ(paint_rect.height(), canvas->getBaseLayerSize().height());
40 paint_rect,
46 duration, paint_rect.width() * paint_rect.height());
25 PrepareToUpdate( const gfx::Size& content_size, const gfx::Rect& paint_rect, const gfx::Size& tile_size, float contents_width_scale, float contents_height_scale) argument
H A Dcontent_layer_updater.cc42 const gfx::Rect& paint_rect,
49 canvas->translate(SkIntToScalar(-paint_rect.x()),
50 SkIntToScalar(-paint_rect.y()));
52 // The |canvas| backing should be sized to hold the |paint_rect|.
53 DCHECK_EQ(paint_rect.width(), canvas->getBaseLayerSize().width());
54 DCHECK_EQ(paint_rect.height(), canvas->getBaseLayerSize().height());
74 DCHECK_LE(paint_rect.right(), layer_content_rect.right());
75 DCHECK_LE(paint_rect.bottom(), layer_content_rect.bottom());
94 paint_rect, 1.f / contents_width_scale, 1.f / contents_height_scale);
96 layer_rect = paint_rect;
40 PaintContents(SkCanvas* canvas, const gfx::Size& layer_content_size, const gfx::Rect& paint_rect, float contents_width_scale, float contents_height_scale) argument
[all...]
H A Dlayer_updater.h51 const gfx::Rect& paint_rect,
50 PrepareToUpdate(const gfx::Size& content_size, const gfx::Rect& paint_rect, const gfx::Size& tile_size, float contents_width_scale, float contents_height_scale) argument
H A Dbitmap_content_layer_updater.cc58 const gfx::Rect& paint_rect,
62 if (canvas_size_ != paint_rect.size()) {
65 canvas_size_ = paint_rect.size();
70 DCHECK_EQ(paint_rect.width(), canvas_->getBaseLayerSize().width());
71 DCHECK_EQ(paint_rect.height(), canvas_->getBaseLayerSize().height());
78 paint_rect,
84 duration, paint_rect.width() * paint_rect.height());
94 texture, &bitmap_backing_, paint_rect(), source_rect, dest_offset);
57 PrepareToUpdate(const gfx::Size& content_size, const gfx::Rect& paint_rect, const gfx::Size& tile_size, float contents_width_scale, float contents_height_scale) argument
H A Dpicture_layer_tiling.cc123 gfx::Rect paint_rect = tiling_data_.TileBoundsWithBorder(i, j); local
124 gfx::Rect tile_rect = paint_rect;
133 gfx::ScaleToEnclosingRect(paint_rect, 1.0f / contents_scale_);
/external/chromium_org/cc/test/
H A Dfake_content_layer_client.cc21 const gfx::Rect& paint_rect,
26 canvas->clipRect(gfx::RectToSkRect(paint_rect));
43 // Add a rectangle to the middle that doesn't fill |paint_rect| so that solid
46 gfx::RectF draw_rect = paint_rect;
19 PaintContents( SkCanvas* canvas, const gfx::Rect& paint_rect, ContentLayerClient::GraphicsContextStatus gc_status) argument
H A Dtiled_layer_test_common.cc39 const gfx::Rect& paint_rect,
44 last_update_rect_ = paint_rect;
38 PrepareToUpdate(const gfx::Size& content_size, const gfx::Rect& paint_rect, const gfx::Size& tile_size, float contents_width_scale, float contents_height_scale) argument
/external/chromium_org/content/browser/web_contents/aura/
H A Dshadow_layer_delegate.cc47 gfx::Rect paint_rect = gfx::Rect(0, 0, kShadowThick, local
51 canvas->sk_canvas()->drawRect(gfx::RectToSkRect(paint_rect), paint);
/external/chromium_org/cc/trees/
H A Dlayer_tree_host_unittest_damage.cc313 gfx::RectF paint_rect = child_->LastPaintRect(); variable
314 paint_rect.set_origin(child_->position());
316 paint_rect.ToString());
/external/chromium_org/ppapi/utility/graphics/
H A Dpaint_aggregator.cc205 Rect PaintAggregator::ScrollPaintRect(const Rect& paint_rect, argument
207 Rect result = paint_rect;
/external/chromium_org/components/plugins/renderer/
H A Dwebview_plugin.cc133 gfx::Rect paint_rect = gfx::IntersectRects(rect_, rect); local
134 if (paint_rect.IsEmpty())
137 paint_rect.Offset(-rect_.x(), -rect_.y());
143 web_view_->paint(canvas, paint_rect);
/external/chromium_org/pdf/
H A Dpaint_aggregator.cc206 pp::Rect PaintAggregator::ScrollPaintRect(const pp::Rect& paint_rect, argument
208 pp::Rect result = paint_rect;
/external/chromium_org/skia/ext/
H A Dpixel_ref_utils.cc338 SkRect paint_rect = SkRect::MakeEmpty(); local
339 paint_rect.intersect(rect, canvas_rect);
340 pixel_ref_set_->Add(bm.pixelRef(), paint_rect);
/external/chromium_org/cc/layers/
H A Dtiled_layer.cc337 gfx::Rect paint_rect; local
339 &update_rect, &paint_rect, left, top, right, bottom, ignore_occlusions);
341 if (paint_rect.IsEmpty())
346 update_rect, paint_rect, left, top, right, bottom, queue, occlusion);
412 gfx::Rect* paint_rect,
449 paint_rect->Union(tile->dirty_rect);
456 const gfx::Rect& paint_rect,
464 // paint_rect from content space to layer space.
476 paint_rect, local
502 source_rect.Intersect(paint_rect);
411 MarkTilesForUpdate(gfx::Rect* update_rect, gfx::Rect* paint_rect, int left, int top, int right, int bottom, bool ignore_occlusions) argument
455 UpdateTileTextures(const gfx::Rect& update_rect, const gfx::Rect& paint_rect, int left, int top, int right, int bottom, ResourceUpdateQueue* queue, const OcclusionTracker<Layer>* occlusion) argument
[all...]
/external/chromium_org/content/renderer/pepper/
H A Dpepper_graphics_2d_host.cc322 const gfx::Rect& paint_rect) {
328 invalidate_rect.Intersect(paint_rect);
320 Paint(blink::WebCanvas* canvas, const gfx::Rect& plugin_rect, const gfx::Rect& paint_rect) argument
H A Dpepper_plugin_instance_impl.cc737 const gfx::Rect& paint_rect) {
749 bound_graphics_2d_platform_->Paint(canvas, plugin_rect, paint_rect);
735 Paint(WebCanvas* canvas, const gfx::Rect& plugin_rect, const gfx::Rect& paint_rect) argument
/external/chromium_org/content/renderer/npapi/
H A Dwebplugin_impl.cc301 void WebPluginImpl::paint(WebCanvas* canvas, const WebRect& paint_rect) { argument
312 delegate_->Paint(canvas, paint_rect);
/external/chromium_org/ui/views/
H A Dview_unittest.cc1882 gfx::Rect paint_rect = top_view.scheduled_paint_rects_[0]; local
1883 paint_rect.Union(top_view.scheduled_paint_rects_[1]);
1884 EXPECT_EQ(gfx::Rect(10, 10, 40, 40), paint_rect);

Completed in 422 milliseconds