Home
last modified time | relevance | path

Searched refs:draw_properties (Results 1 – 25 of 31) sorted by relevance

12

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

12