| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 gpu::Capabilities GetCapabilities() override; | 84 gpu::Capabilities GetCapabilities() override; |
| 85 int32_t CreateImage(ClientBuffer buffer, | 85 int32_t CreateImage(ClientBuffer buffer, |
| 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 uint32_t InsertSyncPoint() override; | |
| 95 uint32_t InsertFutureSyncPoint() override; | |
| 96 void RetireSyncPoint(uint32_t sync_point) override; | |
| 97 void SignalSyncPoint(uint32_t sync_point, | |
| 98 const base::Closure& callback) override; | |
| 99 void SignalQuery(uint32_t query, const base::Closure& callback) override; | 94 void SignalQuery(uint32_t query, const base::Closure& callback) override; |
| 100 void SetLock(base::Lock*) override; | 95 void SetLock(base::Lock*) override; |
| 101 bool IsGpuChannelLost() override; | 96 bool IsGpuChannelLost() override; |
| 102 void EnsureWorkVisible() override; | 97 void EnsureWorkVisible() override; |
| 103 gpu::CommandBufferNamespace GetNamespaceID() const override; | 98 gpu::CommandBufferNamespace GetNamespaceID() const override; |
| 104 uint64_t GetCommandBufferID() const override; | 99 uint64_t GetCommandBufferID() const override; |
| 105 int32_t GetExtraCommandBufferData() const override; | 100 int32_t GetExtraCommandBufferData() const override; |
| 106 uint64_t GenerateFenceSyncRelease() override; | 101 uint64_t GenerateFenceSyncRelease() override; |
| 107 bool IsFenceSyncRelease(uint64_t release) override; | 102 bool IsFenceSyncRelease(uint64_t release) override; |
| 108 bool IsFenceSyncFlushed(uint64_t release) override; | 103 bool IsFenceSyncFlushed(uint64_t release) override; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 scoped_ptr<Config> config_; | 136 scoped_ptr<Config> config_; |
| 142 scoped_ptr<Surface> surface_; | 137 scoped_ptr<Surface> surface_; |
| 143 scoped_ptr<gpu::gles2::GLES2Implementation> context_; | 138 scoped_ptr<gpu::gles2::GLES2Implementation> context_; |
| 144 | 139 |
| 145 DISALLOW_COPY_AND_ASSIGN(Display); | 140 DISALLOW_COPY_AND_ASSIGN(Display); |
| 146 }; | 141 }; |
| 147 | 142 |
| 148 } // namespace egl | 143 } // namespace egl |
| 149 | 144 |
| 150 #endif // GPU_GLES2_CONFORM_SUPPORT_EGL_DISPLAY_H_ | 145 #endif // GPU_GLES2_CONFORM_SUPPORT_EGL_DISPLAY_H_ |
| OLD | NEW |