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

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

Issue 546026: Adds unit tests for glDrawArrays and glDrawBuffers... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 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') | no next file » | 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 36134)
+++ gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h (working copy)
@@ -300,6 +300,15 @@
}
}
+bool ValidateGLintTextureBorder(GLenum value) {
+ switch (value) {
+ case 0:
+ return true;
+ default:
+ return false;
+ }
+}
+
bool ValidateGLenumFrameBufferTarget(GLenum value) {
switch (value) {
case GL_FRAMEBUFFER:
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_validation_autogen.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698