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 // Tests for GLES2Implementation. | 5 // Tests for GLES2Implementation. |
6 | 6 |
7 #include "gpu/command_buffer/client/gles2_implementation.h" | 7 #include "gpu/command_buffer/client/gles2_implementation.h" |
8 | 8 |
9 #include <GLES2/gl2ext.h> | 9 #include <GLES2/gl2ext.h> |
| 10 #include <GLES2/gl2extchromium.h> |
10 #include "gpu/command_buffer/client/client_test_helper.h" | 11 #include "gpu/command_buffer/client/client_test_helper.h" |
11 #include "gpu/command_buffer/client/program_info_manager.h" | 12 #include "gpu/command_buffer/client/program_info_manager.h" |
12 #include "gpu/command_buffer/client/transfer_buffer.h" | 13 #include "gpu/command_buffer/client/transfer_buffer.h" |
13 #include "gpu/command_buffer/common/command_buffer.h" | 14 #include "gpu/command_buffer/common/command_buffer.h" |
14 #include "gpu/command_buffer/common/compiler_specific.h" | 15 #include "gpu/command_buffer/common/compiler_specific.h" |
15 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
16 #include "testing/gmock/include/gmock/gmock.h" | 17 #include "testing/gmock/include/gmock/gmock.h" |
17 | 18 |
18 #if !defined(GLES2_SUPPORT_CLIENT_SIDE_ARRAYS) | 19 #if !defined(GLES2_SUPPORT_CLIENT_SIDE_ARRAYS) |
19 #define GLES2_SUPPORT_CLIENT_SIDE_ARRAYS | 20 #define GLES2_SUPPORT_CLIENT_SIDE_ARRAYS |
(...skipping 2780 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2800 gl_->Enable(GL_BLEND); | 2801 gl_->Enable(GL_BLEND); |
2801 EXPECT_TRUE(NoCommandsWritten()); | 2802 EXPECT_TRUE(NoCommandsWritten()); |
2802 } | 2803 } |
2803 | 2804 |
2804 | 2805 |
2805 #include "gpu/command_buffer/client/gles2_implementation_unittest_autogen.h" | 2806 #include "gpu/command_buffer/client/gles2_implementation_unittest_autogen.h" |
2806 | 2807 |
2807 } // namespace gles2 | 2808 } // namespace gles2 |
2808 } // namespace gpu | 2809 } // namespace gpu |
2809 | 2810 |
OLD | NEW |