[webkit-gtk] How can I build webkitGTK with openGL ES 2.0 only.

Martin Robinson mrobinson at webkit.org
Tue Jun 11 23:41:00 PDT 2013


On Tue, Jun 11, 2013 at 11:06 PM, 김병찬 <woanggun at gmail.com> wrote:

> Now I want test webGL contents with openGL ES 2.0 only.
> I got a hint for this in WebKit Revision r130525, and try build with
> this(build-webkit --gtk --disable-glx --enable-egl --enable-gles2) command.
> And then I met a little compile error in cairo_gl.h, resolve this error with
> undefine CARIO_HAS_GLX_FUNCTIONS.. ( just for test.. )
> And then, build success.
>
> Then I remove libGL.so* in my desktop. ( make similar environment with
> embeded system)
> And launch my binary, I got this message :
> "error while loading shared libraries: libGL.so.1 ... "
> If dont remove libGL.so*, then my binary launch well.
> But I'm not sure about "this binary only use opengl ES".

Perhaps libcairo is still linked against GLX and desktop GL?

--Martin


More information about the webkit-gtk mailing list