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

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

Issue 11568029: Add a command to lose the context (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 | Annotate | Revision Log
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/string_number_conversions.h" 10 #include "base/string_number_conversions.h"
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 bool npot_ok = false; 248 bool npot_ok = false;
249 249
250 AddExtensionString("GL_ANGLE_translated_shader_source"); 250 AddExtensionString("GL_ANGLE_translated_shader_source");
251 AddExtensionString("GL_CHROMIUM_async_pixel_transfers"); 251 AddExtensionString("GL_CHROMIUM_async_pixel_transfers");
252 AddExtensionString("GL_CHROMIUM_bind_uniform_location"); 252 AddExtensionString("GL_CHROMIUM_bind_uniform_location");
253 AddExtensionString("GL_CHROMIUM_command_buffer_query"); 253 AddExtensionString("GL_CHROMIUM_command_buffer_query");
254 AddExtensionString("GL_CHROMIUM_command_buffer_latency_query"); 254 AddExtensionString("GL_CHROMIUM_command_buffer_latency_query");
255 AddExtensionString("GL_CHROMIUM_copy_texture"); 255 AddExtensionString("GL_CHROMIUM_copy_texture");
256 AddExtensionString("GL_CHROMIUM_discard_backbuffer"); 256 AddExtensionString("GL_CHROMIUM_discard_backbuffer");
257 AddExtensionString("GL_CHROMIUM_get_error_query"); 257 AddExtensionString("GL_CHROMIUM_get_error_query");
258 AddExtensionString("GL_CHROMIUM_lose_context");
258 AddExtensionString("GL_CHROMIUM_pixel_transfer_buffer_object"); 259 AddExtensionString("GL_CHROMIUM_pixel_transfer_buffer_object");
259 AddExtensionString("GL_CHROMIUM_rate_limit_offscreen_context"); 260 AddExtensionString("GL_CHROMIUM_rate_limit_offscreen_context");
260 AddExtensionString("GL_CHROMIUM_resize"); 261 AddExtensionString("GL_CHROMIUM_resize");
261 AddExtensionString("GL_CHROMIUM_resource_safe"); 262 AddExtensionString("GL_CHROMIUM_resource_safe");
262 AddExtensionString("GL_CHROMIUM_set_visibility"); 263 AddExtensionString("GL_CHROMIUM_set_visibility");
263 AddExtensionString("GL_CHROMIUM_strict_attribs"); 264 AddExtensionString("GL_CHROMIUM_strict_attribs");
264 AddExtensionString("GL_CHROMIUM_texture_mailbox"); 265 AddExtensionString("GL_CHROMIUM_texture_mailbox");
265 AddExtensionString("GL_EXT_debug_marker"); 266 AddExtensionString("GL_EXT_debug_marker");
266 267
267 if (!disallowed_features_.gpu_memory_manager) 268 if (!disallowed_features_.gpu_memory_manager)
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
714 if (extensions_.find(str) == std::string::npos) { 715 if (extensions_.find(str) == std::string::npos) {
715 extensions_ += (extensions_.empty() ? "" : " ") + str; 716 extensions_ += (extensions_.empty() ? "" : " ") + str;
716 } 717 }
717 } 718 }
718 719
719 FeatureInfo::~FeatureInfo() { 720 FeatureInfo::~FeatureInfo() {
720 } 721 }
721 722
722 } // namespace gles2 723 } // namespace gles2
723 } // namespace gpu 724 } // namespace gpu
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698