Title: [151676] trunk/Source/WebCore
Revision
151676
Author
[email protected]
Date
2013-06-18 01:35:20 -0700 (Tue, 18 Jun 2013)

Log Message

Shader compiler not properly configured for GLES on cairo based ports
https://bugs.webkit.org/show_bug.cgi?id=117705

Reviewed by Martin Robinson.

Configure the shader compiler with SH_ESSL_OUTPUT for GLESv2
compliant platforms, and with SH_GLSL_OUTPUT otherwise.

* platform/graphics/cairo/GraphicsContext3DCairo.cpp:
(WebCore::GraphicsContext3D::GraphicsContext3D):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (151675 => 151676)


--- trunk/Source/WebCore/ChangeLog	2013-06-18 08:29:20 UTC (rev 151675)
+++ trunk/Source/WebCore/ChangeLog	2013-06-18 08:35:20 UTC (rev 151676)
@@ -1,3 +1,16 @@
+2013-06-18  Mario Sanchez Prada  <[email protected]>
+
+        Shader compiler not properly configured for GLES on cairo based ports
+        https://bugs.webkit.org/show_bug.cgi?id=117705
+
+        Reviewed by Martin Robinson.
+
+        Configure the shader compiler with SH_ESSL_OUTPUT for GLESv2
+        compliant platforms, and with SH_GLSL_OUTPUT otherwise.
+
+        * platform/graphics/cairo/GraphicsContext3DCairo.cpp:
+        (WebCore::GraphicsContext3D::GraphicsContext3D):
+
 2013-06-18  Christophe Dumez  <[email protected]>
 
         touching any idl rebuilds all derived sources

Modified: trunk/Source/WebCore/platform/graphics/cairo/GraphicsContext3DCairo.cpp (151675 => 151676)


--- trunk/Source/WebCore/platform/graphics/cairo/GraphicsContext3DCairo.cpp	2013-06-18 08:29:20 UTC (rev 151675)
+++ trunk/Source/WebCore/platform/graphics/cairo/GraphicsContext3DCairo.cpp	2013-06-18 08:35:20 UTC (rev 151676)
@@ -75,6 +75,7 @@
 GraphicsContext3D::GraphicsContext3D(GraphicsContext3D::Attributes attributes, HostWindow*, GraphicsContext3D::RenderStyle renderStyle)
     : m_currentWidth(0)
     , m_currentHeight(0)
+    , m_compiler(isGLES2Compliant() ? SH_ESSL_OUTPUT : SH_GLSL_OUTPUT)
     , m_attrs(attributes)
     , m_texture(0)
     , m_fbo(0)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to