Bug 146526 - Disable experimental WebGL2 implementation
Summary: Disable experimental WebGL2 implementation
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Dean Jackson
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-07-01 15:13 PDT by Dean Jackson
Modified: 2015-07-01 17:42 PDT (History)
3 users (show)

See Also:


Attachments
Patch (44.18 KB, patch)
2015-07-01 15:26 PDT, Dean Jackson
mmaxfield: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dean Jackson 2015-07-01 15:13:49 PDT
Disable WebGL2
Comment 1 Dean Jackson 2015-07-01 15:14:45 PDT
Our experimental implementation is not ready to be exposed.
Comment 2 Radar WebKit Bug Importer 2015-07-01 15:15:34 PDT
<rdar://problem/21641229>
Comment 3 Radar WebKit Bug Importer 2015-07-01 15:15:37 PDT
<rdar://problem/21641235>
Comment 4 Dean Jackson 2015-07-01 15:19:42 PDT
Not sure why we got two radars. Which one updates?
Comment 5 Dean Jackson 2015-07-01 15:26:19 PDT
Created attachment 255957 [details]
Patch
Comment 6 Myles C. Maxfield 2015-07-01 15:31:56 PDT
Comment on attachment 255957 [details]
Patch

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

> Source/WTF/wtf/FeatureDefines.h:766
> +#if !defined(ENABLE_WEBGL2)
> +#define ENABLE_WEBGL2 0
> +#endif

Why is this necessary? Weinig says we should be trying to pare down this file, not add to it.

> Source/WebCore/bindings/js/JSCanvasRenderingContextCustom.cpp:42
> +#if ENABLE(WEBGL2)
> +#include "JSWebGL2RenderingContext.h"
> +#endif

Don't we usually have a pattern to put these ENABLE() guards inside the header files themselves?
Comment 7 Myles C. Maxfield 2015-07-01 15:32:04 PDT
rs=me
Comment 8 Dean Jackson 2015-07-01 15:37:27 PDT
Comment on attachment 255957 [details]
Patch

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

>> Source/WTF/wtf/FeatureDefines.h:766
>> +#endif
> 
> Why is this necessary? Weinig says we should be trying to pare down this file, not add to it.

I agree! I was the one who proposed removing this file :)

But until there is a plan, I would like to keep consistent.

>> Source/WebCore/bindings/js/JSCanvasRenderingContextCustom.cpp:42
>> +#endif
> 
> Don't we usually have a pattern to put these ENABLE() guards inside the header files themselves?

Good catch. It's actually automatically in that file thanks to the Condition guard.
Comment 9 Dean Jackson 2015-07-01 15:40:03 PDT
Committed r186198: <http://trac.webkit.org/changeset/186198>
Comment 10 Chris Dumez 2015-07-01 17:32:37 PDT
Look like this needs rebaselining:
js/dom/global-constructors-attributes.html
Comment 11 Chris Dumez 2015-07-01 17:42:04 PDT
(In reply to comment #10)
> Look like this needs rebaselining:
> js/dom/global-constructors-attributes.html

<http://trac.webkit.org/changeset/186211>