Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(252)

Side by Side Diff: gpu/gles2_conform_support/egl/display.h

Issue 1919203003: Revert of Report lost context from GLES2Implementation based on share group state. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gpu/command_buffer/tests/gl_manager.cc ('k') | gpu/gles2_conform_support/egl/display.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « gpu/command_buffer/tests/gl_manager.cc ('k') | gpu/gles2_conform_support/egl/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698