Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Side by Side Diff: cc/output/compositor_frame_metadata.h

Issue 2810813004: Hide fullscreen rotation jank (Closed)
Patch Set: Remove physical_backing_resized param and other cr feedback Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_ 5 #ifndef CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_
6 #define CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_ 6 #define CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 30 matching lines...) Expand all
41 41
42 // These limits can be used together with the scroll/scale fields above to 42 // These limits can be used together with the scroll/scale fields above to
43 // determine if scrolling/scaling in a particular direction is possible. 43 // determine if scrolling/scaling in a particular direction is possible.
44 gfx::SizeF scrollable_viewport_size; 44 gfx::SizeF scrollable_viewport_size;
45 gfx::SizeF root_layer_size; 45 gfx::SizeF root_layer_size;
46 float min_page_scale_factor = 0.f; 46 float min_page_scale_factor = 0.f;
47 float max_page_scale_factor = 0.f; 47 float max_page_scale_factor = 0.f;
48 bool root_overflow_x_hidden = false; 48 bool root_overflow_x_hidden = false;
49 bool root_overflow_y_hidden = false; 49 bool root_overflow_y_hidden = false;
50 bool may_contain_video = false; 50 bool may_contain_video = false;
51 bool is_fullscreen = false;
aelias_OOO_until_Jul13 2017/06/17 01:18:34 What about using root_pass->has_transparent_backgr
51 52
52 // WebView makes quality decisions for rastering resourceless software frames 53 // WebView makes quality decisions for rastering resourceless software frames
53 // based on information that a scroll or animation is active. 54 // based on information that a scroll or animation is active.
54 // TODO(aelias): Remove this and always enable filtering if there aren't apps 55 // TODO(aelias): Remove this and always enable filtering if there aren't apps
55 // depending on this anymore. 56 // depending on this anymore.
56 bool is_resourceless_software_draw_with_scroll_or_animation = false; 57 bool is_resourceless_software_draw_with_scroll_or_animation = false;
57 58
58 // Used to position the Android location top bar and page content, whose 59 // Used to position the Android location top bar and page content, whose
59 // precise position is computed by the renderer compositor. 60 // precise position is computed by the renderer compositor.
60 float top_controls_height = 0.f; 61 float top_controls_height = 0.f;
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 uint32_t frame_token = 0; 118 uint32_t frame_token = 0;
118 119
119 private: 120 private:
120 CompositorFrameMetadata(const CompositorFrameMetadata& other); 121 CompositorFrameMetadata(const CompositorFrameMetadata& other);
121 CompositorFrameMetadata operator=(const CompositorFrameMetadata&) = delete; 122 CompositorFrameMetadata operator=(const CompositorFrameMetadata&) = delete;
122 }; 123 };
123 124
124 } // namespace cc 125 } // namespace cc
125 126
126 #endif // CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_ 127 #endif // CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698