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

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

Issue 11782020: Refactor so chromium only GL extensions require gl2extchromium.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
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 11
11 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
12 13
13 namespace gpu { 14 namespace gpu {
14 namespace gles2 { 15 namespace gles2 {
15 16
16 class GLES2UtilTest : public testing:: Test { 17 class GLES2UtilTest : public testing:: Test {
17 protected: 18 protected:
18 GLES2Util util_; 19 GLES2Util util_;
19 }; 20 };
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 CheckParseUniformName("u_name[020]", true, 6u, 20, true); 284 CheckParseUniformName("u_name[020]", true, 6u, 20, true);
284 CheckParseUniformName("u_name[0][0]", true, 9u, 0, true); 285 CheckParseUniformName("u_name[0][0]", true, 9u, 0, true);
285 CheckParseUniformName("u_name[3][2]", true, 9u, 2, true); 286 CheckParseUniformName("u_name[3][2]", true, 9u, 2, true);
286 CheckParseUniformName("u_name[03][02]", true, 10u, 2, true); 287 CheckParseUniformName("u_name[03][02]", true, 10u, 2, true);
287 CheckParseUniformName("u_name[30][20]", true, 10u, 20, true); 288 CheckParseUniformName("u_name[30][20]", true, 10u, 20, true);
288 CheckParseUniformName("u_name[030][020]", true, 11u, 20, true); 289 CheckParseUniformName("u_name[030][020]", true, 11u, 20, true);
289 } 290 }
290 291
291 } // namespace gles2 292 } // namespace gles2
292 } // namespace gpu 293 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_utils.cc ('k') | gpu/command_buffer/tests/gl_bind_uniform_location_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698