[webkit-qt] [webkit-dev] How to enable WebGL on WebKit QT port?
Won J Jeon
wjjeon at gmail.com
Tue May 3 10:51:19 PDT 2011
Thanks for the information. I followed your instruction to build WebKit and
launch QtTestBrowser, but I still don't get the graphical WebGL context
rendered on the screen - I get the fps though. Is there anything that I need
On Tue, May 3, 2011 at 12:36 AM, Benjamin Poulain <benjamin at webkit.org>wrote:
> On Tue, May 3, 2011 at 1:22 AM, Won J Jeon <wjjeon at gmail.com> wrote:
>> Thanks for the update. BTW, is there any switch that I need to turn on in
>> order to enable WebGL support with QT port?
>> I built the code by using '--3d-canvas --3d-rendering' switches and
>> launched QtTestBrowser by using 'run-launcher'.
>> However, when I access the WebGL page, it says 'It doesn't appear your
>> computer can support WebGL'.
>> I already double-checked that WebGL works with chromium on my Ubuntu
> In order to get WebGL with Qt and have good performance you must use:
> +QGLWidget on the viewport of QGraphicsView
> +accelerated compositing
> +enable WebGL
> (you can enable all of this from the command line of QTestBrowser of via
> the menu).
> I suggest you to ask your question the mailing list webkit-qt. The main
> contributors of the WebGL support of Qt are on that list.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-qt