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

Side by Side Diff: gpu/command_buffer/common/capabilities.h

Issue 2999923002: Revert of Allow creating GLImage-backed textures with glTexStorage2D. (Closed)
Patch Set: rebase Created 3 years, 4 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ 5 #ifndef GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_
6 #define GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ 6 #define GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "gpu/gpu_export.h" 10 #include "gpu/gpu_export.h"
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 // work around this. See https://crbug.com/449150 for an example. 172 // work around this. See https://crbug.com/449150 for an example.
173 bool emulate_rgb_buffer_with_rgba = false; 173 bool emulate_rgb_buffer_with_rgba = false;
174 174
175 // When true, is safe to convert a canvas from software to accelerated. 175 // When true, is safe to convert a canvas from software to accelerated.
176 // See https://crbug.com/710029. 176 // See https://crbug.com/710029.
177 bool software_to_accelerated_canvas_upgrade = true; 177 bool software_to_accelerated_canvas_upgrade = true;
178 178
179 // When true, non-empty post sub buffer calls are unsupported. 179 // When true, non-empty post sub buffer calls are unsupported.
180 bool disable_non_empty_post_sub_buffers = false; 180 bool disable_non_empty_post_sub_buffers = false;
181 181
182 // Use GL_CHROMIUM_texture_buffer extension if true.
183 bool texture_buffer_chromium = false;
184
185 int major_version = 2; 182 int major_version = 2;
186 int minor_version = 0; 183 int minor_version = 0;
187 }; 184 };
188 185
189 } // namespace gpu 186 } // namespace gpu
190 187
191 #endif // GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ 188 #endif // GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/common/gles2_cmd_utils_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698