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

Side by Side Diff: content/common/gpu/client/command_buffer_proxy_impl.h

Issue 10898014: Delete shared state transfer buffer upon command-buffer deletion. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 | « no previous file | 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 #if defined(ENABLE_GPU) 8 #if defined(ENABLE_GPU)
9 9
10 #include <map> 10 #include <map>
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 156
157 base::Callback<void(const GpuMemoryAllocationForRenderer&)> 157 base::Callback<void(const GpuMemoryAllocationForRenderer&)>
158 memory_allocation_changed_callback_; 158 memory_allocation_changed_callback_;
159 159
160 GpuConsoleMessageCallback console_message_callback_; 160 GpuConsoleMessageCallback console_message_callback_;
161 161
162 // Tasks to be invoked in SignalSyncPoint responses. 162 // Tasks to be invoked in SignalSyncPoint responses.
163 uint32 next_signal_id_; 163 uint32 next_signal_id_;
164 SignalTaskMap signal_tasks_; 164 SignalTaskMap signal_tasks_;
165 165
166 // ID of transfer buffer containing shared state.
167 int32 state_buffer_;
168
166 DISALLOW_COPY_AND_ASSIGN(CommandBufferProxyImpl); 169 DISALLOW_COPY_AND_ASSIGN(CommandBufferProxyImpl);
167 }; 170 };
168 171
169 #endif // ENABLE_GPU 172 #endif // ENABLE_GPU
170 173
171 #endif // CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ 174 #endif // CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/common/gpu/client/command_buffer_proxy_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698