| Index: content/common/gpu/client/gl_helper_readback_support.cc
|
| diff --git a/content/common/gpu/client/gl_helper_readback_support.cc b/content/common/gpu/client/gl_helper_readback_support.cc
|
| index e773ca90782a6dc684bec38c7afb455e1cfe925c..91df07cb342cc8214c0777f91c59efe675407f3b 100644
|
| --- a/content/common/gpu/client/gl_helper_readback_support.cc
|
| +++ b/content/common/gpu/client/gl_helper_readback_support.cc
|
| @@ -104,17 +104,6 @@ bool GLHelperReadbackSupport::SupportsFormat(GLenum format, GLenum type) {
|
| if (format == GL_RGBA && type == GL_UNSIGNED_BYTE)
|
| return true;
|
|
|
| - if (format == GL_BGRA_EXT && type == GL_UNSIGNED_BYTE) {
|
| - const GLubyte* tmp = gl_->GetString(GL_EXTENSIONS);
|
| - if (tmp) {
|
| - std::string extensions =
|
| - " " + std::string(reinterpret_cast<const char*>(tmp)) + " ";
|
| - if (extensions.find(" GL_EXT_read_format_bgra ") != std::string::npos) {
|
| - return true;
|
| - }
|
| - }
|
| - }
|
| -
|
| bool supports_format = false;
|
| GLenum ext_format = 0, ext_type = 0;
|
| GetAdditionalFormat(format, type, &ext_format, &ext_type);
|
|
|