[webkit-qt] [HELP] Doing a build of QtWebKit with WebGL enabled

Ivan De Marino ivan.de.marino at gmail.com
Thu Jun 10 02:17:42 PDT 2010


In general is true, performance get much faster.
But I saw 2 days ago a couple of pages were QGLWidget was making things
worse.
Now I can't but later on I'll try to find those links so that you can take a
look at what I mean.

But for now, no alarm.

On 8 June 2010 19:33, Jarkko Sakkinen <jarkko.j.sakkinen at gmail.com> wrote:

>  If you use Qt 4.7 then QGraphicsView with QGLWidget accelerated
> compositing should be fast. It then blits FBO for the 3D-canvas
> with drawTexture().
>
> With Qt 4.6 drawTexture() can't be used because it does not take '
> QPainter state into account (and would break therefore web page
> rendering). This has been fixed in 4.7. Therefore, QGLWidget is
> slow with 4.6.
>
> BR, Jarkko
>
>
> On 06/08/2010 06:36 PM, Ivan De Marino wrote:
>
> The webkit branch is working great!
>
>  The only "remark" is that when I activate the usage of QGLWidget,
> performance get bad, and the quality of Anti-aliasing is poor.
> But I guess this is well known issues.
>
> On 7 June 2010 17:54, Ivan De Marino <ivan.de.marino at gmail.com> wrote:
>
>> Thanks a lot for your precious help.
>>
>>
>> On 7 June 2010 16:38, Jarkko Sakkinen <jarkko.sakkinen at iki.fi> wrote:
>>
>>> Hi,
>>>
>>> AC is enabled by default in compilation, so you just need to enabled
>>> QGV, AC and QGLWidget viewport from the menu. I think everything
>>> except WebGL can be enabled also from command-line. Probably
>>> command-line option also WebGL support should be added to the
>>> test browser.
>>>
>>> BTW, the WebGL support is in kind of "code complete" (there is nothing
>>> new to be added for now but there are probably lot of small fixes to be
>>> done
>>> here and there) change so stuff  will be fixed only based on bug reports.
>>>
>>> BR, Jarkko
>>>
>>>
>>> On Mon, Jun 7, 2010 at 5:26 PM, Ivan De Marino <ivan.de.marino at gmail.com
>>> > wrote:
>>>
>>>> Thanks a lot guys!
>>>>
>>>>  Indeed I was using the *qtwebkit repo* on gitorious, not the *webkit
>>>> one* on gitorious.
>>>> And if I remember correctly from my last build, a part from passing*--3d-canvas
>>>> *, to enable QGV and AC I just need to do it* from the* *Menu of the
>>>> QtTestBrowser*. Right?
>>>>
>>>>  PS What *--3d-rendering* stands for? I don't really understand what
>>>> that flags delivers and I couldn't find any README about it (me blind?).
>>>>
>>>>  Thanks a lot
>>>>
>>>> On 7 June 2010 14:40, Jarkko Sakkinen <jarkko.sakkinen at iki.fi> wrote:
>>>>
>>>>> Hi Ivan,
>>>>>
>>>>> Nothing has been removed from trunk, it's just not part of the official
>>>>> 2.0 release content. So you can grab the code from trunk and try it out.
>>>>> Compile webkit with --3d-canvas flag and you should have the support. If you
>>>>> have any issues then please do a bug report or/and contact me via irc
>>>>> (#qtwebkit @ freenode) :)
>>>>>
>>>>> We have now agreed (Simon can you verify this?) that the official
>>>>> support is scoped to accelerated compositing. So you need to use
>>>>> QtTestBrowser with QGV and AC enabled (preferably with QGLWidget to get good
>>>>> performance). So issues will be fixed based on that configuration.
>>>>>
>>>>> BR, Jarkko
>>>>>
>>>>>  On Mon, Jun 7, 2010 at 4:17 PM, Ivan De Marino <
>>>>> ivan.de.marino at gmail.com> wrote:
>>>>>
>>>>>>  Hello.
>>>>>> In commit 178990dadfd, Simon Hausmann removed the WebGL support.
>>>>>>
>>>>>>   *commit 178990dadfde03e514ac784bc28730032f876afa*
>>>>>>  *Author: Simon Hausmann <simon.hausmann at nokia.com>*
>>>>>>  *Date:   Tue May 4 15:27:27 2010 +0200*
>>>>>>  *
>>>>>> *
>>>>>>  *    Removed WebGL support in the release branch.*
>>>>>>  *    *
>>>>>>  *    As discussed with Jarkko, this feature is not ready for the
>>>>>> release*
>>>>>>  *    yet. It's not enabled in the build by default (CANVAS_3D) and
>>>>>> it's*
>>>>>>  *    seeing lots of changes in the trunk still.*
>>>>>>  *    *
>>>>>>  *    Reviewed-by: Jocelyn*
>>>>>>
>>>>>>
>>>>>>  Is there any way so that I can do a "test" build with this feature
>>>>>> available?
>>>>>> No problem is "it's unstable": it's something I need for doing an
>>>>>> internal demo of WebKit.
>>>>>> The crowd I'll have can't understand the concept of "has been
>>>>>> temporary removed because it's been still heavily developed".
>>>>>>
>>>>>>  For now, I'm trying with a "git revert ...". Any other option?
>>>>>>
>>>>>>  Thanks in advance for any help
>>>>>>
>>>>>> --
>>>>>> Ivan De Marino | Software Engineer | France Telecom R&D UK - Orange
>>>>>> Labs
>>>>>> w. +44 20 8849 5806 | m. +44 7515 955 861 | m. +44 7974 156 216
>>>>>> ivan[dot]demarino[at]orange-ftgroup.com |
>>>>>> ivan[dot]de[dot]marino[at]gmail[dot]com
>>>>>> www.detronizator.org | www.linkedin.com/in/ivandemarino
>>>>>>
>>>>>>  _______________________________________________
>>>>>> webkit-qt mailing list
>>>>>>
>>>>>> webkit-qt at lists.webkit.org
>>>>>>  http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Ivan De Marino | Software Engineer | France Telecom R&D UK - Orange Labs
>>>> w. +44 20 8849 5806 | m. +44 7515 955 861 | m. +44 7974 156 216
>>>> ivan[dot]demarino[at]orange-ftgroup.com |
>>>> ivan[dot]de[dot]marino[at]gmail[dot]com
>>>> www.detronizator.org | www.linkedin.com/in/ivandemarino
>>>>
>>>
>>>
>>
>>
>> --
>> Ivan De Marino | Software Engineer | France Telecom R&D UK - Orange Labs
>> w. +44 20 8849 5806 | m. +44 7515 955 861 | m. +44 7974 156 216
>> ivan[dot]demarino[at]orange-ftgroup.com |
>> ivan[dot]de[dot]marino[at]gmail[dot]com
>> www.detronizator.org | www.linkedin.com/in/ivandemarino
>>
>
>
>
> --
> Ivan De Marino | Software Engineer | France Telecom R&D UK - Orange Labs
> w. +44 20 8849 5806 | m. +44 7515 955 861 | m. +44 7974 156 216
> ivan[dot]demarino[at]orange-ftgroup.com |
> ivan[dot]de[dot]marino[at]gmail[dot]com
> www.detronizator.org | www.linkedin.com/in/ivandemarino
>
>
>


-- 
Ivan De Marino | Software Engineer | France Telecom R&D UK - Orange Labs
w. +44 20 8849 5806 | m. +44 7515 955 861 | m. +44 7974 156 216
ivan[dot]demarino[at]orange-ftgroup.com |
ivan[dot]de[dot]marino[at]gmail[dot]com
www.detronizator.org | www.linkedin.com/in/ivandemarino
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20100610/16ff631d/attachment-0001.html>


More information about the webkit-qt mailing list