Title: [160324] trunk/Source/WebCore
Revision
160324
Author
[email protected]
Date
2013-12-09 12:17:53 -0800 (Mon, 09 Dec 2013)

Log Message

[WinCairo] OpenGL compile error.
https://bugs.webkit.org/show_bug.cgi?id=125383

Patch by [email protected] <[email protected]> on 2013-12-09
Reviewed by Darin Adler.

* platform/graphics/opengl/Extensions3DOpenGLES.h: Define GL_HALF_FLOAT_ARB on Windows when OPENGL_ES_2 is used.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (160323 => 160324)


--- trunk/Source/WebCore/ChangeLog	2013-12-09 20:16:50 UTC (rev 160323)
+++ trunk/Source/WebCore/ChangeLog	2013-12-09 20:17:53 UTC (rev 160324)
@@ -1,3 +1,12 @@
+2013-12-09  [email protected]  <[email protected]>
+
+        [WinCairo] OpenGL compile error.
+        https://bugs.webkit.org/show_bug.cgi?id=125383
+
+        Reviewed by Darin Adler.
+
+        * platform/graphics/opengl/Extensions3DOpenGLES.h: Define GL_HALF_FLOAT_ARB on Windows when OPENGL_ES_2 is used.
+
 2013-12-09  Peter Molnar  <[email protected]>
 
         Fix handling of 'inherit' and 'initial' for grid lines.

Modified: trunk/Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLES.h (160323 => 160324)


--- trunk/Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLES.h	2013-12-09 20:16:50 UTC (rev 160323)
+++ trunk/Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLES.h	2013-12-09 20:17:53 UTC (rev 160324)
@@ -39,6 +39,12 @@
 #define PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMG PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC
 #endif
 
+#if PLATFORM(WIN) && USE(OPENGL_ES_2)
+#ifndef GL_ARB_half_float_pixel
+#define GL_HALF_FLOAT_ARB                 0x140B
+#endif
+#endif
+
 #ifndef GL_EXT_robustness
 /* reuse GL_NO_ERROR */
 #define GL_GUILTY_CONTEXT_RESET_EXT 0x8253
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to