WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 135289
[GTK] Build depends on OpenGL ES
https://bugs.webkit.org/show_bug.cgi?id=135289
Summary
[GTK] Build depends on OpenGL ES
Michael Catanzaro
Reported
2014-07-25 08:34:54 PDT
On Fedora I need mesa-libGLES-devel installed in order to build WebKitGTK+, but it's not listed in Tools/gtk/install-dependencies. I'll add it to the list of Debian dependencies as well (which I did not test, but I'm pretty sure I have the right package).
Attachments
Patch
(1.40 KB, patch)
2014-07-25 08:38 PDT
,
Michael Catanzaro
no flags
Details
Formatted Diff
Diff
Patch
(3.48 KB, patch)
2014-07-29 02:24 PDT
,
Sergio Villar Senin
no flags
Details
Formatted Diff
Diff
Patch
(2.15 KB, patch)
2014-07-30 08:41 PDT
,
Sergio Villar Senin
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Michael Catanzaro
Comment 1
2014-07-25 08:38:12 PDT
Created
attachment 235521
[details]
Patch
Martin Robinson
Comment 2
2014-07-25 08:44:03 PDT
How is the build failing?
Zan Dobersek
Comment 3
2014-07-25 08:50:07 PDT
***
Bug 135238
has been marked as a duplicate of this bug. ***
Zan Dobersek
Comment 4
2014-07-25 08:51:08 PDT
(In reply to
comment #3
)
> ***
Bug 135238
has been marked as a duplicate of this bug. ***
Feel free to land this one.
Zan Dobersek
Comment 5
2014-07-25 08:51:35 PDT
(In reply to
comment #2
)
> How is the build failing?
If I remember correctly it's failing in Extensions3DOpenGLES.cpp.
Michael Catanzaro
Comment 6
2014-07-25 17:16:33 PDT
In file included from ../../Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLES.cpp:30:0: ../../Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLES.h:32:23: fatal error: GLES2/gl2.h: No such file or directory #include <GLES2/gl2.h> ^ compilation terminated.
Martin Robinson
Comment 7
2014-07-26 08:53:36 PDT
(In reply to
comment #6
)
> In file included from ../../Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLES.cpp:30:0: > ../../Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLES.h:32:23: fatal error: GLES2/gl2.h: No such file or directory > #include <GLES2/gl2.h> > ^ > compilation terminated.
Hrm. Odd. This should only be compiled if OpenGLES support is installed.
Sergio Villar Senin
Comment 8
2014-07-29 02:24:42 PDT
Created
attachment 235675
[details]
Patch I think those are unconditionally build so I guess we need to add the proper guards
Martin Robinson
Comment 9
2014-07-29 10:01:51 PDT
Comment on
attachment 235675
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=235675&action=review
> Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLES.cpp:275 > +#if USE(EGL)
Why use(EGL) here? The context creation API shouldn't come into play here, as far as I can tell.
Sergio Villar Senin
Comment 10
2014-07-30 01:38:48 PDT
Comment on
attachment 235675
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=235675&action=review
>> Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLES.cpp:275 >> +#if USE(EGL) > > Why use(EGL) here? The context creation API shouldn't come into play here, as far as I can tell.
Sure, this change is not directly related to the failure, I just saw the egl include on top and decided to improve a bit the guarding of the file, but I can remove it.
Martin Robinson
Comment 11
2014-07-30 08:20:32 PDT
Comment on
attachment 235675
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=235675&action=review
>>> Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLES.cpp:275 >>> +#if USE(EGL) >> >> Why use(EGL) here? The context creation API shouldn't come into play here, as far as I can tell. > > Sure, this change is not directly related to the failure, I just saw the egl include on top and decided to improve a bit the guarding of the file, but I can remove it.
Ah, I see now! I think it's okay to simply fail to build when you try to use OpenGLES without EGL. There aren't any platforms that support this configuration that I know of.
Sergio Villar Senin
Comment 12
2014-07-30 08:41:04 PDT
Created
attachment 235745
[details]
Patch
WebKit Commit Bot
Comment 13
2014-07-30 09:36:05 PDT
Comment on
attachment 235745
[details]
Patch Clearing flags on attachment: 235745 Committed
r171799
: <
http://trac.webkit.org/changeset/171799
>
WebKit Commit Bot
Comment 14
2014-07-30 09:36:09 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug