| 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 <GLES2/gl2extchromium.h> |
| 11 #include "base/compiler_specific.h" |
| 11 #include "gpu/command_buffer/client/client_test_helper.h" | 12 #include "gpu/command_buffer/client/client_test_helper.h" |
| 12 #include "gpu/command_buffer/client/program_info_manager.h" | 13 #include "gpu/command_buffer/client/program_info_manager.h" |
| 13 #include "gpu/command_buffer/client/transfer_buffer.h" | 14 #include "gpu/command_buffer/client/transfer_buffer.h" |
| 14 #include "gpu/command_buffer/common/command_buffer.h" | 15 #include "gpu/command_buffer/common/command_buffer.h" |
| 15 #include "gpu/command_buffer/common/compiler_specific.h" | |
| 16 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
| 17 #include "testing/gmock/include/gmock/gmock.h" | 17 #include "testing/gmock/include/gmock/gmock.h" |
| 18 | 18 |
| 19 #if !defined(GLES2_SUPPORT_CLIENT_SIDE_ARRAYS) | 19 #if !defined(GLES2_SUPPORT_CLIENT_SIDE_ARRAYS) |
| 20 #define GLES2_SUPPORT_CLIENT_SIDE_ARRAYS | 20 #define GLES2_SUPPORT_CLIENT_SIDE_ARRAYS |
| 21 #endif | 21 #endif |
| 22 | 22 |
| 23 using testing::_; | 23 using testing::_; |
| 24 using testing::AtLeast; | 24 using testing::AtLeast; |
| 25 using testing::AnyNumber; | 25 using testing::AnyNumber; |
| (...skipping 2849 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2875 ClearCommands(); | 2875 ClearCommands(); |
| 2876 gl_->Enable(GL_BLEND); | 2876 gl_->Enable(GL_BLEND); |
| 2877 EXPECT_TRUE(NoCommandsWritten()); | 2877 EXPECT_TRUE(NoCommandsWritten()); |
| 2878 } | 2878 } |
| 2879 | 2879 |
| 2880 | 2880 |
| 2881 #include "gpu/command_buffer/client/gles2_implementation_unittest_autogen.h" | 2881 #include "gpu/command_buffer/client/gles2_implementation_unittest_autogen.h" |
| 2882 | 2882 |
| 2883 } // namespace gles2 | 2883 } // namespace gles2 |
| 2884 } // namespace gpu | 2884 } // namespace gpu |
| OLD | NEW |