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

Side by Side Diff: cc/trees/layer_tree_host.h

Issue 16304003: Unified OutputSurface::SwapBuffers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to 205473 Created 7 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 | Annotate | Revision Log
« no previous file with comments | « cc/test/layer_tree_test.cc ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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_TREES_LAYER_TREE_HOST_H_ 5 #ifndef CC_TREES_LAYER_TREE_HOST_H_
6 #define CC_TREES_LAYER_TREE_HOST_H_ 6 #define CC_TREES_LAYER_TREE_HOST_H_
7 7
8 #include <limits> 8 #include <limits>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 67
68 // Provides information on an Impl's rendering capabilities back to the 68 // Provides information on an Impl's rendering capabilities back to the
69 // LayerTreeHost. 69 // LayerTreeHost.
70 struct CC_EXPORT RendererCapabilities { 70 struct CC_EXPORT RendererCapabilities {
71 RendererCapabilities(); 71 RendererCapabilities();
72 ~RendererCapabilities(); 72 ~RendererCapabilities();
73 73
74 unsigned best_texture_format; 74 unsigned best_texture_format;
75 bool using_partial_swap; 75 bool using_partial_swap;
76 bool using_set_visibility; 76 bool using_set_visibility;
77 bool using_swap_complete_callback;
78 bool using_gpu_memory_manager; 77 bool using_gpu_memory_manager;
79 bool using_egl_image; 78 bool using_egl_image;
80 bool allow_partial_texture_updates; 79 bool allow_partial_texture_updates;
81 bool using_offscreen_context3d; 80 bool using_offscreen_context3d;
82 int max_texture_size; 81 int max_texture_size;
83 bool avoid_pow2_textures; 82 bool avoid_pow2_textures;
84 bool using_map_image; 83 bool using_map_image;
85 }; 84 };
86 85
87 class CC_EXPORT LayerTreeHost : NON_EXPORTED_BASE(public RateLimiterClient) { 86 class CC_EXPORT LayerTreeHost : NON_EXPORTED_BASE(public RateLimiterClient) {
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 int64 total_num_cc_layers_will_use_lcd_text; 364 int64 total_num_cc_layers_will_use_lcd_text;
366 }; 365 };
367 LCDTextMetrics lcd_text_metrics_; 366 LCDTextMetrics lcd_text_metrics_;
368 367
369 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 368 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
370 }; 369 };
371 370
372 } // namespace cc 371 } // namespace cc
373 372
374 #endif // CC_TREES_LAYER_TREE_HOST_H_ 373 #endif // CC_TREES_LAYER_TREE_HOST_H_
OLDNEW
« no previous file with comments | « cc/test/layer_tree_test.cc ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698