| 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 CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ | 5 #ifndef CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ |
| 6 #define CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ | 6 #define CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <queue> | 9 #include <queue> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 size_t height, | 112 size_t height, |
| 113 unsigned internalformat, | 113 unsigned internalformat, |
| 114 unsigned usage) override; | 114 unsigned usage) override; |
| 115 uint32 InsertSyncPoint() override; | 115 uint32 InsertSyncPoint() override; |
| 116 uint32_t InsertFutureSyncPoint() override; | 116 uint32_t InsertFutureSyncPoint() override; |
| 117 void RetireSyncPoint(uint32_t sync_point) override; | 117 void RetireSyncPoint(uint32_t sync_point) override; |
| 118 void SignalSyncPoint(uint32 sync_point, | 118 void SignalSyncPoint(uint32 sync_point, |
| 119 const base::Closure& callback) override; | 119 const base::Closure& callback) override; |
| 120 void SignalQuery(uint32 query, const base::Closure& callback) override; | 120 void SignalQuery(uint32 query, const base::Closure& callback) override; |
| 121 void SetSurfaceVisible(bool visible) override; | 121 void SetSurfaceVisible(bool visible) override; |
| 122 uint32 CreateStreamTexture(uint32 texture_id) override; | 122 int32 CreateStreamTexture(uint32 texture_id) override; |
| 123 void SetStreamTextureSize(uint32 texture_id, |
| 124 int32 stream_id, |
| 125 size_t width, |
| 126 size_t height) override; |
| 123 void SetLock(base::Lock* lock) override; | 127 void SetLock(base::Lock* lock) override; |
| 124 bool IsGpuChannelLost() override; | 128 bool IsGpuChannelLost() override; |
| 125 gpu::CommandBufferNamespace GetNamespaceID() const override; | 129 gpu::CommandBufferNamespace GetNamespaceID() const override; |
| 126 uint64_t GetCommandBufferID() const override; | 130 uint64_t GetCommandBufferID() const override; |
| 127 uint64_t GenerateFenceSyncRelease() override; | 131 uint64_t GenerateFenceSyncRelease() override; |
| 128 bool IsFenceSyncRelease(uint64_t release) override; | 132 bool IsFenceSyncRelease(uint64_t release) override; |
| 129 bool IsFenceSyncFlushed(uint64_t release) override; | 133 bool IsFenceSyncFlushed(uint64_t release) override; |
| 130 bool IsFenceSyncFlushReceived(uint64_t release) override; | 134 bool IsFenceSyncFlushReceived(uint64_t release) override; |
| 131 void SignalSyncToken(const gpu::SyncToken& sync_token, | 135 void SignalSyncToken(const gpu::SyncToken& sync_token, |
| 132 const base::Closure& callback) override; | 136 const base::Closure& callback) override; |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 | 256 |
| 253 SwapBuffersCompletionCallback swap_buffers_completion_callback_; | 257 SwapBuffersCompletionCallback swap_buffers_completion_callback_; |
| 254 UpdateVSyncParametersCallback update_vsync_parameters_completion_callback_; | 258 UpdateVSyncParametersCallback update_vsync_parameters_completion_callback_; |
| 255 | 259 |
| 256 DISALLOW_COPY_AND_ASSIGN(CommandBufferProxyImpl); | 260 DISALLOW_COPY_AND_ASSIGN(CommandBufferProxyImpl); |
| 257 }; | 261 }; |
| 258 | 262 |
| 259 } // namespace content | 263 } // namespace content |
| 260 | 264 |
| 261 #endif // CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ | 265 #endif // CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ |
| OLD | NEW |