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

Side by Side Diff: gpu/command_buffer/service/in_process_command_buffer.h

Issue 1385883002: Leave CreateStreamTexture route id out of the GL interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_SERVICE_IN_PROCESS_COMMAND_BUFFER_H_ 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_IN_PROCESS_COMMAND_BUFFER_H_
6 #define GPU_COMMAND_BUFFER_SERVICE_IN_PROCESS_COMMAND_BUFFER_H_ 6 #define GPU_COMMAND_BUFFER_SERVICE_IN_PROCESS_COMMAND_BUFFER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 size_t height, 118 size_t height,
119 unsigned internalformat, 119 unsigned internalformat,
120 unsigned usage) override; 120 unsigned usage) override;
121 uint32 InsertSyncPoint() override; 121 uint32 InsertSyncPoint() override;
122 uint32 InsertFutureSyncPoint() override; 122 uint32 InsertFutureSyncPoint() override;
123 void RetireSyncPoint(uint32 sync_point) override; 123 void RetireSyncPoint(uint32 sync_point) override;
124 void SignalSyncPoint(uint32 sync_point, 124 void SignalSyncPoint(uint32 sync_point,
125 const base::Closure& callback) override; 125 const base::Closure& callback) override;
126 void SignalQuery(uint32 query_id, const base::Closure& callback) override; 126 void SignalQuery(uint32 query_id, const base::Closure& callback) override;
127 void SetSurfaceVisible(bool visible) override; 127 void SetSurfaceVisible(bool visible) override;
128 uint32 CreateStreamTexture(uint32 texture_id) override; 128 uint32 CreateStreamTexture(uint32 texture_id);
no sievers 2015/10/27 16:58:56 nit: move to non-virtual functions
sivag 2015/11/05 09:42:50 Done.
129 void SetLock(base::Lock*) override; 129 void SetLock(base::Lock*) override;
130 bool IsGpuChannelLost() override; 130 bool IsGpuChannelLost() override;
131 CommandBufferNamespace GetNamespaceID() const override; 131 CommandBufferNamespace GetNamespaceID() const override;
132 uint64_t GetCommandBufferID() const override; 132 uint64_t GetCommandBufferID() const override;
133 uint64_t GenerateFenceSyncRelease() override; 133 uint64_t GenerateFenceSyncRelease() override;
134 bool IsFenceSyncRelease(uint64_t release) override; 134 bool IsFenceSyncRelease(uint64_t release) override;
135 bool IsFenceSyncFlushed(uint64_t release) override; 135 bool IsFenceSyncFlushed(uint64_t release) override;
136 bool IsFenceSyncFlushReceived(uint64_t release) override; 136 bool IsFenceSyncFlushReceived(uint64_t release) override;
137 void SignalSyncToken(const SyncToken& sync_token, 137 void SignalSyncToken(const SyncToken& sync_token,
138 const base::Closure& callback) override; 138 const base::Closure& callback) override;
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 SyncPointManager* sync_point_manager_; // Non-owning. 316 SyncPointManager* sync_point_manager_; // Non-owning.
317 scoped_refptr<gpu::gles2::ShaderTranslatorCache> shader_translator_cache_; 317 scoped_refptr<gpu::gles2::ShaderTranslatorCache> shader_translator_cache_;
318 scoped_refptr<gpu::gles2::FramebufferCompletenessCache> 318 scoped_refptr<gpu::gles2::FramebufferCompletenessCache>
319 framebuffer_completeness_cache_; 319 framebuffer_completeness_cache_;
320 DISALLOW_COPY_AND_ASSIGN(GpuInProcessThread); 320 DISALLOW_COPY_AND_ASSIGN(GpuInProcessThread);
321 }; 321 };
322 322
323 } // namespace gpu 323 } // namespace gpu
324 324
325 #endif // GPU_COMMAND_BUFFER_SERVICE_IN_PROCESS_COMMAND_BUFFER_H_ 325 #endif // GPU_COMMAND_BUFFER_SERVICE_IN_PROCESS_COMMAND_BUFFER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698