OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "gpu/command_buffer/service/command_buffer_service.h" | 5 #include "gpu/command_buffer/service/command_buffer_service.h" |
6 | 6 |
7 #include <limits> | 7 #include <limits> |
8 | 8 |
9 #include "base/process_util.h" | 9 #include "base/process_util.h" |
10 #include "base/debug/trace_event.h" | 10 #include "base/debug/trace_event.h" |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 void CommandBufferService::SetGetBufferChangeCallback( | 193 void CommandBufferService::SetGetBufferChangeCallback( |
194 const GetBufferChangedCallback& callback) { | 194 const GetBufferChangedCallback& callback) { |
195 get_buffer_change_callback_ = callback; | 195 get_buffer_change_callback_ = callback; |
196 } | 196 } |
197 | 197 |
198 void CommandBufferService::SetParseErrorCallback( | 198 void CommandBufferService::SetParseErrorCallback( |
199 const base::Closure& callback) { | 199 const base::Closure& callback) { |
200 parse_error_callback_ = callback; | 200 parse_error_callback_ = callback; |
201 } | 201 } |
202 | 202 |
| 203 uint32 CommandBufferService::InsertSyncPoint() { |
| 204 NOTREACHED(); |
| 205 return 0; |
| 206 } |
| 207 |
203 } // namespace gpu | 208 } // namespace gpu |
OLD | NEW |