[webkit-gtk] ENABLE_OPENGL=OFF

John Ralls jralls at ceridwen.fremont.ca.us
Tue Apr 18 09:58:59 PDT 2017


Is it supposed to be possible to build WebKit2Gtk 2.6.x without OpenGL?

There's an option to turn it off in OptionsGTK.cmake, but Texture Mapping seems to require it (though by reverting 185805 one can disable that too), but...
../Source/WebKit2/WebProcess/WebPage/AcceleratedDrawingArea.cpp:49:24: error:
      member access into incomplete type 'WebKit::LayerTreeHost'
        m_layerTreeHost->invalidate();
and plenty more because in LayerTreeHost.h the class definition is guarded with
#if USE(COORDINATED_GRAPHICS) || USE(TEXTURE_MAPPER)

Some of AcceleratedDrawingArea's members are optional with that as well, but m_LayerTreeHost and m_previousLayerTreeHost aren't and there are a bunch of not-optional functions that would effectively be gutted if every use of those is made optional.

Regards,
John Ralls



More information about the webkit-gtk mailing list