Title: [220522] trunk/Source/WebCore
Revision
220522
Author
zandober...@gmail.com
Date
2017-08-10 01:37:36 -0700 (Thu, 10 Aug 2017)

Log Message

Unreviewed GTK+ build fix for ENABLE_GLES2=ON.

* platform/graphics/texmap/TextureMapperGLHeaders.h:
Define various GL constants that are not provided in GLES2 headers
but are only leveraged in OpenGL calls if at runtime the underlying
OpenGL is GLES2-capable.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (220521 => 220522)


--- trunk/Source/WebCore/ChangeLog	2017-08-10 07:39:39 UTC (rev 220521)
+++ trunk/Source/WebCore/ChangeLog	2017-08-10 08:37:36 UTC (rev 220522)
@@ -1,5 +1,14 @@
 2017-08-10  Zan Dobersek  <zdober...@igalia.com>
 
+        Unreviewed GTK+ build fix for ENABLE_GLES2=ON.
+
+        * platform/graphics/texmap/TextureMapperGLHeaders.h:
+        Define various GL constants that are not provided in GLES2 headers
+        but are only leveraged in OpenGL calls if at runtime the underlying
+        OpenGL is GLES2-capable.
+
+2017-08-10  Zan Dobersek  <zdober...@igalia.com>
+
         [TexMap] Remove GraphicsContext3D usage from BitmapTexturePool
         https://bugs.webkit.org/show_bug.cgi?id=175319
 

Modified: trunk/Source/WebCore/platform/graphics/texmap/TextureMapperGLHeaders.h (220521 => 220522)


--- trunk/Source/WebCore/platform/graphics/texmap/TextureMapperGLHeaders.h	2017-08-10 07:39:39 UTC (rev 220521)
+++ trunk/Source/WebCore/platform/graphics/texmap/TextureMapperGLHeaders.h	2017-08-10 08:37:36 UTC (rev 220522)
@@ -33,3 +33,23 @@
 #else
 #include "OpenGLShims.h"
 #endif
+
+#ifndef GL_BGRA
+#define GL_BGRA 0x80E1
+#endif
+
+#ifndef GL_TEXTURE_RECTANGLE_ARB
+#define GL_TEXTURE_RECTANGLE_ARB 0x84F5
+#endif
+
+#ifndef GL_UNPACK_ROW_LENGTH
+#define GL_UNPACK_ROW_LENGTH 0x0CF2
+#endif
+
+#ifndef GL_UNPACK_SKIP_ROWS
+#define GL_UNPACK_SKIP_ROWS 0x0CF3
+#endif
+
+#ifndef GL_UNPACK_SKIP_PIXELS
+#define GL_UNPACK_SKIP_PIXELS 0x0CF4
+#endif
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to