| 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/tests/gl_manager.h" | 5 #include "gpu/command_buffer/tests/gl_manager.h" |
| 6 | 6 |
| 7 #include <GLES2/gl2.h> | 7 #include <GLES2/gl2.h> |
| 8 #include <GLES2/gl2ext.h> | 8 #include <GLES2/gl2ext.h> |
| 9 #include <GLES2/gl2extchromium.h> | 9 #include <GLES2/gl2extchromium.h> |
| 10 #include <stddef.h> | 10 #include <stddef.h> |
| (...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 614 sync_point_manager_); | 614 sync_point_manager_); |
| 615 sync_point_order_data_->BeginProcessingOrderNumber(order_num); | 615 sync_point_order_data_->BeginProcessingOrderNumber(order_num); |
| 616 if (!sync_point_client_->Wait(sync_token, callback)) | 616 if (!sync_point_client_->Wait(sync_token, callback)) |
| 617 callback.Run(); | 617 callback.Run(); |
| 618 sync_point_order_data_->FinishProcessingOrderNumber(order_num); | 618 sync_point_order_data_->FinishProcessingOrderNumber(order_num); |
| 619 } else { | 619 } else { |
| 620 callback.Run(); | 620 callback.Run(); |
| 621 } | 621 } |
| 622 } | 622 } |
| 623 | 623 |
| 624 bool GLManager::CanWaitUnverifiedSyncToken(const gpu::SyncToken* sync_token) { | 624 void GLManager::WaitSyncToken(const gpu::SyncToken& sync_token) {} |
| 625 |
| 626 bool GLManager::CanWaitUnverifiedSyncToken(const gpu::SyncToken& sync_token) { |
| 625 return false; | 627 return false; |
| 626 } | 628 } |
| 627 | 629 |
| 628 } // namespace gpu | 630 } // namespace gpu |
| OLD | NEW |