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 MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ | 5 #ifndef MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ |
6 #define MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ | 6 #define MOJO_GLES2_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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 gpu::Capabilities GetCapabilities() override; | 61 gpu::Capabilities GetCapabilities() override; |
62 int32_t CreateImage(ClientBuffer buffer, | 62 int32_t CreateImage(ClientBuffer buffer, |
63 size_t width, | 63 size_t width, |
64 size_t height, | 64 size_t height, |
65 unsigned internalformat) override; | 65 unsigned internalformat) override; |
66 void DestroyImage(int32_t id) override; | 66 void DestroyImage(int32_t id) override; |
67 int32_t CreateGpuMemoryBufferImage(size_t width, | 67 int32_t CreateGpuMemoryBufferImage(size_t width, |
68 size_t height, | 68 size_t height, |
69 unsigned internalformat, | 69 unsigned internalformat, |
70 unsigned usage) override; | 70 unsigned usage) override; |
71 uint32_t InsertSyncPoint() override; | |
72 uint32_t InsertFutureSyncPoint() override; | |
73 void RetireSyncPoint(uint32_t sync_point) override; | |
74 void SignalSyncPoint(uint32_t sync_point, | |
75 const base::Closure& callback) override; | |
76 void SignalQuery(uint32_t query, const base::Closure& callback) override; | 71 void SignalQuery(uint32_t query, const base::Closure& callback) override; |
77 void SetLock(base::Lock*) override; | 72 void SetLock(base::Lock*) override; |
78 bool IsGpuChannelLost() override; | 73 bool IsGpuChannelLost() override; |
79 void EnsureWorkVisible() override; | 74 void EnsureWorkVisible() override; |
80 gpu::CommandBufferNamespace GetNamespaceID() const override; | 75 gpu::CommandBufferNamespace GetNamespaceID() const override; |
81 uint64_t GetCommandBufferID() const override; | 76 uint64_t GetCommandBufferID() const override; |
82 int32_t GetExtraCommandBufferData() const override; | 77 int32_t GetExtraCommandBufferData() const override; |
83 uint64_t GenerateFenceSyncRelease() override; | 78 uint64_t GenerateFenceSyncRelease() override; |
84 bool IsFenceSyncRelease(uint64_t release) override; | 79 bool IsFenceSyncRelease(uint64_t release) override; |
85 bool IsFenceSyncFlushed(uint64_t release) override; | 80 bool IsFenceSyncFlushed(uint64_t release) override; |
(...skipping 29 matching lines...) Expand all Loading... |
115 | 110 |
116 uint64_t next_fence_sync_release_; | 111 uint64_t next_fence_sync_release_; |
117 uint64_t flushed_fence_sync_release_; | 112 uint64_t flushed_fence_sync_release_; |
118 | 113 |
119 const MojoAsyncWaiter* async_waiter_; | 114 const MojoAsyncWaiter* async_waiter_; |
120 }; | 115 }; |
121 | 116 |
122 } // gles2 | 117 } // gles2 |
123 | 118 |
124 #endif // MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ | 119 #endif // MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ |
OLD | NEW |