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

Issue 6342001: Use GL rather than EGL by default on linux.... (Closed)

Created:
9 years, 11 months ago by apatrick_chromium
Modified:
9 years, 7 months ago
Reviewers:
Kenneth Waters, piman
CC:
chromium-reviews
Visibility:
Public.

Description

Use GL rather than EGL by default on linux. Debug Chromium builds display an error if they don't find EGL, even if GLX is available. This prompts people to install the EGL packages, even though that probably isn't their issue. Also, it looks like EGL, even if available, has some issues. If GLX isn't available, it still falls back to EGL. --use-gl=desktop should not be required to force use of GLX on boxes that also have EGL installed. Changed LOG(ERROR) to VLOG(1) if a shared library fails to load since this is not necessarily an error. Report an error only if no GL implementation can be initialized. Log which GL implementation was selected. TEST=launch chrome with various combinations of --use-gl switch and check the log output is correct. BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=71472

Patch Set 1 #

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -29 lines) Patch
M app/gfx/gl/gl_context_linux.cc View 1 chunk +1 line, -1 line 0 comments Download
M app/gfx/gl/gl_implementation.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M app/gfx/gl/gl_implementation.cc View 1 3 chunks +34 lines, -19 lines 0 comments Download
M app/gfx/gl/gl_implementation_linux.cc View 1 4 chunks +5 lines, -5 lines 0 comments Download
M app/gfx/gl/gl_implementation_mac.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M app/gfx/gl/gl_implementation_win.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
apatrick_chromium
9 years, 11 months ago (2011-01-14 00:29:09 UTC) #1
piman
In general, that seems reasonable, but there may be some ARM environments where there is ...
9 years, 11 months ago (2011-01-14 00:32:46 UTC) #2
Kenneth Waters
On the tegra2 system I have in front of me we have some GLX modules, ...
9 years, 11 months ago (2011-01-14 00:42:41 UTC) #3
apatrick_chromium
Is there a macro I can predicate the change on so it won't affect these ...
9 years, 11 months ago (2011-01-14 00:45:44 UTC) #4
Kenneth Waters
> Is there a macro I can predicate the change on so it won't affect ...
9 years, 11 months ago (2011-01-14 00:49:45 UTC) #5
piman
LGTM. On Chrome OS, we can always force the flag that specifies which backend if ...
9 years, 11 months ago (2011-01-14 00:51:44 UTC) #6
apatrick_chromium
I tried to make the logs less confusing. PTAL.
9 years, 11 months ago (2011-01-14 01:27:36 UTC) #7
piman
LGTM
9 years, 11 months ago (2011-01-14 01:50:16 UTC) #8
Kenneth Waters
9 years, 11 months ago (2011-01-14 17:34:31 UTC) #9
lgtm.

Thanks for fixing this up.

Powered by Google App Engine
This is Rietveld 408576698