OLD | NEW |
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 Loading... |
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 |
OLD | NEW |