[Webkit-unassigned] [Bug 38528] [Qt] WebGL viewport does not show up on N900

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 5 09:31:29 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=38528





--- Comment #9 from Kenneth Russell <kbr at google.com>  2010-05-05 09:31:29 PST ---
(In reply to comment #5)
> Kenneth, Simon says that you have some ideas on handling the precision argument
> in shader code. Can you elaborate a bit what you have in mind? :)

In the context of the ANGLE project ( http://code.google.com/p/angleproject/ )
a GLSL ES -> GLSL translator is being developed. Once this is complete, we hope
to work with all browser vendors developing WebGL on the desktop to integrate
it simultaneously, because as you've discovered, none of the shaders in the
WebGL content currently on the web are GLSL ES compliant.

> I think I'll add the following work-around to Qt backend:
> - QtWebKit is compiled for a desktop system: define precision arguments as
> empty macros so that shaders still compile (similar idea as in
> http://doc.qt.nokia.com/4.6-snapshot/qglshaderprogram.html)
> - QtWebKit is compiled for a mobile device: define default precisions and
> append to the beginning of shader code.
> 
> When something more higher-level comes out this workaround can be dropped.
> Simon, I don't find that too hackish, what do you think?

This sounds like the best short-term workaround.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list