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

Side by Side Diff: content/common/gpu/client/command_buffer_proxy_impl.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
« no previous file with comments | « cc/trees/thread_proxy.cc ('k') | content/common/gpu/client/command_buffer_proxy_impl.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 CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ 5 #ifndef CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_
6 #define CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ 6 #define CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 #include <string> 10 #include <string>
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 unsigned internalformat, 106 unsigned internalformat,
107 unsigned usage, 107 unsigned usage,
108 int32* id) OVERRIDE; 108 int32* id) OVERRIDE;
109 virtual void DestroyGpuMemoryBuffer(int32 id) OVERRIDE; 109 virtual void DestroyGpuMemoryBuffer(int32 id) OVERRIDE;
110 virtual uint32 InsertSyncPoint() OVERRIDE; 110 virtual uint32 InsertSyncPoint() OVERRIDE;
111 virtual void SignalSyncPoint(uint32 sync_point, 111 virtual void SignalSyncPoint(uint32 sync_point,
112 const base::Closure& callback) OVERRIDE; 112 const base::Closure& callback) OVERRIDE;
113 virtual void SignalQuery(uint32 query, 113 virtual void SignalQuery(uint32 query,
114 const base::Closure& callback) OVERRIDE; 114 const base::Closure& callback) OVERRIDE;
115 virtual void SetSurfaceVisible(bool visible) OVERRIDE; 115 virtual void SetSurfaceVisible(bool visible) OVERRIDE;
116 virtual void SendManagedMemoryStats(const gpu::ManagedMemoryStats& stats)
117 OVERRIDE;
118 virtual void Echo(const base::Closure& callback) OVERRIDE; 116 virtual void Echo(const base::Closure& callback) OVERRIDE;
119 virtual uint32 CreateStreamTexture(uint32 texture_id) OVERRIDE; 117 virtual uint32 CreateStreamTexture(uint32 texture_id) OVERRIDE;
120 118
121 int GetRouteID() const; 119 int GetRouteID() const;
122 bool ProduceFrontBuffer(const gpu::Mailbox& mailbox); 120 bool ProduceFrontBuffer(const gpu::Mailbox& mailbox);
123 void SetChannelErrorCallback(const base::Closure& callback); 121 void SetChannelErrorCallback(const base::Closure& callback);
124 122
125 typedef base::Callback<void(const gpu::MemoryAllocation&)> 123 typedef base::Callback<void(const gpu::MemoryAllocation&)>
126 MemoryAllocationChangedCallback; 124 MemoryAllocationChangedCallback;
127 void SetMemoryAllocationChangedCallback( 125 void SetMemoryAllocationChangedCallback(
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 GpuMemoryBufferMap gpu_memory_buffers_; 199 GpuMemoryBufferMap gpu_memory_buffers_;
202 200
203 gpu::Capabilities capabilities_; 201 gpu::Capabilities capabilities_;
204 202
205 DISALLOW_COPY_AND_ASSIGN(CommandBufferProxyImpl); 203 DISALLOW_COPY_AND_ASSIGN(CommandBufferProxyImpl);
206 }; 204 };
207 205
208 } // namespace content 206 } // namespace content
209 207
210 #endif // CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ 208 #endif // CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/thread_proxy.cc ('k') | content/common/gpu/client/command_buffer_proxy_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698