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

Issue 479683003: Remove headers for CL, EGL, GLES2, KHR, VG (Closed)

Created:
6 years, 4 months ago by jamesr
Modified:
6 years ago
CC:
jbroman, chromium-reviews, jbauman
Base URL:
https://chromium.googlesource.com/chromium/deps/mesa.git@master
Visibility:
Public.

Description

Remove headers for CL, EGL, GLES2, KHR, VG In chromium we should never use these headers from mesa. We use the OpenGL ES 2.0 and KHR headers from khronos. Having duplicates in the tree is confusing and a recipe for disaster if the two ever diverge and different versions are used by different libraries, especially since they all use the same include guard so which version is seen by a particular target depends on the include path order.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -11465 lines) Patch
D include/CL/cl.h View 1 chunk +0 lines, -998 lines 0 comments Download
D include/CL/cl.hpp View 1 chunk +0 lines, -4011 lines 0 comments Download
D include/CL/cl_ext.h View 1 chunk +0 lines, -213 lines 0 comments Download
D include/CL/cl_gl.h View 1 chunk +0 lines, -155 lines 0 comments Download
D include/CL/cl_gl_ext.h View 1 chunk +0 lines, -69 lines 0 comments Download
D include/CL/cl_platform.h View 1 chunk +0 lines, -1198 lines 0 comments Download
D include/CL/opencl.h View 1 chunk +0 lines, -54 lines 0 comments Download
D include/EGL/egl.h View 1 chunk +0 lines, -329 lines 0 comments Download
D include/EGL/eglext.h View 1 chunk +0 lines, -465 lines 0 comments Download
D include/EGL/eglmesaext.h View 1 chunk +0 lines, -160 lines 0 comments Download
D include/EGL/eglplatform.h View 1 chunk +0 lines, -159 lines 0 comments Download
D include/GLES2/gl2.h View 1 chunk +0 lines, -621 lines 0 comments Download
D include/GLES2/gl2ext.h View 1 chunk +0 lines, -1524 lines 0 comments Download
D include/GLES2/gl2platform.h View 1 chunk +0 lines, -30 lines 0 comments Download
D include/KHR/khrplatform.h View 1 chunk +0 lines, -277 lines 0 comments Download
D include/VG/openvg.h View 1 chunk +0 lines, -746 lines 0 comments Download
D include/VG/vgext.h View 1 chunk +0 lines, -233 lines 0 comments Download
D include/VG/vgplatform.h View 1 chunk +0 lines, -92 lines 0 comments Download
D include/VG/vgu.h View 1 chunk +0 lines, -131 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
jamesr
I don't know how to actually land this patch but it appears to compile cleanly ...
6 years, 4 months ago (2014-08-15 22:34:20 UTC) #1
Ken Russell (switch to Gerrit)
LGTM if this compiles and runs tests. Did you build the osmesa target and make ...
6 years, 4 months ago (2014-08-15 22:44:45 UTC) #2
piman
LGTM, worth adding mention of it in README.chromium with the DEPS roll.
6 years, 4 months ago (2014-08-15 22:46:49 UTC) #3
jamesr
On 2014/08/15 22:44:45, Ken Russell wrote: > LGTM if this compiles and runs tests. Did ...
6 years, 4 months ago (2014-08-15 22:52:35 UTC) #4
Ken Russell (switch to Gerrit)
On 2014/08/15 22:52:35, jamesr wrote: > On 2014/08/15 22:44:45, Ken Russell wrote: > > LGTM ...
6 years, 4 months ago (2014-08-15 23:04:13 UTC) #5
jamesr
On 2014/08/15 23:04:13, Ken Russell wrote: > On 2014/08/15 22:52:35, jamesr wrote: > > On ...
6 years, 4 months ago (2014-08-15 23:10:29 UTC) #6
Ken Russell (switch to Gerrit)
6 years, 4 months ago (2014-08-15 23:13:26 UTC) #7
On 2014/08/15 23:10:29, jamesr wrote:
> On 2014/08/15 23:04:13, Ken Russell wrote:
> > On 2014/08/15 22:52:35, jamesr wrote:
> > > On 2014/08/15 22:44:45, Ken Russell wrote:
> > > > LGTM if this compiles and runs tests. Did you build the osmesa target
and
> > make
> > > > sure that layout tests continue to work with --use-gl=osmesa?
> > > 
> > > I did a compile of 'all' on linux and it worked.  I'll try to figure out
how
> > to
> > > throw this at the trybots.  I think the layout tests use osmesa by
default,
> > > right?  I'll confirm those continue to pass.
> > 
> > It'll be quite difficult, I think, without actually committing this. If
you've
> > built "osmesa" explicitly and verify locally that something --
content_shell,
> > anything -- works as well as it did before with --use-gl=osmesa, just go
> ahead.
> > (I just tried running my locally built Chromium on Mac with --use-gl=osmesa
> and
> > it didn't have any GPU support, so I think the layout tests are the best way
> to
> > verify this change works.)
> 
> The poster circle renders for me (choppily) with --use-gl=osmesa in
> content_shell.

Great. Then just commit the change to the Mesa workspace directly, but please
send the DEPS roll through the CQ.

Powered by Google App Engine
This is Rietveld 408576698