Title: [179158] trunk/Source/WebCore
- Revision
- 179158
- Author
- [email protected]
- Date
- 2015-01-26 16:55:26 -0800 (Mon, 26 Jan 2015)
Log Message
WebGL 2.0: Actually allow for experimental-webgl2 context creation.
https://bugs.webkit.org/show_bug.cgi?id=140906
<rdar://problem/19606875>.
Reviewed by Brent Fulgham.
* html/HTMLCanvasElement.cpp:
(WebCore::HTMLCanvasElement::is3dType): Include experimental-webgl2 in the list of acceptable 3d context types.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (179157 => 179158)
--- trunk/Source/WebCore/ChangeLog 2015-01-27 00:26:21 UTC (rev 179157)
+++ trunk/Source/WebCore/ChangeLog 2015-01-27 00:55:26 UTC (rev 179158)
@@ -1,3 +1,14 @@
+2015-01-26 Roger Fong <[email protected]>
+
+ WebGL 2.0: Actually allow for experimental-webgl2 context creation.
+ https://bugs.webkit.org/show_bug.cgi?id=140906
+ <rdar://problem/19606875>.
+
+ Reviewed by Brent Fulgham.
+
+ * html/HTMLCanvasElement.cpp:
+ (WebCore::HTMLCanvasElement::is3dType): Include "experimental-webgl2" in the list of acceptable 3d context types.
+
2015-01-26 Chris Dumez <[email protected]>
Rename Document::body() to Document::bodyOrFrameset() for clarity
Modified: trunk/Source/WebCore/html/HTMLCanvasElement.cpp (179157 => 179158)
--- trunk/Source/WebCore/html/HTMLCanvasElement.cpp 2015-01-27 00:26:21 UTC (rev 179157)
+++ trunk/Source/WebCore/html/HTMLCanvasElement.cpp 2015-01-27 00:55:26 UTC (rev 179158)
@@ -255,7 +255,7 @@
bool HTMLCanvasElement::is3dType(const String& type)
{
// Retain support for the legacy "webkit-3d" name.
- return type == "webgl" || type == "experimental-webgl" || type == "webkit-3d";
+ return type == "webgl" || type == "experimental-webgl" || type == "webkit-3d" || type == "experimental-webgl2";
}
#endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes