Searched refs:draw_properties (Results 1 - 25 of 29) sorted by relevance

12

/external/chromium_org/cc/layers/
H A Dcontents_scaling_layer.cc39 if (draw_properties().contents_scale_x == last_update_contents_scale_x_ &&
40 draw_properties().contents_scale_y == last_update_contents_scale_y_)
43 last_update_contents_scale_x_ = draw_properties().contents_scale_x;
44 last_update_contents_scale_y_ = draw_properties().contents_scale_y;
H A Dpicture_image_layer_impl_unittest.cc80 layer->draw_properties().ideal_contents_scale = ideal_contents_scale;
81 layer->draw_properties().device_scale_factor = device_scale_factor;
82 layer->draw_properties().page_scale_factor = page_scale_factor;
83 layer->draw_properties().maximum_animation_contents_scale =
85 layer->draw_properties().screen_space_transform_is_animating =
149 active_layer->draw_properties().visible_content_rect =
H A Dsolid_color_layer_impl_unittest.cc35 layer->draw_properties().visible_content_rect = visible_content_rect;
39 layer->draw_properties().render_target = layer.get();
62 layer->draw_properties().visible_content_rect = visible_content_rect;
67 layer->draw_properties().render_target = layer.get();
92 layer->draw_properties().visible_content_rect = visible_content_rect;
95 layer->draw_properties().opacity = opacity;
97 layer->draw_properties().render_target = layer.get();
142 layer_impl->draw_properties().opacity = 1;
169 layer_impl->draw_properties().opacity = 1;
H A Dtiled_layer_unittest.cc284 layer->draw_properties().visible_content_rect = gfx::Rect(0, 0, 100, 100);
386 layer->draw_properties().visible_content_rect = gfx::Rect(0, 0, 100, 100);
407 layer->draw_properties().visible_content_rect = gfx::Rect(200, 200, 100, 100);
475 layer->draw_properties().visible_content_rect = previous_visible_rect;
481 layer->draw_properties().visible_content_rect = visible_rect;
494 layer->draw_properties().visible_content_rect = next_visible_rect;
544 layer1->draw_properties().visible_content_rect = layer1_rect;
545 layer2->draw_properties().visible_content_rect = gfx::Rect(0, 0, 100, 100);
591 layer->draw_properties().visible_content_rect = gfx::Rect(0, 0, 100, 100);
613 layer->draw_properties()
[all...]
H A Dlayer_utils_unittest.cc68 child()->draw_properties().screen_space_transform_is_animating = true;
91 child()->draw_properties().screen_space_transform_is_animating = true;
114 child()->draw_properties().screen_space_transform_is_animating = true;
141 child()->draw_properties().screen_space_transform_is_animating = true;
165 child()->draw_properties().screen_space_transform_is_animating = true;
199 child()->draw_properties().screen_space_transform_is_animating = true;
225 child()->draw_properties().screen_space_transform_is_animating = true;
257 child()->draw_properties().screen_space_transform_is_animating = true;
H A Dsurface_layer_impl.cc57 draw_properties().target_space_transform)
H A Dpicture_layer_impl.cc183 draw_properties().target_space_transform,
205 draw_properties().clip_rect,
206 draw_properties().is_clipped,
207 draw_properties().opacity,
500 draw_properties().screen_space_transform_is_animating;
909 draw_properties().screen_space_transform !=
910 twin_layer_->draw_properties().screen_space_transform) {
1069 !draw_properties().screen_space_transform_is_animating && !low_res &&
1087 draw_properties().screen_space_transform_is_animating)
1090 if (draw_properties()
[all...]
H A Dscrollbar_layer_unittest.cc361 scrollbar_layer_impl->draw_properties().contents_scale_x = 2.f;
362 scrollbar_layer_impl->draw_properties().contents_scale_y = 2.f;
375 scrollbar_layer_impl->draw_properties().contents_scale_x = 1.f;
376 scrollbar_layer_impl->draw_properties().contents_scale_y = 1.f;
734 scrollbar_layer->draw_properties().content_bounds = gfx::Size(100, 200);
735 scrollbar_layer->draw_properties().visible_content_rect =
738 scrollbar_layer->draw_properties().render_target = scrollbar_layer.get();
812 scrollbar_layer->draw_properties().content_bounds = gfx::Size(100, 200);
813 scrollbar_layer->draw_properties().visible_content_rect =
817 scrollbar_layer->draw_properties()
[all...]
H A Dtiled_layer_impl_unittest.cc35 layer->draw_properties().visible_content_rect =
37 layer->draw_properties().opacity = 1;
41 layer->draw_properties().render_target = layer.get();
70 layer->draw_properties().visible_content_rect = visible_content_rect;
110 layer->draw_properties().visible_content_rect = gfx::Rect();
124 layer->draw_properties().visible_content_rect = outside_bounds;
H A Drender_surface_unittest.cc94 owning_layer->draw_properties().render_target = owning_layer.get();
160 owning_layer->draw_properties().render_target = owning_layer.get();
H A Dio_surface_layer_impl.cc82 draw_properties().target_space_transform)
H A Dsolid_color_layer_impl.cc81 draw_properties().target_space_transform,
H A Dsolid_color_scrollbar_layer_impl.cc111 draw_properties().target_space_transform)
H A Drender_surface_impl.cc221 DCHECK(owning_layer_->draw_properties().target_space_transform.IsScale2d());
223 owning_layer_->draw_properties().target_space_transform.Scale2d();
H A Dui_resource_layer_impl_unittest.cc32 layer->draw_properties().visible_content_rect = visible_content_rect;
36 layer->draw_properties().render_target = layer.get();
H A Dui_resource_layer_impl.cc126 draw_properties().target_space_transform)
H A Dnine_patch_layer_impl_unittest.cc51 layer->draw_properties().visible_content_rect = visible_content_rect;
55 layer->draw_properties().render_target = layer.get();
H A Dpicture_layer_impl_unittest.cc161 layer->draw_properties().ideal_contents_scale = ideal_contents_scale;
162 layer->draw_properties().device_scale_factor = device_scale_factor;
163 layer->draw_properties().page_scale_factor = page_scale_factor;
164 layer->draw_properties().maximum_animation_contents_scale =
166 layer->draw_properties().screen_space_transform_is_animating =
357 active_layer_->draw_properties().visible_content_rect = viewport;
358 active_layer_->draw_properties().screen_space_transform = transform;
395 active_layer_->draw_properties().visible_content_rect = viewport;
396 active_layer_->draw_properties().screen_space_transform = transform;
457 active_layer_->draw_properties()
[all...]
H A Dlayer.h21 #include "cc/layers/draw_properties.h"
212 DrawProperties<Layer>& draw_properties() { return draw_properties_; } function in class:cc::Layer
213 const DrawProperties<Layer>& draw_properties() const { function in class:cc::Layer
H A Dtexture_layer_impl.cc163 draw_properties().target_space_transform)
H A Dlayer_impl.h22 #include "cc/layers/draw_properties.h"
307 DrawProperties<LayerImpl>& draw_properties() { function in class:cc::LayerImpl
310 const DrawProperties<LayerImpl>& draw_properties() const { function in class:cc::LayerImpl
/external/chromium_org/cc/test/
H A Dtiled_layer_test_common.cc109 draw_properties().render_target = 0;
119 &draw_properties().contents_scale_x,
120 &draw_properties().contents_scale_y,
121 &draw_properties().content_bounds);
151 draw_properties().content_bounds = forced_content_bounds_;
/external/chromium_org/cc/trees/
H A Dlayer_tree_host_common.cc489 if (layer->draw_properties().layer_or_descendant_has_copy_request)
494 if (layer->draw_properties().layer_or_descendant_has_input_handler)
520 if (layer->draw_properties().layer_or_descendant_has_copy_request)
525 if (layer->draw_properties().layer_or_descendant_has_input_handler)
930 layer->draw_properties().ideal_contents_scale = ideal_contents_scale;
931 layer->draw_properties().maximum_animation_contents_scale =
933 layer->draw_properties().page_scale_factor = page_scale_factor;
934 layer->draw_properties().device_scale_factor = device_scale_factor;
945 &layer->draw_properties().contents_scale_x,
946 &layer->draw_properties()
[all...]
H A Dlayer_sorter_unittest.cc230 layer1->draw_properties().target_space_transform = BehindMatrix;
235 layer2->draw_properties().target_space_transform = BehindMatrix;
240 layer3->draw_properties().target_space_transform = FrontMatrix;
245 layer4->draw_properties().target_space_transform = FrontMatrix;
250 layer5->draw_properties().target_space_transform = BehindMatrix;
303 layer1->draw_properties().target_space_transform = BehindMatrix;
308 layer2->draw_properties().target_space_transform = FrontMatrix;
H A Dlayer_tree_host_common_unittest.cc1164 EXPECT_EQ(translate, root->draw_properties().target_space_transform);
1165 EXPECT_EQ(translate, child->draw_properties().target_space_transform);
1167 EXPECT_EQ(1.f, root->draw_properties().device_scale_factor);
1168 EXPECT_EQ(1.f, child->draw_properties().device_scale_factor);
1179 EXPECT_EQ(scale, root->draw_properties().target_space_transform);
1180 EXPECT_EQ(scale, child->draw_properties().target_space_transform);
1182 EXPECT_EQ(2.f, root->draw_properties().device_scale_factor);
1183 EXPECT_EQ(2.f, child->draw_properties().device_scale_factor);
1194 EXPECT_EQ(rotate, root->draw_properties().target_space_transform);
1195 EXPECT_EQ(rotate, child->draw_properties()
[all...]

Completed in 333 milliseconds

12