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

Issue 476403002: Restrict usage of mesa headers to targets that really need them (Closed)

Created:
6 years, 4 months ago by jamesr
Modified:
6 years, 4 months ago
CC:
chromium-reviews, rjkroege, ozone-reviews_chromium.org, sievers+watch_chromium.org, jbauman+watch_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, kalyank, cc-bugs_chromium.org, danakj+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Restrict usage of mesa headers to targets that really need them Many targets were getting mesa headers on their include paths even though they never used them. This limits use of osmesa.h to the only target that actually needs to interface directly with osmesa and restricts use of the third_party/mesa/ headers to targets that need to use the desktop GL bindings. R=piman@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=290136

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -32 lines) Patch
M cc/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M cc/cc.gyp View 1 chunk +0 lines, -1 line 0 comments Download
M content/common/gpu/image_transport_surface_mac.mm View 1 1 chunk +2 lines, -1 line 0 comments Download
M ui/gl/DEPS View 1 1 chunk +9 lines, -1 line 0 comments Download
M ui/gl/gl.gyp View 1 chunk +0 lines, -1 line 0 comments Download
M ui/gl/gl_context_glx.cc View 1 chunk +0 lines, -1 line 0 comments Download
M ui/gl/gl_context_mac.mm View 1 chunk +0 lines, -1 line 0 comments Download
M ui/gl/gl_surface_android.cc View 1 chunk +2 lines, -1 line 0 comments Download
M ui/gl/gl_surface_egl.cc View 2 chunks +0 lines, -5 lines 0 comments Download
M ui/gl/gl_surface_glx.cc View 1 chunk +0 lines, -1 line 0 comments Download
M ui/gl/gl_surface_mac.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M ui/gl/gl_surface_osmesa.h View 1 chunk +3 lines, -1 line 0 comments Download
M ui/gl/gl_surface_osmesa.cc View 2 chunks +13 lines, -4 lines 0 comments Download
M ui/gl/gl_surface_win.cc View 3 chunks +5 lines, -6 lines 0 comments Download
M ui/gl/gl_surface_x11.cc View 3 chunks +3 lines, -4 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
jamesr
ui/gl/gl_bindings.h needs the mesa headers to pick up <GL/gl.h>, but other than that most things ...
6 years, 4 months ago (2014-08-16 00:09:13 UTC) #1
piman
lgtm https://codereview.chromium.org/476403002/diff/1/ui/gl/DEPS File ui/gl/DEPS (right): https://codereview.chromium.org/476403002/diff/1/ui/gl/DEPS#newcode11 ui/gl/DEPS:11: # should use the headers from khronos. That's ...
6 years, 4 months ago (2014-08-16 00:18:07 UTC) #2
jamesr
On 2014/08/16 00:18:07, piman (OOO) wrote: > lgtm > > https://codereview.chromium.org/476403002/diff/1/ui/gl/DEPS > File ui/gl/DEPS (right): ...
6 years, 4 months ago (2014-08-16 00:21:05 UTC) #3
piman
On 2014/08/16 00:21:05, jamesr wrote: > On 2014/08/16 00:18:07, piman (OOO) wrote: > > lgtm ...
6 years, 4 months ago (2014-08-16 00:30:30 UTC) #4
jamesr
The CQ bit was checked by jamesr@chromium.org
6 years, 4 months ago (2014-08-16 01:16:39 UTC) #5
jamesr
On 2014/08/16 00:30:30, piman (OOO) wrote: > Given that we generate gl_bindings.h from the mesa ...
6 years, 4 months ago (2014-08-16 01:17:11 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/476403002/20001
6 years, 4 months ago (2014-08-16 01:19:19 UTC) #7
piman
Awesome, thanks, LGTM.
6 years, 4 months ago (2014-08-16 01:21:50 UTC) #8
commit-bot: I haz the power
6 years, 4 months ago (2014-08-16 08:29:55 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (20001) as 290136

Powered by Google App Engine
This is Rietveld 408576698