[webkit-qt] WebGL with QtWebkit (QT5.0)

Harisha Navilarekallu nvharisha at gmail.com
Fri Jan 4 01:23:00 PST 2013


Thanks Simon,

I will try to look into the implementation of X-Windows and see how I can
extended to using it with EGLFS.

-hari


On Fri, Jan 4, 2013 at 2:17 PM, Simon Hausmann <simon.hausmann at digia.com>wrote:

> On Friday, January 04, 2013 09:28:03 AM Harisha Navilarekallu wrote:
> > Hi,
> >
> > Does WebGL works with QtWebKit (WebKit1) on Qt5.0 EGLFS plugin?
> > When I tried with :
> > QtTestBrowser -graphicsbased -gl-viewport -webgl <WEBPAGE>
> > OR
> > QtTestBrowser -graphicsbased -gl-viewport -tiled-backing-store
> > -viewport-update-mode BoundingRect -webgl <WEBPAGE>
> >
> > Both didnt work. It returns error with No-Context.
> >
> > In WebGLRenderingContext.cpp, the condition :
> >    if (!context || !context->makeContextCurrent())
> > is always true and hence returns null pointer.
> >
> > The context is false as surface is not allocated in "
> > GraphicsContext3DPrivate::GraphicsContext3DPrivate"
> >
> >
> > Since I dont understand much of the architecture, i am not sure if, I am
> > doing right thing.
> >
> > Can any body give some insight?
>
> WebGL requires an implementation of WebCore's GraphicsSurface, which is
> platform specific. In the Qt port, GraphicsSurface is currently only
> implemented for X-Windows, Mac OS X and Windows. Contributions to new
> platforms/windowing systems are welcome :)
>
>
> Simon
>



-- 
Thanks
hari
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20130104/0c295d18/attachment-0001.html>


More information about the webkit-qt mailing list