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

Side by Side Diff: content/public/common/web_preferences.h

Issue 2503283007: Work around unknown Mac Intel driver bug causing non-deterministic behavior in GPU readback from 2D (Closed)
Patch Set: don't force software readback from 3d canvas Created 4 years, 1 month 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 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 CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ 5 #ifndef CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_
6 #define CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ 6 #define CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 bool privileged_webgl_extensions_enabled; 127 bool privileged_webgl_extensions_enabled;
128 bool webgl_errors_to_console_enabled; 128 bool webgl_errors_to_console_enabled;
129 bool mock_scrollbars_enabled; 129 bool mock_scrollbars_enabled;
130 bool hide_scrollbars; 130 bool hide_scrollbars;
131 bool accelerated_2d_canvas_enabled; 131 bool accelerated_2d_canvas_enabled;
132 int minimum_accelerated_2d_canvas_size; 132 int minimum_accelerated_2d_canvas_size;
133 bool disable_2d_canvas_copy_on_write; 133 bool disable_2d_canvas_copy_on_write;
134 bool antialiased_2d_canvas_disabled; 134 bool antialiased_2d_canvas_disabled;
135 bool antialiased_clips_2d_canvas_enabled; 135 bool antialiased_clips_2d_canvas_enabled;
136 int accelerated_2d_canvas_msaa_sample_count; 136 int accelerated_2d_canvas_msaa_sample_count;
137 bool force_software_readback_from_2d_canvas;
Zhenyao Mo 2016/11/17 22:46:05 initialize this in constructor
137 bool accelerated_filters_enabled; 138 bool accelerated_filters_enabled;
138 bool deferred_filters_enabled; 139 bool deferred_filters_enabled;
139 bool container_culling_enabled; 140 bool container_culling_enabled;
140 bool allow_running_insecure_content; 141 bool allow_running_insecure_content;
141 // If true, taints all <canvas> elements, regardless of origin. 142 // If true, taints all <canvas> elements, regardless of origin.
142 bool disable_reading_from_canvas; 143 bool disable_reading_from_canvas;
143 // Strict mixed content checking disables both displaying and running insecure 144 // Strict mixed content checking disables both displaying and running insecure
144 // mixed content, and disables embedder notifications that such content was 145 // mixed content, and disables embedder notifications that such content was
145 // requested (thereby preventing user override). 146 // requested (thereby preventing user override).
146 bool strict_mixed_content_checking; 147 bool strict_mixed_content_checking;
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 // chrome, except for the cases where it would require lots of extra work for 266 // chrome, except for the cases where it would require lots of extra work for
266 // the embedder to use the same default value. 267 // the embedder to use the same default value.
267 WebPreferences(); 268 WebPreferences();
268 WebPreferences(const WebPreferences& other); 269 WebPreferences(const WebPreferences& other);
269 ~WebPreferences(); 270 ~WebPreferences();
270 }; 271 };
271 272
272 } // namespace content 273 } // namespace content
273 274
274 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ 275 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698