Index: gpu/command_buffer/client/gles2_implementation.cc |
diff --git a/gpu/command_buffer/client/gles2_implementation.cc b/gpu/command_buffer/client/gles2_implementation.cc |
index 0f23569fd7ec6dac12f1c9e4c060ec1e363d0585..c2e3277ab02282b35282f8d19dc4844312a77437 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()); |