Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(631)

Side by Side Diff: gpu/command_buffer/service/buffer_manager_unittest.cc

Issue 11444028: Make more GL stuff auto-generated (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/buffer_manager.h" 5 #include "gpu/command_buffer/service/buffer_manager.h"
6 #include "gpu/command_buffer/common/gl_mock.h"
7 #include "testing/gtest/include/gtest/gtest.h" 6 #include "testing/gtest/include/gtest/gtest.h"
7 #include "ui/gl/gl_mock.h"
8 8
9 namespace gpu { 9 namespace gpu {
10 namespace gles2 { 10 namespace gles2 {
11 11
12 class BufferManagerTest : public testing::Test { 12 class BufferManagerTest : public testing::Test {
13 public: 13 public:
14 BufferManagerTest() : manager_(NULL) { 14 BufferManagerTest() : manager_(NULL) {
15 } 15 }
16 ~BufferManagerTest() { 16 ~BufferManagerTest() {
17 manager_.Destroy(false); 17 manager_.Destroy(false);
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 EXPECT_CALL(*gl_, DeleteBuffersARB(1, ::testing::Pointee(kServiceBufferId))) 250 EXPECT_CALL(*gl_, DeleteBuffersARB(1, ::testing::Pointee(kServiceBufferId)))
251 .Times(1) 251 .Times(1)
252 .RetiresOnSaturation(); 252 .RetiresOnSaturation();
253 info = NULL; 253 info = NULL;
254 } 254 }
255 255
256 } // namespace gles2 256 } // namespace gles2
257 } // namespace gpu 257 } // namespace gpu
258 258
259 259
OLDNEW
« no previous file with comments | « gpu/command_buffer/common/gl_mock.cc ('k') | gpu/command_buffer/service/context_group_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698