OLD | NEW |
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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 gpu::Capabilities GetCapabilities() override; | 57 gpu::Capabilities GetCapabilities() override; |
58 int32_t CreateImage(ClientBuffer buffer, | 58 int32_t CreateImage(ClientBuffer buffer, |
59 size_t width, | 59 size_t width, |
60 size_t height, | 60 size_t height, |
61 unsigned internalformat) override; | 61 unsigned internalformat) override; |
62 void DestroyImage(int32_t id) override; | 62 void DestroyImage(int32_t id) override; |
63 int32_t CreateGpuMemoryBufferImage(size_t width, | 63 int32_t CreateGpuMemoryBufferImage(size_t width, |
64 size_t height, | 64 size_t height, |
65 unsigned internalformat, | 65 unsigned internalformat, |
66 unsigned usage) override; | 66 unsigned usage) override; |
67 int32_t GetImageGpuMemoryBufferId(unsigned image_id) override; | |
68 void SignalQuery(uint32_t query, const base::Closure& callback) override; | 67 void SignalQuery(uint32_t query, const base::Closure& callback) override; |
69 void SetLock(base::Lock*) override; | 68 void SetLock(base::Lock*) override; |
70 void EnsureWorkVisible() override; | 69 void EnsureWorkVisible() override; |
71 gpu::CommandBufferNamespace GetNamespaceID() const override; | 70 gpu::CommandBufferNamespace GetNamespaceID() const override; |
72 gpu::CommandBufferId GetCommandBufferID() const override; | 71 gpu::CommandBufferId GetCommandBufferID() const override; |
73 uint64_t GenerateFenceSyncRelease() override; | 72 uint64_t GenerateFenceSyncRelease() override; |
74 bool IsFenceSyncRelease(uint64_t release) override; | 73 bool IsFenceSyncRelease(uint64_t release) override; |
75 bool IsFenceSyncFlushed(uint64_t release) override; | 74 bool IsFenceSyncFlushed(uint64_t release) override; |
76 bool IsFenceSyncFlushReceived(uint64_t release) override; | 75 bool IsFenceSyncFlushReceived(uint64_t release) override; |
77 void SignalSyncToken(const gpu::SyncToken& sync_token, | 76 void SignalSyncToken(const gpu::SyncToken& sync_token, |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 uint64_t flushed_fence_sync_release_; | 108 uint64_t flushed_fence_sync_release_; |
110 uint64_t validated_fence_sync_release_; | 109 uint64_t validated_fence_sync_release_; |
111 | 110 |
112 DISALLOW_COPY_AND_ASSIGN(PpapiCommandBufferProxy); | 111 DISALLOW_COPY_AND_ASSIGN(PpapiCommandBufferProxy); |
113 }; | 112 }; |
114 | 113 |
115 } // namespace proxy | 114 } // namespace proxy |
116 } // namespace ppapi | 115 } // namespace ppapi |
117 | 116 |
118 #endif // PPAPI_PROXY_COMMAND_BUFFER_PROXY_H_ | 117 #endif // PPAPI_PROXY_COMMAND_BUFFER_PROXY_H_ |
OLD | NEW |