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_GLES2_CONFORM_SUPPORT_EGL_DISPLAY_H_ | 5 #ifndef GPU_GLES2_CONFORM_SUPPORT_EGL_DISPLAY_H_ |
6 #define GPU_GLES2_CONFORM_SUPPORT_EGL_DISPLAY_H_ | 6 #define GPU_GLES2_CONFORM_SUPPORT_EGL_DISPLAY_H_ |
7 | 7 |
8 #include <EGL/egl.h> | 8 #include <EGL/egl.h> |
9 #include <stddef.h> | 9 #include <stddef.h> |
10 #include <stdint.h> | 10 #include <stdint.h> |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 void DestroyImage(int32_t id) override; | 85 void DestroyImage(int32_t id) override; |
86 int32_t CreateGpuMemoryBufferImage(size_t width, | 86 int32_t CreateGpuMemoryBufferImage(size_t width, |
87 size_t height, | 87 size_t height, |
88 unsigned internalformat, | 88 unsigned internalformat, |
89 unsigned usage) override; | 89 unsigned usage) override; |
90 void SignalQuery(uint32_t query, const base::Closure& callback) override; | 90 void SignalQuery(uint32_t query, const base::Closure& callback) override; |
91 void SetLock(base::Lock*) override; | 91 void SetLock(base::Lock*) override; |
92 bool IsGpuChannelLost() override; | 92 bool IsGpuChannelLost() override; |
93 void EnsureWorkVisible() override; | 93 void EnsureWorkVisible() override; |
94 gpu::CommandBufferNamespace GetNamespaceID() const override; | 94 gpu::CommandBufferNamespace GetNamespaceID() const override; |
95 uint64_t GetCommandBufferID() const override; | 95 gpu::CommandBufferId GetCommandBufferID() const override; |
96 int32_t GetExtraCommandBufferData() const override; | 96 int32_t GetExtraCommandBufferData() const override; |
97 uint64_t GenerateFenceSyncRelease() override; | 97 uint64_t GenerateFenceSyncRelease() override; |
98 bool IsFenceSyncRelease(uint64_t release) override; | 98 bool IsFenceSyncRelease(uint64_t release) override; |
99 bool IsFenceSyncFlushed(uint64_t release) override; | 99 bool IsFenceSyncFlushed(uint64_t release) override; |
100 bool IsFenceSyncFlushReceived(uint64_t release) override; | 100 bool IsFenceSyncFlushReceived(uint64_t release) override; |
101 void SignalSyncToken(const gpu::SyncToken& sync_token, | 101 void SignalSyncToken(const gpu::SyncToken& sync_token, |
102 const base::Closure& callback) override; | 102 const base::Closure& callback) override; |
103 bool CanWaitUnverifiedSyncToken(const gpu::SyncToken* sync_token) override; | 103 bool CanWaitUnverifiedSyncToken(const gpu::SyncToken* sync_token) override; |
104 | 104 |
105 private: | 105 private: |
(...skipping 19 matching lines...) Expand all Loading... |
125 scoped_ptr<Config> config_; | 125 scoped_ptr<Config> config_; |
126 scoped_ptr<Surface> surface_; | 126 scoped_ptr<Surface> surface_; |
127 scoped_ptr<gpu::gles2::GLES2Implementation> context_; | 127 scoped_ptr<gpu::gles2::GLES2Implementation> context_; |
128 | 128 |
129 DISALLOW_COPY_AND_ASSIGN(Display); | 129 DISALLOW_COPY_AND_ASSIGN(Display); |
130 }; | 130 }; |
131 | 131 |
132 } // namespace egl | 132 } // namespace egl |
133 | 133 |
134 #endif // GPU_GLES2_CONFORM_SUPPORT_EGL_DISPLAY_H_ | 134 #endif // GPU_GLES2_CONFORM_SUPPORT_EGL_DISPLAY_H_ |
OLD | NEW |