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

Side by Side Diff: content/renderer/render_thread_impl.h

Issue 196473007: Add --disable-low-res-tiling. Disable low res tiling to save power. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Resolve merge conflicts Created 6 years, 9 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
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 CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 } 205 }
206 206
207 bool is_gpu_rasterization_forced() const { 207 bool is_gpu_rasterization_forced() const {
208 return is_gpu_rasterization_forced_; 208 return is_gpu_rasterization_forced_;
209 } 209 }
210 210
211 bool is_impl_side_painting_enabled() const { 211 bool is_impl_side_painting_enabled() const {
212 return is_impl_side_painting_enabled_; 212 return is_impl_side_painting_enabled_;
213 } 213 }
214 214
215 bool is_low_res_tiling_enabled() const { return is_low_res_tiling_enabled_; }
216
215 bool is_lcd_text_enabled() const { return is_lcd_text_enabled_; } 217 bool is_lcd_text_enabled() const { return is_lcd_text_enabled_; }
216 218
217 bool is_map_image_enabled() const { return is_map_image_enabled_; } 219 bool is_map_image_enabled() const { return is_map_image_enabled_; }
218 220
219 AppCacheDispatcher* appcache_dispatcher() const { 221 AppCacheDispatcher* appcache_dispatcher() const {
220 return appcache_dispatcher_.get(); 222 return appcache_dispatcher_.get();
221 } 223 }
222 224
223 DomStorageDispatcher* dom_storage_dispatcher() const { 225 DomStorageDispatcher* dom_storage_dispatcher() const {
224 return dom_storage_dispatcher_.get(); 226 return dom_storage_dispatcher_.get();
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 527
526 // TODO(reveman): Allow AllocateGpuMemoryBuffer to be called from 528 // TODO(reveman): Allow AllocateGpuMemoryBuffer to be called from
527 // multiple threads. Current allocation mechanism for IOSurface 529 // multiple threads. Current allocation mechanism for IOSurface
528 // backed GpuMemoryBuffers prevent this. crbug.com/325045 530 // backed GpuMemoryBuffers prevent this. crbug.com/325045
529 base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_; 531 base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_;
530 532
531 // Compositor settings 533 // Compositor settings
532 bool is_gpu_rasterization_enabled_; 534 bool is_gpu_rasterization_enabled_;
533 bool is_gpu_rasterization_forced_; 535 bool is_gpu_rasterization_forced_;
534 bool is_impl_side_painting_enabled_; 536 bool is_impl_side_painting_enabled_;
537 bool is_low_res_tiling_enabled_;
535 bool is_lcd_text_enabled_; 538 bool is_lcd_text_enabled_;
536 bool is_map_image_enabled_; 539 bool is_map_image_enabled_;
537 540
538 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 541 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
539 }; 542 };
540 543
541 } // namespace content 544 } // namespace content
542 545
543 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 546 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698