Title: [119533] trunk/Source/WebCore
- Revision
- 119533
- Author
- [email protected]
- Date
- 2012-06-05 16:12:19 -0700 (Tue, 05 Jun 2012)
Log Message
[Cairo] [OpenGL] Enable GL_OES_standard_derivatives
https://bugs.webkit.org/show_bug.cgi?id=87583
Patch by Martin Robinson <[email protected]> on 2012-06-05
Reviewed by Alejandro G. Castro.
No new tests. This is covered by oes-standard-derivatives.html
in the Khronos WebGL conformance tests, which may one day be part
of the WebKit test suite.
Activate the GL_OES_standard_derivatives on Cairo along with
Qt and Mac.
* platform/graphics/opengl/Extensions3DOpenGL.cpp:
(WebCore::Extensions3DOpenGL::ensureEnabled):
(WebCore::Extensions3DOpenGL::isEnabled):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (119532 => 119533)
--- trunk/Source/WebCore/ChangeLog 2012-06-05 22:45:01 UTC (rev 119532)
+++ trunk/Source/WebCore/ChangeLog 2012-06-05 23:12:19 UTC (rev 119533)
@@ -1,3 +1,21 @@
+2012-06-05 Martin Robinson <[email protected]>
+
+ [Cairo] [OpenGL] Enable GL_OES_standard_derivatives
+ https://bugs.webkit.org/show_bug.cgi?id=87583
+
+ Reviewed by Alejandro G. Castro.
+
+ No new tests. This is covered by oes-standard-derivatives.html
+ in the Khronos WebGL conformance tests, which may one day be part
+ of the WebKit test suite.
+
+ Activate the GL_OES_standard_derivatives on Cairo along with
+ Qt and Mac.
+
+ * platform/graphics/opengl/Extensions3DOpenGL.cpp:
+ (WebCore::Extensions3DOpenGL::ensureEnabled):
+ (WebCore::Extensions3DOpenGL::isEnabled):
+
2012-06-05 Simon Fraser <[email protected]>
Avoid creating compositing layers for preserve-3d without transformed descendants
Modified: trunk/Source/WebCore/platform/graphics/opengl/Extensions3DOpenGL.cpp (119532 => 119533)
--- trunk/Source/WebCore/platform/graphics/opengl/Extensions3DOpenGL.cpp 2012-06-05 22:45:01 UTC (rev 119532)
+++ trunk/Source/WebCore/platform/graphics/opengl/Extensions3DOpenGL.cpp 2012-06-05 23:12:19 UTC (rev 119533)
@@ -106,7 +106,7 @@
void Extensions3DOpenGL::ensureEnabled(const String& name)
{
-#if PLATFORM(MAC) || PLATFORM(QT)
+#if PLATFORM(MAC) || PLATFORM(QT) || PLATFORM(GTK)
if (name == "GL_OES_standard_derivatives") {
// Enable support in ANGLE (if not enabled already)
ANGLEWebKitBridge& compiler = m_context->m_compiler;
@@ -123,7 +123,7 @@
bool Extensions3DOpenGL::isEnabled(const String& name)
{
-#if PLATFORM(MAC) || PLATFORM(QT)
+#if PLATFORM(MAC) || PLATFORM(QT) || PLATFORM(GTK)
if (name == "GL_OES_standard_derivatives") {
ANGLEWebKitBridge& compiler = m_context->m_compiler;
return compiler.getResources().OES_standard_derivatives;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes