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

Unified Diff: gpu/command_buffer/service/feature_info.cc

Issue 2021413003: Remove GL_CHROMIUM_iosurface extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_ids_autogen.h ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/feature_info.cc
diff --git a/gpu/command_buffer/service/feature_info.cc b/gpu/command_buffer/service/feature_info.cc
index ce3575e5426be1eaf2320385f6414961de351738..06bb6646f61cc5525726844da0c10be7ecb5f537 100644
--- a/gpu/command_buffer/service/feature_info.cc
+++ b/gpu/command_buffer/service/feature_info.cc
@@ -961,11 +961,10 @@ void FeatureInfo::InitializeFeatures() {
GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG);
}
- // Ideally we would only expose this extension on Mac OS X, to
- // support GL_CHROMIUM_iosurface and the compositor. We don't want
- // applications to start using it; they should use ordinary non-
- // power-of-two textures. However, for unit testing purposes we
- // expose it on all supported platforms.
+ // Ideally we would only expose this extension on Mac OS X, to support
+ // IOSurface backed textures. We don't want applications to start using it;
+ // they should use ordinary non-power-of-two textures. However, for unit
+ // testing purposes we expose it on all supported platforms.
if (extensions.Contains("GL_ARB_texture_rectangle") ||
gl_version_info_->is_desktop_core_profile) {
AddExtensionString("GL_ARB_texture_rectangle");
@@ -981,7 +980,6 @@ void FeatureInfo::InitializeFeatures() {
#if defined(OS_MACOSX)
if (gl::GetGLImplementation() != gl::kGLImplementationOSMesaGL) {
- AddExtensionString("GL_CHROMIUM_iosurface");
AddExtensionString("GL_CHROMIUM_ycbcr_420v_image");
feature_flags_.chromium_image_ycbcr_420v = true;
}
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_ids_autogen.h ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698