| 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/renderbuffer_manager.h" | 5 #include "gpu/command_buffer/service/renderbuffer_manager.h" |
| 6 | 6 |
| 7 #include <set> | 7 #include <set> |
| 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 namespace gpu { | 11 namespace gpu { |
| 12 namespace gles2 { | 12 namespace gles2 { |
| 13 | 13 |
| 14 class RenderbufferManagerTest : public testing::Test { | 14 class RenderbufferManagerTest : public testing::Test { |
| 15 public: | 15 public: |
| 16 static const GLint kMaxSize = 128; | 16 static const GLint kMaxSize = 128; |
| 17 static const GLint kMaxSamples = 4; | 17 static const GLint kMaxSamples = 4; |
| 18 | 18 |
| 19 RenderbufferManagerTest() | 19 RenderbufferManagerTest() |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 EXPECT_EQ(signature1, signature2); | 222 EXPECT_EQ(signature1, signature2); |
| 223 | 223 |
| 224 // Check the set was acutally getting different signatures. | 224 // Check the set was acutally getting different signatures. |
| 225 EXPECT_EQ(5u, string_set.size()); | 225 EXPECT_EQ(5u, string_set.size()); |
| 226 } | 226 } |
| 227 | 227 |
| 228 } // namespace gles2 | 228 } // namespace gles2 |
| 229 } // namespace gpu | 229 } // namespace gpu |
| 230 | 230 |
| 231 | 231 |
| OLD | NEW |