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

Side by Side Diff: gpu/command_buffer/common/gles2_cmd_utils_unittest.cc

Issue 885443002: Roll Chrome into Mojo. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rebase to ToT mojo Created 5 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "gpu/command_buffer/common/gles2_cmd_utils.h" 5 #include "gpu/command_buffer/common/gles2_cmd_utils.h"
6 6
7 #include <limits> 7 #include <limits>
8 #include <GLES2/gl2.h> 8 #include <GLES2/gl2.h>
9 #include <GLES2/gl2ext.h> 9 #include <GLES2/gl2ext.h>
10 #include <GLES2/gl2extchromium.h> 10 #include <GLES2/gl2extchromium.h>
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 CheckParseUniformName("u_name[0]", true, 6u, 0, true); 383 CheckParseUniformName("u_name[0]", true, 6u, 0, true);
384 CheckParseUniformName("u_name[2]", true, 6u, 2, true); 384 CheckParseUniformName("u_name[2]", true, 6u, 2, true);
385 CheckParseUniformName("u_name[02]", true, 6u, 2, true); 385 CheckParseUniformName("u_name[02]", true, 6u, 2, true);
386 CheckParseUniformName("u_name[20]", true, 6u, 20, true); 386 CheckParseUniformName("u_name[20]", true, 6u, 20, true);
387 CheckParseUniformName("u_name[020]", true, 6u, 20, true); 387 CheckParseUniformName("u_name[020]", true, 6u, 20, true);
388 CheckParseUniformName("u_name[0][0]", true, 9u, 0, true); 388 CheckParseUniformName("u_name[0][0]", true, 9u, 0, true);
389 CheckParseUniformName("u_name[3][2]", true, 9u, 2, true); 389 CheckParseUniformName("u_name[3][2]", true, 9u, 2, true);
390 CheckParseUniformName("u_name[03][02]", true, 10u, 2, true); 390 CheckParseUniformName("u_name[03][02]", true, 10u, 2, true);
391 CheckParseUniformName("u_name[30][20]", true, 10u, 20, true); 391 CheckParseUniformName("u_name[30][20]", true, 10u, 20, true);
392 CheckParseUniformName("u_name[030][020]", true, 11u, 20, true); 392 CheckParseUniformName("u_name[030][020]", true, 11u, 20, true);
393 CheckParseUniformName("", false, std::string::npos, 0, false);
393 } 394 }
394 395
395 } // namespace gles2 396 } // namespace gles2
396 } // namespace gpu 397 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h ('k') | gpu/command_buffer/common/time.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698