HomeSort by relevance Sort by last modified time
    Searched full:layer_rect (Results 1 - 25 of 38) sorted by null

1 2

  /external/chromium_org/cc/test/
skia_common.cc 16 const gfx::Rect& layer_rect,
19 SkImageInfo::MakeN32Premul(layer_rect.width(), layer_rect.height());
23 canvas.clipRect(gfx::RectToSkRect(layer_rect));
skia_common.h 23 const gfx::Rect& layer_rect,
  /external/chromium_org/cc/resources/
content_layer_updater.cc 86 gfx::Rect layer_rect; local
93 layer_rect = gfx::ScaleToEnclosingRect(
96 layer_rect = paint_rect;
100 layer_rect.x(), layer_rect.y(), layer_rect.width(), layer_rect.height());
111 painter_->Paint(canvas, layer_rect);
picture.cc 88 const gfx::Rect& layer_rect,
93 scoped_refptr<Picture> picture = make_scoped_refptr(new Picture(layer_rect));
102 Picture::Picture(const gfx::Rect& layer_rect)
103 : layer_rect_(layer_rect),
104 cell_size_(layer_rect.size()) {
124 gfx::Rect layer_rect(skpicture->width(), skpicture->height());
125 return make_scoped_refptr(new Picture(skpicture, layer_rect));
143 if (!value->Get("params.layer_rect", &layer_rect_value))
146 gfx::Rect layer_rect;
147 if (!MathUtil::FromValue(layer_rect_value, &layer_rect))
455 gfx::Rect layer_rect = picture->layer_rect_; local
    [all...]
picture_unittest.cc 26 gfx::Rect layer_rect(100, 100);
52 content_layer_client.add_draw_rect(layer_rect, red_paint);
56 Picture::Create(layer_rect,
70 DrawPicture(one_rect_buffer, layer_rect, one_rect_picture);
72 DrawPicture(one_rect_buffer_check, layer_rect, one_rect_picture_check);
84 Picture::Create(layer_rect,
99 DrawPicture(two_rect_buffer, layer_rect, two_rect_picture);
101 DrawPicture(two_rect_buffer_check, layer_rect, two_rect_picture_check);
110 gfx::Rect layer_rect(2048, 2048);
143 scoped_refptr<Picture> picture = Picture::Create(layer_rect,
    [all...]
picture_pile_base.cc 149 gfx::Rect layer_rect = gfx::ScaleToEnclosingRect(
151 layer_rect.Intersect(gfx::Rect(tiling_.tiling_size()));
154 if (recorded_viewport_.Contains(layer_rect)) {
156 DCHECK(CanRasterSlowTileCheck(layer_rect));
160 return CanRasterSlowTileCheck(layer_rect);
164 const gfx::Rect& layer_rect) const {
166 for (TilingData::Iterator tile_iter(&tiling_, layer_rect, include_borders);
picture.h 57 const gfx::Rect& layer_rect,
96 PixelRefIterator(const gfx::Rect& layer_rect, const Picture* picture);
132 explicit Picture(const gfx::Rect& layer_rect);
136 const gfx::Rect& layer_rect,
139 Picture(SkPicture*, const gfx::Rect& layer_rect);
picture_pile_impl.cc 139 gfx::Rect layer_rect = gfx::ScaleToEnclosingRect( local
164 for (TilingData::Iterator tile_iter(&tiling_, layer_rect, include_borders);
340 gfx::Rect layer_rect = gfx::ScaleToEnclosingRect( local
343 layer_rect.Intersect(gfx::Rect(tiling_.tiling_size()));
345 skia::AnalysisCanvas canvas(layer_rect.width(), layer_rect.height());
347 RasterForAnalysis(&canvas, layer_rect, 1.0f, stats_instrumentation);
picture_pile_base.h 109 bool CanRasterSlowTileCheck(const gfx::Rect& layer_rect) const;
  /external/chromium_org/cc/trees/
layer_tree_host_pixeltest_on_demand_raster.cc 64 explicit BlueYellowLayerClient(gfx::Rect layer_rect)
65 : layer_rect_(layer_rect) {}
97 gfx::Rect layer_rect(200, 200);
98 BlueYellowLayerClient client(layer_rect);
102 layer->SetBounds(layer_rect.size());
103 layer->SetPosition(layer_rect.origin());
layer_tree_host_impl_unittest.cc     [all...]
  /external/chromium-trace/trace-viewer/src/cc/
picture_view_test_data.js 17 'layer_rect': [
picture_debugger_test.js 15 'layer_rect': [-15, -15, 46, 833]
picture.js 103 layer_rect: this.args.params.layerRect,
133 layer_rect: this.args.params.layerRect,
  /external/chromium_org/cc/layers/
painted_scrollbar_layer.cc 167 const gfx::Rect& layer_rect) const {
169 // layer_rect here might be in coordinates of the containing layer.
171 layer_rect, contents_scale_x(), contents_scale_y());
260 const gfx::Rect& layer_rect,
264 DCHECK(!layer_rect.size().IsEmpty());
271 content_rect.width() / static_cast<float>(layer_rect.width());
273 content_rect.height() / static_cast<float>(layer_rect.height());
277 skcanvas.translate(SkFloatToScalar(-layer_rect.x()),
278 SkFloatToScalar(-layer_rect.y()));
280 SkRect layer_skrect = RectToSkRect(layer_rect);
    [all...]
painted_scrollbar_layer.h 64 gfx::Rect ScrollbarLayerRectToContentRect(const gfx::Rect& layer_rect) const;
77 UIResourceBitmap RasterizeScrollbarPart(const gfx::Rect& layer_rect,
picture_layer.cc 47 // is identical to the layer_rect.
71 void PictureLayer::SetNeedsDisplayRect(const gfx::RectF& layer_rect) {
72 gfx::Rect rect = gfx::ToEnclosedRect(layer_rect);
78 Layer::SetNeedsDisplayRect(layer_rect);
picture_layer.h 31 virtual void SetNeedsDisplayRect(const gfx::RectF& layer_rect) OVERRIDE;
scrollbar_layer_impl_base.h 69 gfx::Rect ScrollbarLayerRectToContentRect(const gfx::RectF& layer_rect) const;
scrollbar_layer_impl_base.cc 99 const gfx::RectF& layer_rect) const {
101 // layer_rect here might be in coordinates of the containing layer.
102 gfx::RectF content_rect = gfx::ScaleRect(layer_rect,
tiled_layer_unittest.cc     [all...]
layer.cc 205 gfx::Rect Layer::LayerRectToContentRect(const gfx::RectF& layer_rect) const {
207 gfx::ScaleRect(layer_rect, contents_scale_x(), contents_scale_y());
    [all...]
texture_layer_unittest.cc 215 const gfx::Rect layer_rect(layer_bounds);
216 const Region layer_region(layer_rect);
220 layer->draw_properties().visible_content_rect = layer_rect;
    [all...]
  /external/chromium_org/skia/ext/
pixel_ref_utils_unittest.cc 70 SkCanvas* StartRecording(SkPictureRecorder* recorder, gfx::Rect layer_rect) {
72 recorder->beginRecording(layer_rect.width(), layer_rect.height());
75 canvas->translate(-layer_rect.x(), -layer_rect.y());
77 layer_rect.x(), layer_rect.y(), layer_rect.width(), layer_rect.height()));
90 gfx::Rect layer_rect(0, 0, 256, 256)
    [all...]
  /external/pdfium/core/src/fpdfapi/fpdf_page/
fpdf_page_graph_state.cpp 117 CPDF_Rect layer_rect; local
123 rect = layer_rect;
126 rect.Intersect(layer_rect);
131 layer_rect = pTextObj->GetBBox(NULL);
134 layer_rect.Union(pTextObj->GetBBox(NULL));

Completed in 458 milliseconds

1 2