Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(566)

Side by Side Diff: gpu/command_buffer/tests/gl_manager.cc

Issue 2727573003: gpu: Add sync token dependencies to flush metadata. (Closed)
Patch Set: use verified sync token Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698