| Index: gpu/command_buffer/tests/gl_manager.cc
|
| diff --git a/gpu/command_buffer/tests/gl_manager.cc b/gpu/command_buffer/tests/gl_manager.cc
|
| index a9e0a305de7aa4ccf9c7c9757bb8041a53bf5d32..571cf313b3a56feea5c196451eb32b37945472a4 100644
|
| --- a/gpu/command_buffer/tests/gl_manager.cc
|
| +++ b/gpu/command_buffer/tests/gl_manager.cc
|
| @@ -633,6 +633,10 @@ bool GLManager::IsFenceSyncFlushReceived(uint64_t release) {
|
| return IsFenceSyncRelease(release);
|
| }
|
|
|
| +bool GLManager::IsFenceSyncReleased(uint64_t release) {
|
| + return release <= command_buffer_->GetLastState().release_count;
|
| +}
|
| +
|
| void GLManager::SignalSyncToken(const gpu::SyncToken& sync_token,
|
| const base::Closure& callback) {
|
| if (sync_point_manager_) {
|
|
|