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

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

Issue 1559893003: Added method to synchronize command buffers within GpuControl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: SynchronizeCommandBuffer() -> EnsureWorkVisible() Created 4 years, 11 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 unsigned internalformat, 92 unsigned internalformat,
93 unsigned usage) override; 93 unsigned usage) override;
94 uint32_t InsertSyncPoint() override; 94 uint32_t InsertSyncPoint() override;
95 uint32_t InsertFutureSyncPoint() override; 95 uint32_t InsertFutureSyncPoint() override;
96 void RetireSyncPoint(uint32_t sync_point) override; 96 void RetireSyncPoint(uint32_t sync_point) override;
97 void SignalSyncPoint(uint32_t sync_point, 97 void SignalSyncPoint(uint32_t sync_point,
98 const base::Closure& callback) override; 98 const base::Closure& callback) override;
99 void SignalQuery(uint32_t query, const base::Closure& callback) override; 99 void SignalQuery(uint32_t query, const base::Closure& callback) override;
100 void SetLock(base::Lock*) override; 100 void SetLock(base::Lock*) override;
101 bool IsGpuChannelLost() override; 101 bool IsGpuChannelLost() override;
102 void EnsureWorkVisible() override;
102 gpu::CommandBufferNamespace GetNamespaceID() const override; 103 gpu::CommandBufferNamespace GetNamespaceID() const override;
103 uint64_t GetCommandBufferID() const override; 104 uint64_t GetCommandBufferID() const override;
104 int32_t GetExtraCommandBufferData() const override; 105 int32_t GetExtraCommandBufferData() const override;
105 uint64_t GenerateFenceSyncRelease() override; 106 uint64_t GenerateFenceSyncRelease() override;
106 bool IsFenceSyncRelease(uint64_t release) override; 107 bool IsFenceSyncRelease(uint64_t release) override;
107 bool IsFenceSyncFlushed(uint64_t release) override; 108 bool IsFenceSyncFlushed(uint64_t release) override;
108 bool IsFenceSyncFlushReceived(uint64_t release) override; 109 bool IsFenceSyncFlushReceived(uint64_t release) override;
109 void SignalSyncToken(const gpu::SyncToken& sync_token, 110 void SignalSyncToken(const gpu::SyncToken& sync_token,
110 const base::Closure& callback) override; 111 const base::Closure& callback) override;
111 bool CanWaitUnverifiedSyncToken(const gpu::SyncToken* sync_token) override; 112 bool CanWaitUnverifiedSyncToken(const gpu::SyncToken* sync_token) override;
(...skipping 28 matching lines...) Expand all
140 scoped_ptr<Config> config_; 141 scoped_ptr<Config> config_;
141 scoped_ptr<Surface> surface_; 142 scoped_ptr<Surface> surface_;
142 scoped_ptr<gpu::gles2::GLES2Implementation> context_; 143 scoped_ptr<gpu::gles2::GLES2Implementation> context_;
143 144
144 DISALLOW_COPY_AND_ASSIGN(Display); 145 DISALLOW_COPY_AND_ASSIGN(Display);
145 }; 146 };
146 147
147 } // namespace egl 148 } // namespace egl
148 149
149 #endif // GPU_GLES2_CONFORM_SUPPORT_EGL_DISPLAY_H_ 150 #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