| 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/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/debug/trace_event.h" | 10 #include "base/debug/trace_event.h" |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 void CommandBufferService::SetGetBufferChangeCallback( | 195 void CommandBufferService::SetGetBufferChangeCallback( |
| 196 const GetBufferChangedCallback& callback) { | 196 const GetBufferChangedCallback& callback) { |
| 197 get_buffer_change_callback_ = callback; | 197 get_buffer_change_callback_ = callback; |
| 198 } | 198 } |
| 199 | 199 |
| 200 void CommandBufferService::SetParseErrorCallback( | 200 void CommandBufferService::SetParseErrorCallback( |
| 201 const base::Closure& callback) { | 201 const base::Closure& callback) { |
| 202 parse_error_callback_ = callback; | 202 parse_error_callback_ = callback; |
| 203 } | 203 } |
| 204 | 204 |
| 205 uint32 CommandBufferService::InsertSyncPoint() { | |
| 206 NOTREACHED(); | |
| 207 return 0; | |
| 208 } | |
| 209 | |
| 210 } // namespace gpu | 205 } // namespace gpu |
| OLD | NEW |