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

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

Issue 342483007: Removed ManagedMemoryStats. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 unsigned internalformat, 103 unsigned internalformat,
104 unsigned usage, 104 unsigned usage,
105 int32* id) OVERRIDE; 105 int32* id) OVERRIDE;
106 virtual void DestroyGpuMemoryBuffer(int32 id) OVERRIDE; 106 virtual void DestroyGpuMemoryBuffer(int32 id) OVERRIDE;
107 virtual uint32 InsertSyncPoint() OVERRIDE; 107 virtual uint32 InsertSyncPoint() OVERRIDE;
108 virtual void SignalSyncPoint(uint32 sync_point, 108 virtual void SignalSyncPoint(uint32 sync_point,
109 const base::Closure& callback) OVERRIDE; 109 const base::Closure& callback) OVERRIDE;
110 virtual void SignalQuery(uint32 query, 110 virtual void SignalQuery(uint32 query,
111 const base::Closure& callback) OVERRIDE; 111 const base::Closure& callback) OVERRIDE;
112 virtual void SetSurfaceVisible(bool visible) OVERRIDE; 112 virtual void SetSurfaceVisible(bool visible) OVERRIDE;
113 virtual void SendManagedMemoryStats(const gpu::ManagedMemoryStats& stats)
114 OVERRIDE;
115 virtual void Echo(const base::Closure& callback) OVERRIDE; 113 virtual void Echo(const base::Closure& callback) OVERRIDE;
116 virtual uint32 CreateStreamTexture(uint32 texture_id) OVERRIDE; 114 virtual uint32 CreateStreamTexture(uint32 texture_id) OVERRIDE;
117 115
118 // The serializer interface to the GPU service (i.e. thread). 116 // The serializer interface to the GPU service (i.e. thread).
119 class Service { 117 class Service {
120 public: 118 public:
121 Service(); 119 Service();
122 virtual ~Service(); 120 virtual ~Service();
123 121
124 virtual void AddRef() const = 0; 122 virtual void AddRef() const = 0;
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 225
228 base::WeakPtr<InProcessCommandBuffer> gpu_thread_weak_ptr_; 226 base::WeakPtr<InProcessCommandBuffer> gpu_thread_weak_ptr_;
229 base::WeakPtrFactory<InProcessCommandBuffer> gpu_thread_weak_ptr_factory_; 227 base::WeakPtrFactory<InProcessCommandBuffer> gpu_thread_weak_ptr_factory_;
230 228
231 DISALLOW_COPY_AND_ASSIGN(InProcessCommandBuffer); 229 DISALLOW_COPY_AND_ASSIGN(InProcessCommandBuffer);
232 }; 230 };
233 231
234 } // namespace gpu 232 } // namespace gpu
235 233
236 #endif // GPU_COMMAND_BUFFER_SERVICE_IN_PROCESS_COMMAND_BUFFER_H_ 234 #endif // GPU_COMMAND_BUFFER_SERVICE_IN_PROCESS_COMMAND_BUFFER_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/common/gpu_memory_allocation.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