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

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

Issue 2945673002: Allow creating GLImage-backed textures with glTexStorage2D. (Closed)
Patch Set: fix unittests 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;
dcheng1 2017/08/09 09:58:57 Nit: I would personally prefix this with use_ to b
184
182 int major_version = 2; 185 int major_version = 2;
183 int minor_version = 0; 186 int minor_version = 0;
184 }; 187 };
185 188
186 } // namespace gpu 189 } // namespace gpu
187 190
188 #endif // GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ 191 #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