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

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

Issue 619453002: gpu: Remove Echo and SwapCompletion GL interfacess (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tits
Patch Set: remove comment Created 6 years, 2 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 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 int32* id) OVERRIDE; 101 int32* id) OVERRIDE;
102 virtual void DestroyGpuMemoryBuffer(int32 id) OVERRIDE; 102 virtual void DestroyGpuMemoryBuffer(int32 id) OVERRIDE;
103 virtual uint32 InsertSyncPoint() OVERRIDE; 103 virtual uint32 InsertSyncPoint() OVERRIDE;
104 virtual uint32 InsertFutureSyncPoint() OVERRIDE; 104 virtual uint32 InsertFutureSyncPoint() OVERRIDE;
105 virtual void RetireSyncPoint(uint32 sync_point) OVERRIDE; 105 virtual void RetireSyncPoint(uint32 sync_point) OVERRIDE;
106 virtual void SignalSyncPoint(uint32 sync_point, 106 virtual void SignalSyncPoint(uint32 sync_point,
107 const base::Closure& callback) OVERRIDE; 107 const base::Closure& callback) OVERRIDE;
108 virtual void SignalQuery(uint32 query_id, 108 virtual void SignalQuery(uint32 query_id,
109 const base::Closure& callback) OVERRIDE; 109 const base::Closure& callback) OVERRIDE;
110 virtual void SetSurfaceVisible(bool visible) OVERRIDE; 110 virtual void SetSurfaceVisible(bool visible) OVERRIDE;
111 virtual void Echo(const base::Closure& callback) OVERRIDE;
112 virtual uint32 CreateStreamTexture(uint32 texture_id) OVERRIDE; 111 virtual uint32 CreateStreamTexture(uint32 texture_id) OVERRIDE;
113 112
114 // The serializer interface to the GPU service (i.e. thread). 113 // The serializer interface to the GPU service (i.e. thread).
115 class Service { 114 class Service {
116 public: 115 public:
117 Service(); 116 Service();
118 virtual ~Service(); 117 virtual ~Service();
119 118
120 virtual void AddRef() const = 0; 119 virtual void AddRef() const = 0;
121 virtual void Release() const = 0; 120 virtual void Release() const = 0;
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 226
228 base::WeakPtr<InProcessCommandBuffer> gpu_thread_weak_ptr_; 227 base::WeakPtr<InProcessCommandBuffer> gpu_thread_weak_ptr_;
229 base::WeakPtrFactory<InProcessCommandBuffer> gpu_thread_weak_ptr_factory_; 228 base::WeakPtrFactory<InProcessCommandBuffer> gpu_thread_weak_ptr_factory_;
230 229
231 DISALLOW_COPY_AND_ASSIGN(InProcessCommandBuffer); 230 DISALLOW_COPY_AND_ASSIGN(InProcessCommandBuffer);
232 }; 231 };
233 232
234 } // namespace gpu 233 } // namespace gpu
235 234
236 #endif // GPU_COMMAND_BUFFER_SERVICE_IN_PROCESS_COMMAND_BUFFER_H_ 235 #endif // GPU_COMMAND_BUFFER_SERVICE_IN_PROCESS_COMMAND_BUFFER_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/gpu_control.h ('k') | gpu/command_buffer/service/in_process_command_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698