diff options
author | dyen <dyen@chromium.org> | 2016-01-20 13:51:05 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-01-20 21:52:04 +0000 |
commit | cbda834dc41f646c7ce6c2acff18eca9b6a3047a (patch) | |
tree | edb1a5273a51f649934c55b3a115ad14662c0a66 /gpu/command_buffer/client/gles2_implementation.cc | |
parent | 4ed9702904108e08981ff645153143d9722400a6 (diff) | |
download | chromium_src-cbda834dc41f646c7ce6c2acff18eca9b6a3047a.zip chromium_src-cbda834dc41f646c7ce6c2acff18eca9b6a3047a.tar.gz chromium_src-cbda834dc41f646c7ce6c2acff18eca9b6a3047a.tar.bz2 |
Removed client side support for old sync points.
R=piman@chromium.org
BUG=514815
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review URL: https://codereview.chromium.org/1602313002
Cr-Commit-Position: refs/heads/master@{#370504}
Diffstat (limited to 'gpu/command_buffer/client/gles2_implementation.cc')
-rw-r--r-- | gpu/command_buffer/client/gles2_implementation.cc | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/gpu/command_buffer/client/gles2_implementation.cc b/gpu/command_buffer/client/gles2_implementation.cc index e308647..b9e3bee 100644 --- a/gpu/command_buffer/client/gles2_implementation.cc +++ b/gpu/command_buffer/client/gles2_implementation.cc @@ -5547,18 +5547,6 @@ GLboolean GLES2Implementation::UnmapBufferCHROMIUM(GLuint target) { return true; } -GLuint GLES2Implementation::InsertSyncPointCHROMIUM() { - GPU_CLIENT_SINGLE_THREAD_CHECK(); - GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glInsertSyncPointCHROMIUM"); - helper_->CommandBufferHelper::Flush(); - return gpu_control_->InsertSyncPoint(); -} - -void GLES2Implementation::WaitSyncPointCHROMIUM(GLuint sync_point) { - // This should no longer be called. - NOTREACHED(); -} - GLuint GLES2Implementation::InsertFutureSyncPointCHROMIUM() { GPU_CLIENT_SINGLE_THREAD_CHECK(); GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glInsertFutureSyncPointCHROMIUM"); @@ -5687,17 +5675,6 @@ void GLES2Implementation::WaitSyncTokenCHROMIUM(const GLbyte* sync_token) { return; } - // TODO(dyen): Temporarily support old sync points, remove once all old - // sync points have been removed. - const gpu::CommandBufferNamespace namespace_id = - sync_token_data.namespace_id(); - if (namespace_id == gpu::CommandBufferNamespace::OLD_SYNC_POINTS) { - const uint32_t sync_point = - static_cast<uint32_t>(sync_token_data.release_count()); - helper_->WaitSyncPointCHROMIUM(sync_point); - return; - } - helper_->WaitSyncTokenCHROMIUM( static_cast<GLint>(sync_token_data.namespace_id()), sync_token_data.command_buffer_id(), sync_token_data.release_count()); |