Bug 65998 - [Qt] Enable WebGL by default for QtWebKit (except on Windows)
Summary: [Qt] Enable WebGL by default for QtWebKit (except on Windows)
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGL (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: Qt
Depends on:
Blocks:
 
Reported: 2011-08-10 10:50 PDT by Noam Rosenthal
Modified: 2011-09-26 00:18 PDT (History)
4 users (show)

See Also:


Attachments
Patch (1.69 KB, patch)
2011-08-10 15:33 PDT, Noam Rosenthal
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Noam Rosenthal 2011-08-10 10:50:12 PDT
It's time to make building WebGL on Qt an opt-out instead of an opt-in.
We'd still keep it opt-in in the settings.
Comment 1 Noam Rosenthal 2011-08-10 15:33:18 PDT
Created attachment 103542 [details]
Patch
Comment 2 Benjamin Poulain 2011-08-10 17:08:26 PDT
Comment on attachment 103542 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=103542&action=review

> Source/WebCore/features.pri:125
> +contains(QT_CONFIG, opengl) {

Before you land, could you check if that still work on Qt5? ...since gl is always available there?
Comment 3 Noam Rosenthal 2011-08-10 17:11:05 PDT
(In reply to comment #2)
> (From update of attachment 103542 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=103542&action=review
> 
> > Source/WebCore/features.pri:125
> > +contains(QT_CONFIG, opengl) {
> 
> Before you land, could you check if that still work on Qt5? ...since gl is always available there?

You mean does the flag work?
Checked. Works.
Comment 4 WebKit Review Bot 2011-08-10 17:28:01 PDT
Comment on attachment 103542 [details]
Patch

Clearing flags on attachment: 103542

Committed r92805: <http://trac.webkit.org/changeset/92805>
Comment 5 WebKit Review Bot 2011-08-10 17:28:05 PDT
All reviewed patches have been landed.  Closing bug.
Comment 6 Csaba Osztrogonác 2011-08-11 01:52:39 PDT
It broke all fast/canvas/webgl tests ...
I skipped them: https://trac.webkit.org/changeset/92805

Reopen to fix them or file a bug report.
Comment 7 Csaba Osztrogonác 2011-08-11 01:54:24 PDT
And it broke Windows build too ...
Reni had to disable WebGL on Windows: https://trac.webkit.org/changeset/92830
Comment 8 Benjamin Poulain 2011-08-11 02:21:07 PDT
(In reply to comment #7)
> And it broke Windows build too ...
> Reni had to disable WebGL on Windows: https://trac.webkit.org/changeset/92830

Interesting. I guess we will have to investigate ANGLE sooner than expected.
Comment 9 Csaba Osztrogonác 2011-09-25 15:14:51 PDT
Why did you close it? WebGL is still disabled on Windows ...
Comment 10 Noam Rosenthal 2011-09-25 23:30:14 PDT
(In reply to comment #9)
> Why did you close it? WebGL is still disabled on Windows ...

It's confusing. We should create a new bug specificly for windows.
Comment 11 Csaba Osztrogonác 2011-09-25 23:37:50 PDT
Reni filed a new bug report about it, but missed to mention it here:
https://bugs.webkit.org/show_bug.cgi?id=66042
Comment 12 Noam Rosenthal 2011-09-26 00:18:37 PDT
Thanks for changing the bug desc. - I should have done that when closing the bug.