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

Side by Side Diff: ppapi/proxy/ppapi_command_buffer_proxy.h

Issue 1559893003: Added method to synchronize command buffers within GpuControl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: SynchronizeCommandBuffer() -> EnsureWorkVisible() 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
« no previous file with comments | « mojo/gles2/command_buffer_client_impl.cc ('k') | ppapi/proxy/ppapi_command_buffer_proxy.cc » ('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 #ifndef PPAPI_PROXY_COMMAND_BUFFER_PROXY_H_ 5 #ifndef PPAPI_PROXY_COMMAND_BUFFER_PROXY_H_
6 #define PPAPI_PROXY_COMMAND_BUFFER_PROXY_H_ 6 #define PPAPI_PROXY_COMMAND_BUFFER_PROXY_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 unsigned internalformat, 63 unsigned internalformat,
64 unsigned usage) override; 64 unsigned usage) override;
65 uint32_t InsertSyncPoint() override; 65 uint32_t InsertSyncPoint() override;
66 uint32_t InsertFutureSyncPoint() override; 66 uint32_t InsertFutureSyncPoint() override;
67 void RetireSyncPoint(uint32_t sync_point) override; 67 void RetireSyncPoint(uint32_t sync_point) override;
68 void SignalSyncPoint(uint32_t sync_point, 68 void SignalSyncPoint(uint32_t sync_point,
69 const base::Closure& callback) override; 69 const base::Closure& callback) override;
70 void SignalQuery(uint32_t query, const base::Closure& callback) override; 70 void SignalQuery(uint32_t query, const base::Closure& callback) override;
71 void SetLock(base::Lock*) override; 71 void SetLock(base::Lock*) override;
72 bool IsGpuChannelLost() override; 72 bool IsGpuChannelLost() override;
73 void EnsureWorkVisible() override;
73 gpu::CommandBufferNamespace GetNamespaceID() const override; 74 gpu::CommandBufferNamespace GetNamespaceID() const override;
74 uint64_t GetCommandBufferID() const override; 75 uint64_t GetCommandBufferID() const override;
75 uint64_t GenerateFenceSyncRelease() override; 76 uint64_t GenerateFenceSyncRelease() override;
76 bool IsFenceSyncRelease(uint64_t release) override; 77 bool IsFenceSyncRelease(uint64_t release) override;
77 bool IsFenceSyncFlushed(uint64_t release) override; 78 bool IsFenceSyncFlushed(uint64_t release) override;
78 bool IsFenceSyncFlushReceived(uint64_t release) override; 79 bool IsFenceSyncFlushReceived(uint64_t release) override;
79 void SignalSyncToken(const gpu::SyncToken& sync_token, 80 void SignalSyncToken(const gpu::SyncToken& sync_token,
80 const base::Closure& callback) override; 81 const base::Closure& callback) override;
81 bool CanWaitUnverifiedSyncToken(const gpu::SyncToken* sync_token) override; 82 bool CanWaitUnverifiedSyncToken(const gpu::SyncToken* sync_token) override;
82 int32_t GetExtraCommandBufferData() const override; 83 int32_t GetExtraCommandBufferData() const override;
(...skipping 27 matching lines...) Expand all
110 uint64_t pending_fence_sync_release_; 111 uint64_t pending_fence_sync_release_;
111 uint64_t flushed_fence_sync_release_; 112 uint64_t flushed_fence_sync_release_;
112 113
113 DISALLOW_COPY_AND_ASSIGN(PpapiCommandBufferProxy); 114 DISALLOW_COPY_AND_ASSIGN(PpapiCommandBufferProxy);
114 }; 115 };
115 116
116 } // namespace proxy 117 } // namespace proxy
117 } // namespace ppapi 118 } // namespace ppapi
118 119
119 #endif // PPAPI_PROXY_COMMAND_BUFFER_PROXY_H_ 120 #endif // PPAPI_PROXY_COMMAND_BUFFER_PROXY_H_
OLDNEW
« no previous file with comments | « mojo/gles2/command_buffer_client_impl.cc ('k') | ppapi/proxy/ppapi_command_buffer_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698