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

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

Issue 1542513002: Switch to standard integer types in gpu/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 years 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>
11 #include <GLES3/gl3.h> 11 #include <GLES3/gl3.h>
12 #include <stdint.h>
12 13
13 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
14 15
15 namespace gpu { 16 namespace gpu {
16 namespace gles2 { 17 namespace gles2 {
17 18
18 class GLES2UtilTest : public testing:: Test { 19 class GLES2UtilTest : public testing:: Test {
19 protected: 20 protected:
20 GLES2Util util_; 21 GLES2Util util_;
21 }; 22 };
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 if (!parsed_name.IsArrayName()) { 515 if (!parsed_name.IsArrayName()) {
515 continue; 516 continue;
516 } 517 }
517 EXPECT_EQ(testcase.base_name, parsed_name.base_name()); 518 EXPECT_EQ(testcase.base_name, parsed_name.base_name());
518 EXPECT_EQ(testcase.element_index, parsed_name.element_index()); 519 EXPECT_EQ(testcase.element_index, parsed_name.element_index());
519 } 520 }
520 } 521 }
521 522
522 } // namespace gles2 523 } // namespace gles2
523 } // namespace gpu 524 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_utils.cc ('k') | gpu/command_buffer/common/gpu_memory_allocation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698