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/service/framebuffer_manager.h" | 5 #include "gpu/command_buffer/service/framebuffer_manager.h" |
6 #include "gpu/command_buffer/service/feature_info.h" | 6 #include "gpu/command_buffer/service/feature_info.h" |
7 | 7 |
8 #include "gpu/command_buffer/common/gl_mock.h" | |
9 #include "testing/gtest/include/gtest/gtest.h" | 8 #include "testing/gtest/include/gtest/gtest.h" |
| 9 #include "ui/gl/gl_mock.h" |
10 | 10 |
11 using ::testing::Return; | 11 using ::testing::Return; |
12 | 12 |
13 namespace gpu { | 13 namespace gpu { |
14 namespace gles2 { | 14 namespace gles2 { |
15 | 15 |
16 class FramebufferManagerTest : public testing::Test { | 16 class FramebufferManagerTest : public testing::Test { |
17 static const GLint kMaxTextureSize = 64; | 17 static const GLint kMaxTextureSize = 64; |
18 static const GLint kMaxCubemapSize = 64; | 18 static const GLint kMaxCubemapSize = 64; |
19 static const GLint kMaxRenderbufferSize = 64; | 19 static const GLint kMaxRenderbufferSize = 64; |
(...skipping 687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
707 | 707 |
708 // Check Unbinding does not call CheckFramebufferStatus | 708 // Check Unbinding does not call CheckFramebufferStatus |
709 info_->UnbindRenderbuffer(GL_RENDERBUFFER, rb_info1); | 709 info_->UnbindRenderbuffer(GL_RENDERBUFFER, rb_info1); |
710 info_->GetStatus(&texture_manager_, GL_READ_FRAMEBUFFER); | 710 info_->GetStatus(&texture_manager_, GL_READ_FRAMEBUFFER); |
711 } | 711 } |
712 | 712 |
713 } // namespace gles2 | 713 } // namespace gles2 |
714 } // namespace gpu | 714 } // namespace gpu |
715 | 715 |
716 | 716 |
OLD | NEW |