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

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

Issue 619453002: gpu: Remove Echo and SwapCompletion GL interfacess (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tits
Patch Set: remove comment Created 6 years, 2 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
« no previous file with comments | « mojo/gles2/command_buffer_client_impl.h ('k') | ppapi/proxy/ppapi_command_buffer_proxy.h » ('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 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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 const base::Closure& callback) { 234 const base::Closure& callback) {
235 // TODO(piman) 235 // TODO(piman)
236 NOTIMPLEMENTED(); 236 NOTIMPLEMENTED();
237 } 237 }
238 238
239 void CommandBufferClientImpl::SetSurfaceVisible(bool visible) { 239 void CommandBufferClientImpl::SetSurfaceVisible(bool visible) {
240 // TODO(piman) 240 // TODO(piman)
241 NOTIMPLEMENTED(); 241 NOTIMPLEMENTED();
242 } 242 }
243 243
244 void CommandBufferClientImpl::Echo(const base::Closure& callback) {
245 command_buffer_->Echo(callback);
246 }
247
248 uint32 CommandBufferClientImpl::CreateStreamTexture(uint32 texture_id) { 244 uint32 CommandBufferClientImpl::CreateStreamTexture(uint32 texture_id) {
249 // TODO(piman) 245 // TODO(piman)
250 NOTIMPLEMENTED(); 246 NOTIMPLEMENTED();
251 return 0; 247 return 0;
252 } 248 }
253 249
254 void CommandBufferClientImpl::DidDestroy() { 250 void CommandBufferClientImpl::DidDestroy() {
255 LostContext(gpu::error::kUnknown); 251 LostContext(gpu::error::kUnknown);
256 } 252 }
257 253
(...skipping 23 matching lines...) Expand all
281 DidDestroy(); 277 DidDestroy();
282 return; 278 return;
283 } 279 }
284 280
285 if (state->generation - last_state_.generation < 0x80000000U) 281 if (state->generation - last_state_.generation < 0x80000000U)
286 last_state_ = state.To<State>(); 282 last_state_ = state.To<State>();
287 } 283 }
288 284
289 } // namespace gles2 285 } // namespace gles2
290 } // namespace mojo 286 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/gles2/command_buffer_client_impl.h ('k') | ppapi/proxy/ppapi_command_buffer_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698