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

Side by Side Diff: gpu/command_buffer/tests/gl_manager.h

Issue 1615253006: Removed last references to old sync points. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed references in TestContextSupport 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
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_COMMAND_BUFFER_TESTS_GL_MANAGER_H_ 5 #ifndef GPU_COMMAND_BUFFER_TESTS_GL_MANAGER_H_
6 #define GPU_COMMAND_BUFFER_TESTS_GL_MANAGER_H_ 6 #define GPU_COMMAND_BUFFER_TESTS_GL_MANAGER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 Capabilities GetCapabilities() override; 120 Capabilities GetCapabilities() override;
121 int32_t CreateImage(ClientBuffer buffer, 121 int32_t CreateImage(ClientBuffer buffer,
122 size_t width, 122 size_t width,
123 size_t height, 123 size_t height,
124 unsigned internalformat) override; 124 unsigned internalformat) override;
125 void DestroyImage(int32_t id) override; 125 void DestroyImage(int32_t id) override;
126 int32_t CreateGpuMemoryBufferImage(size_t width, 126 int32_t CreateGpuMemoryBufferImage(size_t width,
127 size_t height, 127 size_t height,
128 unsigned internalformat, 128 unsigned internalformat,
129 unsigned usage) override; 129 unsigned usage) override;
130 uint32_t InsertSyncPoint() override;
131 uint32_t InsertFutureSyncPoint() override;
132 void RetireSyncPoint(uint32_t sync_point) override;
133 void SignalSyncPoint(uint32_t sync_point,
134 const base::Closure& callback) override;
135 void SignalQuery(uint32_t query, const base::Closure& callback) override; 130 void SignalQuery(uint32_t query, const base::Closure& callback) override;
136 void SetLock(base::Lock*) override; 131 void SetLock(base::Lock*) override;
137 bool IsGpuChannelLost() override; 132 bool IsGpuChannelLost() override;
138 void EnsureWorkVisible() override; 133 void EnsureWorkVisible() override;
139 gpu::CommandBufferNamespace GetNamespaceID() const override; 134 gpu::CommandBufferNamespace GetNamespaceID() const override;
140 uint64_t GetCommandBufferID() const override; 135 uint64_t GetCommandBufferID() const override;
141 int32_t GetExtraCommandBufferData() const override; 136 int32_t GetExtraCommandBufferData() const override;
142 uint64_t GenerateFenceSyncRelease() override; 137 uint64_t GenerateFenceSyncRelease() override;
143 bool IsFenceSyncRelease(uint64_t release) override; 138 bool IsFenceSyncRelease(uint64_t release) override;
144 bool IsFenceSyncFlushed(uint64_t release) override; 139 bool IsFenceSyncFlushed(uint64_t release) override;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 // Used on Android to virtualize GL for all contexts. 175 // Used on Android to virtualize GL for all contexts.
181 static int use_count_; 176 static int use_count_;
182 static scoped_refptr<gfx::GLShareGroup>* base_share_group_; 177 static scoped_refptr<gfx::GLShareGroup>* base_share_group_;
183 static scoped_refptr<gfx::GLSurface>* base_surface_; 178 static scoped_refptr<gfx::GLSurface>* base_surface_;
184 static scoped_refptr<gfx::GLContext>* base_context_; 179 static scoped_refptr<gfx::GLContext>* base_context_;
185 }; 180 };
186 181
187 } // namespace gpu 182 } // namespace gpu
188 183
189 #endif // GPU_COMMAND_BUFFER_TESTS_GL_MANAGER_H_ 184 #endif // GPU_COMMAND_BUFFER_TESTS_GL_MANAGER_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/sync_point_manager.cc ('k') | gpu/command_buffer/tests/gl_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698