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

Side by Side Diff: gpu/command_buffer/service/feature_info.h

Issue 2945673002: 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 (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 GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_
6 #define GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ 6 #define GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 bool chromium_copy_texture = false; 109 bool chromium_copy_texture = false;
110 bool chromium_copy_compressed_texture = false; 110 bool chromium_copy_compressed_texture = false;
111 bool angle_framebuffer_multisample = false; 111 bool angle_framebuffer_multisample = false;
112 bool ext_disjoint_timer_query = false; 112 bool ext_disjoint_timer_query = false;
113 bool angle_client_arrays = false; 113 bool angle_client_arrays = false;
114 bool angle_request_extension = false; 114 bool angle_request_extension = false;
115 bool ext_debug_marker = false; 115 bool ext_debug_marker = false;
116 bool arb_robustness = false; 116 bool arb_robustness = false;
117 bool khr_robustness = false; 117 bool khr_robustness = false;
118 bool ext_robustness = false; 118 bool ext_robustness = false;
119 bool chromium_texture_buffer = false;
119 }; 120 };
120 121
121 FeatureInfo(); 122 FeatureInfo();
122 123
123 // Constructor with workarounds taken from the current process's CommandLine 124 // Constructor with workarounds taken from the current process's CommandLine
124 explicit FeatureInfo( 125 explicit FeatureInfo(
125 const GpuDriverBugWorkarounds& gpu_driver_bug_workarounds); 126 const GpuDriverBugWorkarounds& gpu_driver_bug_workarounds);
126 127
127 // Constructor with workarounds taken from |command_line|. 128 // Constructor with workarounds taken from |command_line|.
128 FeatureInfo(const base::CommandLine& command_line, 129 FeatureInfo(const base::CommandLine& command_line,
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 bool disable_shader_translator_; 223 bool disable_shader_translator_;
223 std::unique_ptr<gl::GLVersionInfo> gl_version_info_; 224 std::unique_ptr<gl::GLVersionInfo> gl_version_info_;
224 225
225 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); 226 DISALLOW_COPY_AND_ASSIGN(FeatureInfo);
226 }; 227 };
227 228
228 } // namespace gles2 229 } // namespace gles2
229 } // namespace gpu 230 } // namespace gpu
230 231
231 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ 232 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h ('k') | gpu/command_buffer/service/feature_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698