| 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 GPU_IPC_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ | 5 #ifndef GPU_IPC_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ |
| 6 #define GPU_IPC_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ | 6 #define GPU_IPC_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 void DestroyTransferBuffer(int32_t id) override; | 105 void DestroyTransferBuffer(int32_t id) override; |
| 106 | 106 |
| 107 // gpu::GpuControl implementation: | 107 // gpu::GpuControl implementation: |
| 108 void SetGpuControlClient(GpuControlClient* client) override; | 108 void SetGpuControlClient(GpuControlClient* client) override; |
| 109 gpu::Capabilities GetCapabilities() override; | 109 gpu::Capabilities GetCapabilities() override; |
| 110 int32_t CreateImage(ClientBuffer buffer, | 110 int32_t CreateImage(ClientBuffer buffer, |
| 111 size_t width, | 111 size_t width, |
| 112 size_t height, | 112 size_t height, |
| 113 unsigned internal_format) override; | 113 unsigned internal_format) override; |
| 114 void DestroyImage(int32_t id) override; | 114 void DestroyImage(int32_t id) override; |
| 115 int32_t CreateGpuMemoryBufferImage(size_t width, | |
| 116 size_t height, | |
| 117 unsigned internal_format, | |
| 118 unsigned usage) override; | |
| 119 void SignalQuery(uint32_t query, const base::Closure& callback) override; | 115 void SignalQuery(uint32_t query, const base::Closure& callback) override; |
| 120 void SetLock(base::Lock* lock) override; | 116 void SetLock(base::Lock* lock) override; |
| 121 void EnsureWorkVisible() override; | 117 void EnsureWorkVisible() override; |
| 122 gpu::CommandBufferNamespace GetNamespaceID() const override; | 118 gpu::CommandBufferNamespace GetNamespaceID() const override; |
| 123 gpu::CommandBufferId GetCommandBufferID() const override; | 119 gpu::CommandBufferId GetCommandBufferID() const override; |
| 124 int32_t GetExtraCommandBufferData() const override; | 120 int32_t GetExtraCommandBufferData() const override; |
| 125 uint64_t GenerateFenceSyncRelease() override; | 121 uint64_t GenerateFenceSyncRelease() override; |
| 126 bool IsFenceSyncRelease(uint64_t release) override; | 122 bool IsFenceSyncRelease(uint64_t release) override; |
| 127 bool IsFenceSyncFlushed(uint64_t release) override; | 123 bool IsFenceSyncFlushed(uint64_t release) override; |
| 128 bool IsFenceSyncFlushReceived(uint64_t release) override; | 124 bool IsFenceSyncFlushReceived(uint64_t release) override; |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 | 289 |
| 294 base::WeakPtr<CommandBufferProxyImpl> weak_this_; | 290 base::WeakPtr<CommandBufferProxyImpl> weak_this_; |
| 295 scoped_refptr<base::SequencedTaskRunner> callback_thread_; | 291 scoped_refptr<base::SequencedTaskRunner> callback_thread_; |
| 296 | 292 |
| 297 DISALLOW_COPY_AND_ASSIGN(CommandBufferProxyImpl); | 293 DISALLOW_COPY_AND_ASSIGN(CommandBufferProxyImpl); |
| 298 }; | 294 }; |
| 299 | 295 |
| 300 } // namespace gpu | 296 } // namespace gpu |
| 301 | 297 |
| 302 #endif // GPU_IPC_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ | 298 #endif // GPU_IPC_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ |
| OLD | NEW |