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

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

Issue 558035: [GPU] Get GPU process running on the mac... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 10 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "base/message_loop.h" 5 #include "base/message_loop.h"
6 #include "gpu/command_buffer/service/gpu_processor.h" 6 #include "gpu/command_buffer/service/gpu_processor.h"
7 7
8 using ::base::SharedMemory; 8 using ::base::SharedMemory;
9 9
10 namespace gpu { 10 namespace gpu {
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 command_buffer_->SetGetOffset(static_cast<int32>(parser_->get())); 75 command_buffer_->SetGetOffset(static_cast<int32>(parser_->get()));
76 return true; 76 return true;
77 } 77 }
78 return false; 78 return false;
79 } 79 }
80 80
81 int32 GPUProcessor::GetGetOffset() { 81 int32 GPUProcessor::GetGetOffset() {
82 return parser_->get(); 82 return parser_->get();
83 } 83 }
84 84
85 #if defined(OS_MACOSX)
86 uint64 GPUProcessor::SetWindowSize(int32 width, int32 height) {
87 return decoder_->SetWindowSize(width, height);
88 }
89 #endif
90
91 void GPUProcessor::SetSwapBuffersCallback(
92 Callback0::Type* callback) {
93 decoder_->SetSwapBuffersCallback(callback);
94 }
95
85 } // namespace gpu 96 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gpu_processor.h ('k') | gpu/command_buffer/service/gpu_processor_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698