Commit 00749f74 authored by j.isorce's avatar j.isorce Committed by Commit bot

Disable GL_EXT_texture_rg with GLES 2.0 on Mesa drivers prior version 11.1

Because it wrongly claims supporting GL_EXT_texture_rg.
The bug in Mesa has been fixed in 11.1:
https://bugs.freedesktop.org/show_bug.cgi?id=93126

Video playback rendering is done differently in Chromium
depending if this extension is supported or not. If it
uses the extension whereas the driver actually does not
support it, this leads to green video frames.

BUG=545904

R=bajones@chromium.org, hendrikw@chromium.org, kbr@chromium.org, piman@chromium.org, zmo@chromium.org

TEST= --use-gl=egl on Mesa drivers

Review URL: https://codereview.chromium.org/1493813002

Cr-Commit-Position: refs/heads/master@{#362986}
parent 72a7e34e
...@@ -19,7 +19,7 @@ const char kGpuDriverBugListJson[] = LONG_STRING_CONST( ...@@ -19,7 +19,7 @@ const char kGpuDriverBugListJson[] = LONG_STRING_CONST(
{ {
"name": "gpu driver bug list", "name": "gpu driver bug list",
// Please update the version number whenever you change this file. // Please update the version number whenever you change this file.
"version": "8.35", "version": "8.36",
"entries": [ "entries": [
{ {
"id": 1, "id": 1,
...@@ -1638,6 +1638,27 @@ LONG_STRING_CONST( ...@@ -1638,6 +1638,27 @@ LONG_STRING_CONST(
"features": [ "features": [
"disable_gl_path_rendering" "disable_gl_path_rendering"
] ]
},
{
"id": 139,
"description": "Mesa drivers wrongly report supporting GL_EXT_texture_rg with GLES 2.0 prior version 11.1",
"cr_bugs": [545904],
"os": {
"type": "linux"
},
"driver_vendor": "Mesa",
"driver_version": {
"op": "<",
"value": "11.1"
},
"gl_type": "gles",
"gl_version": {
"op": "<",
"value": "3.0"
},
"disabled_extensions": [
"GL_EXT_texture_rg"
]
} }
] ]
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment