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 633 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
644 sync_point_client_->WaitOutOfOrder(release_state.get(), | 644 sync_point_client_->WaitOutOfOrder(release_state.get(), |
645 sync_token.release_count(), callback); | 645 sync_token.release_count(), callback); |
646 return; | 646 return; |
647 } | 647 } |
648 } | 648 } |
649 | 649 |
650 // Something went wrong, just run the callback now. | 650 // Something went wrong, just run the callback now. |
651 callback.Run(); | 651 callback.Run(); |
652 } | 652 } |
653 | 653 |
654 bool GLManager::CanWaitUnverifiedSyncToken(const gpu::SyncToken* sync_token) { | 654 void GLManager::WaitSyncToken(const gpu::SyncToken& sync_token) {} |
| 655 |
| 656 bool GLManager::CanWaitUnverifiedSyncToken(const gpu::SyncToken& sync_token) { |
655 return false; | 657 return false; |
656 } | 658 } |
657 | 659 |
658 } // namespace gpu | 660 } // namespace gpu |
OLD | NEW |