| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 size_t width, | 86 size_t width, |
| 87 size_t height, | 87 size_t height, |
| 88 unsigned internalformat) override; | 88 unsigned internalformat) override; |
| 89 void DestroyImage(int32_t id) override; | 89 void DestroyImage(int32_t id) override; |
| 90 int32_t CreateGpuMemoryBufferImage(size_t width, | 90 int32_t CreateGpuMemoryBufferImage(size_t width, |
| 91 size_t height, | 91 size_t height, |
| 92 unsigned internalformat, | 92 unsigned internalformat, |
| 93 unsigned usage) override; | 93 unsigned usage) override; |
| 94 void SignalQuery(uint32_t query, const base::Closure& callback) override; | 94 void SignalQuery(uint32_t query, const base::Closure& callback) override; |
| 95 void SetLock(base::Lock*) override; | 95 void SetLock(base::Lock*) override; |
| 96 bool IsGpuChannelLost() override; |
| 96 void EnsureWorkVisible() override; | 97 void EnsureWorkVisible() override; |
| 97 gpu::CommandBufferNamespace GetNamespaceID() const override; | 98 gpu::CommandBufferNamespace GetNamespaceID() const override; |
| 98 gpu::CommandBufferId GetCommandBufferID() const override; | 99 gpu::CommandBufferId GetCommandBufferID() const override; |
| 99 int32_t GetExtraCommandBufferData() const override; | 100 int32_t GetExtraCommandBufferData() const override; |
| 100 uint64_t GenerateFenceSyncRelease() override; | 101 uint64_t GenerateFenceSyncRelease() override; |
| 101 bool IsFenceSyncRelease(uint64_t release) override; | 102 bool IsFenceSyncRelease(uint64_t release) override; |
| 102 bool IsFenceSyncFlushed(uint64_t release) override; | 103 bool IsFenceSyncFlushed(uint64_t release) override; |
| 103 bool IsFenceSyncFlushReceived(uint64_t release) override; | 104 bool IsFenceSyncFlushReceived(uint64_t release) override; |
| 104 void SignalSyncToken(const gpu::SyncToken& sync_token, | 105 void SignalSyncToken(const gpu::SyncToken& sync_token, |
| 105 const base::Closure& callback) override; | 106 const base::Closure& callback) override; |
| (...skipping 24 matching lines...) Expand all Loading... |
| 130 std::unique_ptr<Config> config_; | 131 std::unique_ptr<Config> config_; |
| 131 std::unique_ptr<Surface> surface_; | 132 std::unique_ptr<Surface> surface_; |
| 132 std::unique_ptr<gpu::gles2::GLES2Implementation> context_; | 133 std::unique_ptr<gpu::gles2::GLES2Implementation> context_; |
| 133 | 134 |
| 134 DISALLOW_COPY_AND_ASSIGN(Display); | 135 DISALLOW_COPY_AND_ASSIGN(Display); |
| 135 }; | 136 }; |
| 136 | 137 |
| 137 } // namespace egl | 138 } // namespace egl |
| 138 | 139 |
| 139 #endif // GPU_GLES2_CONFORM_SUPPORT_EGL_DISPLAY_H_ | 140 #endif // GPU_GLES2_CONFORM_SUPPORT_EGL_DISPLAY_H_ |
| OLD | NEW |