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

Side by Side Diff: gpu/command_buffer/tests/gl_manager.cc

Issue 10392068: ui: Move gl/ directory out of gfx/, up to ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mac_rel Created 8 years, 7 months 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
« no previous file with comments | « gpu/command_buffer/service/gpu_scheduler.cc ('k') | gpu/command_buffer/tests/gl_tests_main.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/tests/gl_manager.h"
6 #include "base/at_exit.h" 5 #include "base/at_exit.h"
7 #include "base/bind.h" 6 #include "base/bind.h"
7 #include "gpu/command_buffer/client/gles2_implementation.h"
8 #include "gpu/command_buffer/client/gles2_lib.h" 8 #include "gpu/command_buffer/client/gles2_lib.h"
9 #include "gpu/command_buffer/client/gles2_implementation.h"
10 #include "gpu/command_buffer/client/transfer_buffer.h" 9 #include "gpu/command_buffer/client/transfer_buffer.h"
11 #include "gpu/command_buffer/common/constants.h" 10 #include "gpu/command_buffer/common/constants.h"
12 #include "gpu/command_buffer/service/command_buffer_service.h" 11 #include "gpu/command_buffer/service/command_buffer_service.h"
13 #include "gpu/command_buffer/service/context_group.h" 12 #include "gpu/command_buffer/service/context_group.h"
14 #include "gpu/command_buffer/service/gpu_scheduler.h" 13 #include "gpu/command_buffer/service/gpu_scheduler.h"
15 #include "gpu/command_buffer/service/mailbox_manager.h" 14 #include "gpu/command_buffer/service/mailbox_manager.h"
15 #include "gpu/command_buffer/tests/gl_manager.h"
16 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
17 #include "ui/gfx/gl/gl_context.h" 17 #include "ui/gl/gl_context.h"
18 #include "ui/gfx/gl/gl_share_group.h" 18 #include "ui/gl/gl_share_group.h"
19 #include "ui/gfx/gl/gl_surface.h" 19 #include "ui/gl/gl_surface.h"
20 20
21 namespace gpu { 21 namespace gpu {
22 22
23 GLManager::GLManager() { 23 GLManager::GLManager() {
24 } 24 }
25 25
26 GLManager::~GLManager() { 26 GLManager::~GLManager() {
27 } 27 }
28 28
29 void GLManager::Initialize(const gfx::Size& size) { 29 void GLManager::Initialize(const gfx::Size& size) {
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 ::gpu::CommandBuffer::State state = command_buffer_->GetState(); 178 ::gpu::CommandBuffer::State state = command_buffer_->GetState();
179 ASSERT_EQ(::gpu::error::kNoError, state.error); 179 ASSERT_EQ(::gpu::error::kNoError, state.error);
180 } 180 }
181 181
182 bool GLManager::GetBufferChanged(int32 transfer_buffer_id) { 182 bool GLManager::GetBufferChanged(int32 transfer_buffer_id) {
183 return gpu_scheduler_->SetGetBuffer(transfer_buffer_id); 183 return gpu_scheduler_->SetGetBuffer(transfer_buffer_id);
184 } 184 }
185 185
186 } // namespace gpu 186 } // namespace gpu
187 187
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gpu_scheduler.cc ('k') | gpu/command_buffer/tests/gl_tests_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698