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

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

Issue 14409006: cc: Changes to use GL API for GpuMemoryBuffers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@glapi
Patch Set: Incorporate code reviews Created 7 years, 7 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 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 bool using_partial_swap; 72 bool using_partial_swap;
73 bool using_accelerated_painting; 73 bool using_accelerated_painting;
74 bool using_set_visibility; 74 bool using_set_visibility;
75 bool using_swap_complete_callback; 75 bool using_swap_complete_callback;
76 bool using_gpu_memory_manager; 76 bool using_gpu_memory_manager;
77 bool using_egl_image; 77 bool using_egl_image;
78 bool allow_partial_texture_updates; 78 bool allow_partial_texture_updates;
79 bool using_offscreen_context3d; 79 bool using_offscreen_context3d;
80 int max_texture_size; 80 int max_texture_size;
81 bool avoid_pow2_textures; 81 bool avoid_pow2_textures;
82 bool use_gpu_memory_buffers;
reveman 2013/05/21 02:20:19 Sorry I didn't think of this earlier but for consi
kaanb 2013/05/21 17:53:48 Done. joth@ and I thought it may be good to disabl
82 }; 83 };
83 84
84 class CC_EXPORT LayerTreeHost : NON_EXPORTED_BASE(public RateLimiterClient) { 85 class CC_EXPORT LayerTreeHost : NON_EXPORTED_BASE(public RateLimiterClient) {
85 public: 86 public:
86 static scoped_ptr<LayerTreeHost> Create(LayerTreeHostClient* client, 87 static scoped_ptr<LayerTreeHost> Create(LayerTreeHostClient* client,
87 const LayerTreeSettings& settings, 88 const LayerTreeSettings& settings,
88 scoped_ptr<Thread> impl_thread); 89 scoped_ptr<Thread> impl_thread);
89 virtual ~LayerTreeHost(); 90 virtual ~LayerTreeHost();
90 91
91 void SetLayerTreeHostClientReady(); 92 void SetLayerTreeHostClientReady();
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 bool in_paint_layer_contents_; 345 bool in_paint_layer_contents_;
345 346
346 LatencyInfo latency_info_; 347 LatencyInfo latency_info_;
347 348
348 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 349 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
349 }; 350 };
350 351
351 } // namespace cc 352 } // namespace cc
352 353
353 #endif // CC_TREES_LAYER_TREE_HOST_H_ 354 #endif // CC_TREES_LAYER_TREE_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698