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

Side by Side Diff: gpu/command_buffer/service/in_process_command_buffer.cc

Issue 1615253006: Removed last references to old sync points. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed references in TestContextSupport Created 4 years, 11 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/service/in_process_command_buffer.h" 5 #include "gpu/command_buffer/service/in_process_command_buffer.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <queue> 10 #include <queue>
(...skipping 805 matching lines...) Expand 10 before | Expand all | Expand 10 after
816 gpu_memory_buffer_manager_->AllocateGpuMemoryBuffer( 816 gpu_memory_buffer_manager_->AllocateGpuMemoryBuffer(
817 gfx::Size(width, height), 817 gfx::Size(width, height),
818 gpu::ImageFactory::DefaultBufferFormatForImageFormat(internalformat), 818 gpu::ImageFactory::DefaultBufferFormatForImageFormat(internalformat),
819 gfx::BufferUsage::SCANOUT)); 819 gfx::BufferUsage::SCANOUT));
820 if (!buffer) 820 if (!buffer)
821 return -1; 821 return -1;
822 822
823 return CreateImage(buffer->AsClientBuffer(), width, height, internalformat); 823 return CreateImage(buffer->AsClientBuffer(), width, height, internalformat);
824 } 824 }
825 825
826 uint32_t InProcessCommandBuffer::InsertSyncPoint() {
827 NOTREACHED();
828 return 0;
829 }
830
831 uint32_t InProcessCommandBuffer::InsertFutureSyncPoint() {
832 NOTREACHED();
833 return 0;
834 }
835
836 void InProcessCommandBuffer::RetireSyncPoint(uint32_t sync_point) {
837 NOTREACHED();
838 }
839
840 void InProcessCommandBuffer::SignalSyncPoint(unsigned sync_point,
841 const base::Closure& callback) {
842 NOTREACHED();
843 }
844
845 void InProcessCommandBuffer::FenceSyncReleaseOnGpuThread(uint64_t release) { 826 void InProcessCommandBuffer::FenceSyncReleaseOnGpuThread(uint64_t release) {
846 DCHECK(!sync_point_client_->client_state()->IsFenceSyncReleased(release)); 827 DCHECK(!sync_point_client_->client_state()->IsFenceSyncReleased(release));
847 gles2::MailboxManager* mailbox_manager = 828 gles2::MailboxManager* mailbox_manager =
848 decoder_->GetContextGroup()->mailbox_manager(); 829 decoder_->GetContextGroup()->mailbox_manager();
849 if (mailbox_manager->UsesSync()) { 830 if (mailbox_manager->UsesSync()) {
850 SyncToken sync_token(GetNamespaceID(), GetExtraCommandBufferData(), 831 SyncToken sync_token(GetNamespaceID(), GetExtraCommandBufferData(),
851 GetCommandBufferID(), release); 832 GetCommandBufferID(), release);
852 mailbox_manager->PushTextureUpdates(sync_token); 833 mailbox_manager->PushTextureUpdates(sync_token);
853 } 834 }
854 835
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
1099 framebuffer_completeness_cache_ = 1080 framebuffer_completeness_cache_ =
1100 new gpu::gles2::FramebufferCompletenessCache; 1081 new gpu::gles2::FramebufferCompletenessCache;
1101 return framebuffer_completeness_cache_; 1082 return framebuffer_completeness_cache_;
1102 } 1083 }
1103 1084
1104 SyncPointManager* GpuInProcessThread::sync_point_manager() { 1085 SyncPointManager* GpuInProcessThread::sync_point_manager() {
1105 return sync_point_manager_; 1086 return sync_point_manager_;
1106 } 1087 }
1107 1088
1108 } // namespace gpu 1089 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/in_process_command_buffer.h ('k') | gpu/command_buffer/service/sync_point_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698