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