| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 SERVICES_UI_PUBLIC_CPP_LIB_COMMAND_BUFFER_CLIENT_IMPL_H_ | 5 #ifndef SERVICES_UI_PUBLIC_CPP_LIB_COMMAND_BUFFER_CLIENT_IMPL_H_ |
| 6 #define SERVICES_UI_PUBLIC_CPP_LIB_COMMAND_BUFFER_CLIENT_IMPL_H_ | 6 #define SERVICES_UI_PUBLIC_CPP_LIB_COMMAND_BUFFER_CLIENT_IMPL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 gpu::Capabilities GetCapabilities() override; | 54 gpu::Capabilities GetCapabilities() override; |
| 55 int32_t CreateImage(ClientBuffer buffer, | 55 int32_t CreateImage(ClientBuffer buffer, |
| 56 size_t width, | 56 size_t width, |
| 57 size_t height, | 57 size_t height, |
| 58 unsigned internalformat) override; | 58 unsigned internalformat) override; |
| 59 void DestroyImage(int32_t id) override; | 59 void DestroyImage(int32_t id) override; |
| 60 int32_t CreateGpuMemoryBufferImage(size_t width, | 60 int32_t CreateGpuMemoryBufferImage(size_t width, |
| 61 size_t height, | 61 size_t height, |
| 62 unsigned internalformat, | 62 unsigned internalformat, |
| 63 unsigned usage) override; | 63 unsigned usage) override; |
| 64 int32_t GetImageGpuMemoryBufferId(unsigned image_id) override; | |
| 65 void SignalQuery(uint32_t query, const base::Closure& callback) override; | 64 void SignalQuery(uint32_t query, const base::Closure& callback) override; |
| 66 void SetLock(base::Lock*) override; | 65 void SetLock(base::Lock*) override; |
| 67 void EnsureWorkVisible() override; | 66 void EnsureWorkVisible() override; |
| 68 gpu::CommandBufferNamespace GetNamespaceID() const override; | 67 gpu::CommandBufferNamespace GetNamespaceID() const override; |
| 69 gpu::CommandBufferId GetCommandBufferID() const override; | 68 gpu::CommandBufferId GetCommandBufferID() const override; |
| 70 int32_t GetExtraCommandBufferData() const override; | 69 int32_t GetExtraCommandBufferData() const override; |
| 71 uint64_t GenerateFenceSyncRelease() override; | 70 uint64_t GenerateFenceSyncRelease() override; |
| 72 bool IsFenceSyncRelease(uint64_t release) override; | 71 bool IsFenceSyncRelease(uint64_t release) override; |
| 73 bool IsFenceSyncFlushed(uint64_t release) override; | 72 bool IsFenceSyncFlushed(uint64_t release) override; |
| 74 bool IsFenceSyncFlushReceived(uint64_t release) override; | 73 bool IsFenceSyncFlushReceived(uint64_t release) override; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 // Image IDs are allocated in sequence. | 107 // Image IDs are allocated in sequence. |
| 109 int next_image_id_; | 108 int next_image_id_; |
| 110 | 109 |
| 111 uint64_t next_fence_sync_release_; | 110 uint64_t next_fence_sync_release_; |
| 112 uint64_t flushed_fence_sync_release_; | 111 uint64_t flushed_fence_sync_release_; |
| 113 }; | 112 }; |
| 114 | 113 |
| 115 } // mus | 114 } // mus |
| 116 | 115 |
| 117 #endif // SERVICES_UI_PUBLIC_CPP_LIB_COMMAND_BUFFER_CLIENT_IMPL_H_ | 116 #endif // SERVICES_UI_PUBLIC_CPP_LIB_COMMAND_BUFFER_CLIENT_IMPL_H_ |
| OLD | NEW |