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" |
11 #include "mojo/public/bindings/allocation_scope.h" | 11 #include "mojo/public/cpp/bindings/allocation_scope.h" |
12 #include "mojo/public/bindings/sync_dispatcher.h" | 12 #include "mojo/public/cpp/bindings/sync_dispatcher.h" |
13 #include "mojo/services/gles2/command_buffer_type_conversions.h" | 13 #include "mojo/services/gles2/command_buffer_type_conversions.h" |
14 | 14 |
15 namespace mojo { | 15 namespace mojo { |
16 namespace gles2 { | 16 namespace gles2 { |
17 | 17 |
18 CommandBufferDelegate::~CommandBufferDelegate() {} | 18 CommandBufferDelegate::~CommandBufferDelegate() {} |
19 | 19 |
20 void CommandBufferDelegate::ContextLost() {} | 20 void CommandBufferDelegate::ContextLost() {} |
21 void CommandBufferDelegate::DrawAnimationFrame() {} | 21 void CommandBufferDelegate::DrawAnimationFrame() {} |
22 | 22 |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 return; | 274 return; |
275 } | 275 } |
276 } | 276 } |
277 | 277 |
278 void CommandBufferClientImpl::DrawAnimationFrame() { | 278 void CommandBufferClientImpl::DrawAnimationFrame() { |
279 delegate_->DrawAnimationFrame(); | 279 delegate_->DrawAnimationFrame(); |
280 } | 280 } |
281 | 281 |
282 } // namespace gles2 | 282 } // namespace gles2 |
283 } // namespace mojo | 283 } // namespace mojo |
OLD | NEW |