OLD | NEW |
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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 const base::Closure& callback) { | 197 const base::Closure& callback) { |
198 // TODO(piman) | 198 // TODO(piman) |
199 NOTIMPLEMENTED(); | 199 NOTIMPLEMENTED(); |
200 } | 200 } |
201 | 201 |
202 void CommandBufferClientImpl::SetSurfaceVisible(bool visible) { | 202 void CommandBufferClientImpl::SetSurfaceVisible(bool visible) { |
203 // TODO(piman) | 203 // TODO(piman) |
204 NOTIMPLEMENTED(); | 204 NOTIMPLEMENTED(); |
205 } | 205 } |
206 | 206 |
207 void CommandBufferClientImpl::SendManagedMemoryStats( | |
208 const gpu::ManagedMemoryStats& stats) { | |
209 // TODO(piman) | |
210 NOTIMPLEMENTED(); | |
211 } | |
212 | |
213 void CommandBufferClientImpl::Echo(const base::Closure& callback) { | 207 void CommandBufferClientImpl::Echo(const base::Closure& callback) { |
214 command_buffer_->Echo(callback); | 208 command_buffer_->Echo(callback); |
215 } | 209 } |
216 | 210 |
217 uint32 CommandBufferClientImpl::CreateStreamTexture(uint32 texture_id) { | 211 uint32 CommandBufferClientImpl::CreateStreamTexture(uint32 texture_id) { |
218 // TODO(piman) | 212 // TODO(piman) |
219 NOTIMPLEMENTED(); | 213 NOTIMPLEMENTED(); |
220 return 0; | 214 return 0; |
221 } | 215 } |
222 | 216 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 return; | 260 return; |
267 } | 261 } |
268 } | 262 } |
269 | 263 |
270 void CommandBufferClientImpl::DrawAnimationFrame() { | 264 void CommandBufferClientImpl::DrawAnimationFrame() { |
271 delegate_->DrawAnimationFrame(); | 265 delegate_->DrawAnimationFrame(); |
272 } | 266 } |
273 | 267 |
274 } // namespace gles2 | 268 } // namespace gles2 |
275 } // namespace mojo | 269 } // namespace mojo |
OLD | NEW |