[webkit-dev] WebKit to opengl
Michael Catanzaro
mcatanzaro at igalia.com
Fri Jun 23 05:35:21 PDT 2017
On Thu, Jun 22, 2017 at 5:16 AM, Nagendra K <pingnagendra at gmail.com>
wrote:
> Hi,
>
> I want to interface opengl to WebKit to use egl calls to render, can
> any help to point in which files in WebKit do I need to check to
> interface the egl to WebKit.
>
> Thanks and Regards,
> Nagendra
Hi Nagendra,
I believe WebKitGTK+ already uses EGL when GLX is unavailable. Unless
I'm mistaken, no changes should be required.
Of course, for this to be useful you'll still need either OpenGL or
OpenGLES to be working. OpenGL should work by default. If you need to
use OpenGLES instead of OpenGL, you'll need to build with
-DENABLE_GLES2=ON.
Michael
More information about the webkit-dev
mailing list