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

Unified Diff: gpu/command_buffer/service/gles2_cmd_validation.cc

Issue 2689006: Refactor validation code so it can be modified at runtime.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 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
Index: gpu/command_buffer/service/gles2_cmd_validation.cc
===================================================================
--- gpu/command_buffer/service/gles2_cmd_validation.cc (revision 49807)
+++ gpu/command_buffer/service/gles2_cmd_validation.cc (working copy)
@@ -4,13 +4,10 @@
// Contains various validation functions for the GLES2 service.
-// NOTE: We explicitly do NOT include gles2_cmd_validation.h because the
-// gl2.h included in here must NOT be the native one. This is because
-// some of the GLenum definitions exist only in GLES2 and not in Desktop
-// GL.
-#include <GLES2/gl2types.h>
-#include <GLES2/gl2ext.h>
-#include <GLES2/gles2_command_buffer.h>
+#include "base/basictypes.h"
+#define GLES2_GPU_SERVICE 1
+#include "gpu/command_buffer/service/gles2_cmd_validation.h"
+#include "gpu/command_buffer/service/gl_utils.h"
namespace gpu {
namespace gles2 {
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_validation.h ('k') | gpu/command_buffer/service/gles2_cmd_validation_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698