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