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

Side by Side Diff: gpu/command_buffer/service/framebuffer_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/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
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
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/feature_info_unittest.cc ('k') | gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698