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

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

Issue 659903002: Add subscribeUniform extension pipeline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 #include "gpu/command_buffer/service/feature_info.h" 5 #include "gpu/command_buffer/service/feature_info.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 AddExtensionString("GL_CHROMIUM_command_buffer_query"); 250 AddExtensionString("GL_CHROMIUM_command_buffer_query");
251 AddExtensionString("GL_CHROMIUM_command_buffer_latency_query"); 251 AddExtensionString("GL_CHROMIUM_command_buffer_latency_query");
252 AddExtensionString("GL_CHROMIUM_copy_texture"); 252 AddExtensionString("GL_CHROMIUM_copy_texture");
253 AddExtensionString("GL_CHROMIUM_get_error_query"); 253 AddExtensionString("GL_CHROMIUM_get_error_query");
254 AddExtensionString("GL_CHROMIUM_lose_context"); 254 AddExtensionString("GL_CHROMIUM_lose_context");
255 AddExtensionString("GL_CHROMIUM_pixel_transfer_buffer_object"); 255 AddExtensionString("GL_CHROMIUM_pixel_transfer_buffer_object");
256 AddExtensionString("GL_CHROMIUM_rate_limit_offscreen_context"); 256 AddExtensionString("GL_CHROMIUM_rate_limit_offscreen_context");
257 AddExtensionString("GL_CHROMIUM_resize"); 257 AddExtensionString("GL_CHROMIUM_resize");
258 AddExtensionString("GL_CHROMIUM_resource_safe"); 258 AddExtensionString("GL_CHROMIUM_resource_safe");
259 AddExtensionString("GL_CHROMIUM_strict_attribs"); 259 AddExtensionString("GL_CHROMIUM_strict_attribs");
260 AddExtensionString("GL_CHROMIUM_subscribe_uniform");
260 AddExtensionString("GL_CHROMIUM_texture_mailbox"); 261 AddExtensionString("GL_CHROMIUM_texture_mailbox");
261 AddExtensionString("GL_EXT_debug_marker"); 262 AddExtensionString("GL_EXT_debug_marker");
262 263
263 // OES_vertex_array_object is emulated if not present natively, 264 // OES_vertex_array_object is emulated if not present natively,
264 // so the extension string is always exposed. 265 // so the extension string is always exposed.
265 AddExtensionString("GL_OES_vertex_array_object"); 266 AddExtensionString("GL_OES_vertex_array_object");
266 267
267 if (!disallowed_features_.gpu_memory_manager) 268 if (!disallowed_features_.gpu_memory_manager)
268 AddExtensionString("GL_CHROMIUM_gpu_memory_manager"); 269 AddExtensionString("GL_CHROMIUM_gpu_memory_manager");
269 270
(...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after
902 if (pos == std::string::npos) { 903 if (pos == std::string::npos) {
903 extensions_ += (extensions_.empty() ? "" : " ") + str; 904 extensions_ += (extensions_.empty() ? "" : " ") + str;
904 } 905 }
905 } 906 }
906 907
907 FeatureInfo::~FeatureInfo() { 908 FeatureInfo::~FeatureInfo() {
908 } 909 }
909 910
910 } // namespace gles2 911 } // namespace gles2
911 } // namespace gpu 912 } // namespace gpu
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698