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

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

Issue 2061993003: Pass responsibility for IOSurface-texture reuse to the gpu process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@temp85_query_in_use
Patch Set: Rebase. Created 4 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
« no previous file with comments | « cc/output/overlay_unittest.cc ('k') | cc/output/renderer_settings.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_RENDERER_SETTINGS_H_ 5 #ifndef CC_OUTPUT_RENDERER_SETTINGS_H_
6 #define CC_OUTPUT_RENDERER_SETTINGS_H_ 6 #define CC_OUTPUT_RENDERER_SETTINGS_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "cc/base/cc_export.h" 10 #include "cc/base/cc_export.h"
(...skipping 11 matching lines...) Expand all
22 RendererSettings(const RendererSettings& other); 22 RendererSettings(const RendererSettings& other);
23 ~RendererSettings(); 23 ~RendererSettings();
24 24
25 bool allow_antialiasing; 25 bool allow_antialiasing;
26 bool force_antialiasing; 26 bool force_antialiasing;
27 bool force_blending_with_shaders; 27 bool force_blending_with_shaders;
28 bool partial_swap_enabled; 28 bool partial_swap_enabled;
29 bool finish_rendering_on_resize; 29 bool finish_rendering_on_resize;
30 bool should_clear_root_render_pass; 30 bool should_clear_root_render_pass;
31 bool disable_display_vsync; 31 bool disable_display_vsync;
32 bool release_overlay_resources_on_swap_complete; 32 bool release_overlay_resources_after_gpu_query;
33 double refresh_rate; 33 double refresh_rate;
34 int highp_threshold_min; 34 int highp_threshold_min;
35 size_t texture_id_allocation_chunk_size; 35 size_t texture_id_allocation_chunk_size;
36 bool use_gpu_memory_buffer_resources; 36 bool use_gpu_memory_buffer_resources;
37 ResourceFormat preferred_tile_format; 37 ResourceFormat preferred_tile_format;
38 38
39 void ToProtobuf(proto::RendererSettings* proto) const; 39 void ToProtobuf(proto::RendererSettings* proto) const;
40 void FromProtobuf(const proto::RendererSettings& proto); 40 void FromProtobuf(const proto::RendererSettings& proto);
41 41
42 bool operator==(const RendererSettings& other) const; 42 bool operator==(const RendererSettings& other) const;
43 }; 43 };
44 44
45 } // namespace cc 45 } // namespace cc
46 46
47 #endif // CC_OUTPUT_RENDERER_SETTINGS_H_ 47 #endif // CC_OUTPUT_RENDERER_SETTINGS_H_
OLDNEW
« no previous file with comments | « cc/output/overlay_unittest.cc ('k') | cc/output/renderer_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698