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

Side by Side Diff: mojo/gles2/command_buffer_client_impl.cc

Issue 165393003: gpu: Generate mailboxes on client side (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "mojo/gles2/command_buffer_client_impl.h" 5 #include "mojo/gles2/command_buffer_client_impl.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/process/process_handle.h" 10 #include "base/process/process_handle.h"
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 // TODO(piman) 179 // TODO(piman)
180 NOTIMPLEMENTED(); 180 NOTIMPLEMENTED();
181 return NULL; 181 return NULL;
182 } 182 }
183 183
184 void CommandBufferClientImpl::DestroyGpuMemoryBuffer(int32 id) { 184 void CommandBufferClientImpl::DestroyGpuMemoryBuffer(int32 id) {
185 // TODO(piman) 185 // TODO(piman)
186 NOTIMPLEMENTED(); 186 NOTIMPLEMENTED();
187 } 187 }
188 188
189 bool CommandBufferClientImpl::GenerateMailboxNames(
190 unsigned num,
191 std::vector<gpu::Mailbox>* names) {
192 // TODO(piman)
193 NOTIMPLEMENTED();
194 return false;
195 }
196
197 uint32 CommandBufferClientImpl::InsertSyncPoint() { 189 uint32 CommandBufferClientImpl::InsertSyncPoint() {
198 // TODO(piman) 190 // TODO(piman)
199 NOTIMPLEMENTED(); 191 NOTIMPLEMENTED();
200 return 0; 192 return 0;
201 } 193 }
202 194
203 void CommandBufferClientImpl::SignalSyncPoint(uint32 sync_point, 195 void CommandBufferClientImpl::SignalSyncPoint(uint32 sync_point,
204 const base::Closure& callback) { 196 const base::Closure& callback) {
205 // TODO(piman) 197 // TODO(piman)
206 NOTIMPLEMENTED(); 198 NOTIMPLEMENTED();
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 return; 276 return;
285 } 277 }
286 } 278 }
287 279
288 void CommandBufferClientImpl::DrawAnimationFrame() { 280 void CommandBufferClientImpl::DrawAnimationFrame() {
289 delegate_->DrawAnimationFrame(); 281 delegate_->DrawAnimationFrame();
290 } 282 }
291 283
292 } // namespace gles2 284 } // namespace gles2
293 } // namespace mojo 285 } // namespace mojo
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698