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

Issue 1999543003: GLContextGLX: try all GL versions from the highest. (Closed)

Created:
4 years, 7 months ago by cwallez
Modified:
4 years, 7 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

GLContextGLX: try all GL versions from the highest. Also try all ES versions from the highest. This change will allow Chrome to create a GL context higher than 3.0 on Mesa and will in turn allow WebGL2 to run on Intel Linux when using the native GL driver. This patch is a direct port of the logic in ANGLE's DisplayGLX BUG=598902 Committed: https://crrev.com/3464004765597c914d8499ee9792cf81e106a4ae Cr-Commit-Position: refs/heads/master@{#396243}

Patch Set 1 #

Patch Set 2 : Only use the workaround on Mesa #

Total comments: 6

Patch Set 3 : Address nits #

Patch Set 4 : Fix silly mistake #

Unified diffs Side-by-side diffs Delta from patch set Stats (+149 lines, -13 lines) Patch
M ui/gl/gl_context_glx.cc View 1 2 3 2 chunks +131 lines, -13 lines 0 comments Download
M ui/gl/gl_surface_glx.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/gl/gl_surface_glx.cc View 3 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (9 generated)
Zhenyao Mo
4 years, 7 months ago (2016-05-20 19:20:13 UTC) #3
Zhenyao Mo
qiankun: can you help testing this CL on Intel GPU with mesa driver?
4 years, 7 months ago (2016-05-20 19:20:57 UTC) #4
qiankun
On 2016/05/20 19:20:57, Zhenyao Mo wrote: > qiankun: can you help testing this CL on ...
4 years, 7 months ago (2016-05-23 09:02:05 UTC) #5
Zhenyao Mo
On 2016/05/23 09:02:05, qiankun wrote: > On 2016/05/20 19:20:57, Zhenyao Mo wrote: > > qiankun: ...
4 years, 7 months ago (2016-05-23 18:24:14 UTC) #6
Zhenyao Mo
The CL lgtm, but I am not an owner.
4 years, 7 months ago (2016-05-23 18:24:44 UTC) #7
Corentin Wallez
On 2016/05/23 at 18:24:44, zmo wrote: > The CL lgtm, but I am not an ...
4 years, 7 months ago (2016-05-24 14:58:32 UTC) #9
piman
lgtm overall. Do you know if it affects context creation time significantly? E.g. if it ...
4 years, 7 months ago (2016-05-24 15:22:15 UTC) #10
Corentin Wallez
On 2016/05/24 at 15:22:15, piman wrote: > lgtm overall. Do you know if it affects ...
4 years, 7 months ago (2016-05-24 15:31:24 UTC) #11
piman
On 2016/05/24 15:31:24, Corentin Wallez wrote: > On 2016/05/24 at 15:22:15, piman wrote: > > ...
4 years, 7 months ago (2016-05-24 16:00:02 UTC) #12
Corentin Wallez
On 2016/05/24 at 16:00:02, piman wrote: > On 2016/05/24 15:31:24, Corentin Wallez wrote: > > ...
4 years, 7 months ago (2016-05-24 17:12:11 UTC) #13
piman
On 2016/05/24 17:12:11, Corentin Wallez wrote: > On 2016/05/24 at 16:00:02, piman wrote: > > ...
4 years, 7 months ago (2016-05-24 17:16:18 UTC) #14
Ken Russell (switch to Gerrit)
Thanks for doing this port. It LGTM overall. Is it needed on more GPU types ...
4 years, 7 months ago (2016-05-24 17:43:54 UTC) #15
Corentin Wallez
On 2016/05/24 at 17:43:54, kbr wrote: > Thanks for doing this port. It LGTM overall. ...
4 years, 7 months ago (2016-05-24 17:59:24 UTC) #16
Corentin Wallez
On 2016/05/24 at 17:59:24, Corentin Wallez wrote: > On 2016/05/24 at 17:43:54, kbr wrote: > ...
4 years, 7 months ago (2016-05-25 22:01:31 UTC) #17
piman
LGTM+nits, thanks! https://codereview.chromium.org/1999543003/diff/20001/ui/gl/gl_context_glx.cc File ui/gl/gl_context_glx.cc (right): https://codereview.chromium.org/1999543003/diff/20001/ui/gl/gl_context_glx.cc#newcode90 ui/gl/gl_context_glx.cc:90: const ContextCreationInfo contextsToTry[] = { nit: chrome ...
4 years, 7 months ago (2016-05-25 22:35:17 UTC) #18
Corentin Wallez
On 2016/05/25 at 22:35:17, piman wrote: > LGTM+nits, thanks! > > https://codereview.chromium.org/1999543003/diff/20001/ui/gl/gl_context_glx.cc > File ui/gl/gl_context_glx.cc ...
4 years, 7 months ago (2016-05-25 22:41:18 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1999543003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1999543003/40001
4 years, 7 months ago (2016-05-25 22:42:26 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/235721)
4 years, 7 months ago (2016-05-26 00:15:00 UTC) #24
Corentin Wallez
On 2016/05/26 at 00:15:00, commit-bot wrote: > Try jobs failed on following builders: > linux_chromium_rel_ng ...
4 years, 7 months ago (2016-05-26 17:24:01 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1999543003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1999543003/60001
4 years, 7 months ago (2016-05-26 17:24:29 UTC) #28
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-05-26 18:48:11 UTC) #29
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/3464004765597c914d8499ee9792cf81e106a4ae Cr-Commit-Position: refs/heads/master@{#396243}
4 years, 7 months ago (2016-05-26 18:50:51 UTC) #31
Zhenyao Mo
This triggered a bunch of failures on Linux AMD and Linux Intel.
4 years, 7 months ago (2016-05-26 22:12:27 UTC) #32
Corentin Wallez
4 years, 7 months ago (2016-05-26 22:17:50 UTC) #33
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.chromium.org/2012413002/ by cwallez@chromium.org.

The reason for reverting is: Causes a lot of failures on the GPU FYI waterfall..

Powered by Google App Engine
This is Rietveld 408576698