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

Unified Diff: gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.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/service/gles2_cmd_validation_autogen.h ('k') | gpu/gpu.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h
===================================================================
--- gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h (revision 35431)
+++ gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h (working copy)
@@ -1,5 +1,11 @@
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
// This file is auto-generated. DO NOT EDIT!
+#ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGEN_H_
+#define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGEN_H_
bool ValidateGLenumBufferParameter(GLenum value) {
switch (value) {
@@ -303,8 +309,17 @@
}
}
-bool ValidateGLenumPixelStoreAlignment(GLenum value) {
+bool ValidateGLbooleanFalse(GLenum value) {
switch (value) {
+ case false:
+ return true;
+ default:
+ return false;
+ }
+}
+
+bool ValidateGLintPixelStoreAlignment(GLenum value) {
+ switch (value) {
case 1:
case 2:
case 4:
@@ -415,7 +430,7 @@
}
}
-bool ValidateGLenumVertexAttribSize(GLenum value) {
+bool ValidateGLintVertexAttribSize(GLenum value) {
switch (value) {
case 1:
case 2:
@@ -485,3 +500,5 @@
}
}
+#endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGEN_H_
+
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_validation_autogen.h ('k') | gpu/gpu.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698