Unreviewed build fix.
authoralex.christensen@flexsim.com <alex.christensen@flexsim.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 22 Nov 2013 03:56:50 +0000 (03:56 +0000)
committeralex.christensen@flexsim.com <alex.christensen@flexsim.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 22 Nov 2013 03:56:50 +0000 (03:56 +0000)
* src/libGLESv2/Constants.h: Added from checkout a60e0805721f62c28a55faf2df74472cc5fc91fc.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@159673 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/ThirdParty/ANGLE/ChangeLog
Source/ThirdParty/ANGLE/src/libGLESv2/Constants.h [new file with mode: 0644]

index c3b19edd5aa208d7c78b8a6d7c4989b558f50d9d..34d7071d02b3bf6e9afb24371db780025c849187 100644 (file)
@@ -1,3 +1,9 @@
+2013-11-21  Alex Christensen  <achristensen@webkit.org>
+
+        Unreviewed build fix.
+
+        * src/libGLESv2/Constants.h: Added from checkout a60e0805721f62c28a55faf2df74472cc5fc91fc.
+
 2013-11-21  Mark Rowe  <mrowe@apple.com>
 
         <https://webkit.org/b/124701> Fix an error in a few Xcode configuration setting files.
diff --git a/Source/ThirdParty/ANGLE/src/libGLESv2/Constants.h b/Source/ThirdParty/ANGLE/src/libGLESv2/Constants.h
new file mode 100644 (file)
index 0000000..d902d45
--- /dev/null
@@ -0,0 +1,34 @@
+//\r
+// Copyright (c) 2013 The ANGLE Project Authors. All rights reserved.\r
+// Use of this source code is governed by a BSD-style license that can be\r
+// found in the LICENSE file.\r
+//\r
+\r
+// Contants.h: Defines some implementation specific and gl constants\r
+\r
+#ifndef LIBGLESV2_CONSTANTS_H_\r
+#define LIBGLESV2_CONSTANTS_H_\r
+\r
+namespace gl\r
+{\r
+\r
+enum\r
+{\r
+    MAX_VERTEX_ATTRIBS = 16,\r
+    MAX_TEXTURE_IMAGE_UNITS = 16,\r
+\r
+    // Implementation upper limits, real maximums depend on the hardware\r
+    IMPLEMENTATION_MAX_VERTEX_TEXTURE_IMAGE_UNITS = 16,\r
+    IMPLEMENTATION_MAX_COMBINED_TEXTURE_IMAGE_UNITS = MAX_TEXTURE_IMAGE_UNITS + IMPLEMENTATION_MAX_VERTEX_TEXTURE_IMAGE_UNITS,    \r
+\r
+    IMPLEMENTATION_MAX_VARYING_VECTORS = 32,\r
+    IMPLEMENTATION_MAX_DRAW_BUFFERS = 8\r
+};\r
+\r
+const float ALIASED_LINE_WIDTH_RANGE_MIN = 1.0f;\r
+const float ALIASED_LINE_WIDTH_RANGE_MAX = 1.0f;\r
+const float ALIASED_POINT_SIZE_RANGE_MIN = 1.0f;\r
+\r
+}\r
+\r
+#endif // LIBGLESV2_CONSTANTS_H_\r