Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(681)

Unified Diff: gpu/command_buffer/service/gl_interface.h

Issue 521018: A bunch of unit tests for GLES2 (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_ids_autogen.h ('k') | gpu/command_buffer/service/gles2_cmd_decoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gl_interface.h
===================================================================
--- gpu/command_buffer/service/gl_interface.h (revision 35431)
+++ gpu/command_buffer/service/gl_interface.h (working copy)
@@ -11,6 +11,27 @@
#include <GLES2/gl2types.h>
+// These are Desktop GL constants that we want to test that our GLES2
+// implemenation does not let through.
+#define GL_PROXY_TEXTURE_CUBE_MAP 0x851B
+#define GL_BGR 0x80E0
+#define GL_BGRA 0x80E1
+#define GL_UNPACK_SWAP_BYTES 0x0CF0
+#define GL_PACK_SWAP_BYTES 0x0D00
+#define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50
+#define GL_QUADS 0x0007
+#define GL_POLYGON 0x0009
+#define GL_FOG 0x0B60
+#define GL_CLIP_PLANE0 0x3000
+#define GL_GENERATE_MIPMAP 0x8191
+#define GL_PIXEL_PACK_BUFFER 0x88EB
+#define GL_POINT_SPRITE 0x8861
+#define GL_MIN 0x8007
+#define GL_MAX 0x8008
+#define GL_TEXTURE_1D 0x0DE0
+#define GL_TEXTURE_3D 0x806F
+#define GL_DOUBLE 0x140A
+
namespace gles2 {
class GLInterface {
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_ids_autogen.h ('k') | gpu/command_buffer/service/gles2_cmd_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698