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

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

Issue 2814843002: gpu: GPU service scheduler. (Closed)
Patch Set: rebase Created 3 years, 7 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 (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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 void SetGpuControlClient(gpu::GpuControlClient*) override; 55 void SetGpuControlClient(gpu::GpuControlClient*) override;
56 gpu::Capabilities GetCapabilities() override; 56 gpu::Capabilities GetCapabilities() override;
57 int32_t CreateImage(ClientBuffer buffer, 57 int32_t CreateImage(ClientBuffer buffer,
58 size_t width, 58 size_t width,
59 size_t height, 59 size_t height,
60 unsigned internalformat) override; 60 unsigned internalformat) override;
61 void DestroyImage(int32_t id) override; 61 void DestroyImage(int32_t id) override;
62 void SignalQuery(uint32_t query, const base::Closure& callback) override; 62 void SignalQuery(uint32_t query, const base::Closure& callback) override;
63 void SetLock(base::Lock*) override; 63 void SetLock(base::Lock*) override;
64 void EnsureWorkVisible() override; 64 void EnsureWorkVisible() override;
65 void EnsureWorkVisibleAsync() override;
65 gpu::CommandBufferNamespace GetNamespaceID() const override; 66 gpu::CommandBufferNamespace GetNamespaceID() const override;
66 gpu::CommandBufferId GetCommandBufferID() const override; 67 gpu::CommandBufferId GetCommandBufferID() const override;
67 uint64_t GenerateFenceSyncRelease() override; 68 uint64_t GenerateFenceSyncRelease() override;
68 bool IsFenceSyncRelease(uint64_t release) override; 69 bool IsFenceSyncRelease(uint64_t release) override;
69 bool IsFenceSyncFlushed(uint64_t release) override; 70 bool IsFenceSyncFlushed(uint64_t release) override;
70 bool IsFenceSyncFlushReceived(uint64_t release) override; 71 bool IsFenceSyncFlushReceived(uint64_t release) override;
71 bool IsFenceSyncReleased(uint64_t release) override; 72 bool IsFenceSyncReleased(uint64_t release) override;
72 void SignalSyncToken(const gpu::SyncToken& sync_token, 73 void SignalSyncToken(const gpu::SyncToken& sync_token,
73 const base::Closure& callback) override; 74 const base::Closure& callback) override;
74 void WaitSyncTokenHint(const gpu::SyncToken& sync_token) override; 75 void WaitSyncTokenHint(const gpu::SyncToken& sync_token) override;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 uint64_t flushed_fence_sync_release_; 108 uint64_t flushed_fence_sync_release_;
108 uint64_t validated_fence_sync_release_; 109 uint64_t validated_fence_sync_release_;
109 110
110 DISALLOW_COPY_AND_ASSIGN(PpapiCommandBufferProxy); 111 DISALLOW_COPY_AND_ASSIGN(PpapiCommandBufferProxy);
111 }; 112 };
112 113
113 } // namespace proxy 114 } // namespace proxy
114 } // namespace ppapi 115 } // namespace ppapi
115 116
116 #endif // PPAPI_PROXY_COMMAND_BUFFER_PROXY_H_ 117 #endif // PPAPI_PROXY_COMMAND_BUFFER_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698