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

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

Issue 2727573003: gpu: Add sync token dependencies to flush metadata. (Closed)
Patch Set: piman's review 2 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
« no previous file with comments | « gpu/command_buffer/tests/gl_manager.h ('k') | gpu/gles2_conform_support/egl/context.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 603 matching lines...) Expand 10 before | Expand all | Expand 10 after
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::WaitSyncTokenHint(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
OLDNEW
« no previous file with comments | « gpu/command_buffer/tests/gl_manager.h ('k') | gpu/gles2_conform_support/egl/context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698