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

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

Created:
4 years, 6 months ago by Corentin Wallez
Modified:
4 years, 5 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 This is a reland of 3464004765597c914d8499ee9792cf81e106a4ae trying a compatibility context first instead of a core context. (for non-Mesa drivers) BUG=598902 Review-Url: https://codereview.chromium.org/1999543003 Committed: https://crrev.com/3d090e4477520e14b782d2398e4a143982e189d4 Cr-Original-Commit-Position: refs/heads/master@{#396243} Cr-Commit-Position: refs/heads/master@{#402291}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address nits #

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 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: 12 (4 generated)
Corentin Wallez
PTAL, this is a reland of the GLContextGLX change that makes Chrome able to create ...
4 years, 6 months ago (2016-06-24 20:08:20 UTC) #2
piman
lgtm https://codereview.chromium.org/2098613004/diff/1/ui/gl/gl_context_glx.cc File ui/gl/gl_context_glx.cc (right): https://codereview.chromium.org/2098613004/diff/1/ui/gl/gl_context_glx.cc#newcode34 ui/gl/gl_context_glx.cc:34: int profileMask) { nit: profile_mask https://codereview.chromium.org/2098613004/diff/1/ui/gl/gl_context_glx.cc#newcode60 ui/gl/gl_context_glx.cc:60: auto ...
4 years, 6 months ago (2016-06-24 21:31:45 UTC) #3
Ken Russell (switch to Gerrit)
lgtm too with piman's comments addressed.
4 years, 6 months ago (2016-06-24 22:58:16 UTC) #4
Corentin Wallez
Thanks for the review. Will land this after the two previous patches are landed. https://codereview.chromium.org/2098613004/diff/1/ui/gl/gl_context_glx.cc ...
4 years, 5 months ago (2016-06-27 15:39:22 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2098613004/20001
4 years, 5 months ago (2016-06-27 20:07:14 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-06-27 21:35:21 UTC) #9
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/3d090e4477520e14b782d2398e4a143982e189d4 Cr-Commit-Position: refs/heads/master@{#402291}
4 years, 5 months ago (2016-06-27 21:38:36 UTC) #11
Corentin Wallez
4 years, 5 months ago (2016-06-28 14:23:28 UTC) #12
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/2104983002/ by cwallez@chromium.org.

The reason for reverting is: Causes failures on the GPU FYI Linux Intel bot..

Powered by Google App Engine
This is Rietveld 408576698