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

Side by Side Diff: content/common/gpu/gpu_command_buffer_stub.h

Issue 12806006: Add EncodeBackbufferCHROMIUM support to GLES2 command stream (Closed) Base URL: https://chromium.googlesource.com/chromium/src@yuv_2
Patch Set: Removed extraneous file. Created 7 years, 9 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 (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_GPU_COMMAND_BUFFER_STUB_H_ 5 #ifndef CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_
6 #define CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ 6 #define CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 167
168 void OnDiscardBackbuffer(); 168 void OnDiscardBackbuffer();
169 void OnEnsureBackbuffer(); 169 void OnEnsureBackbuffer();
170 170
171 void OnRetireSyncPoint(uint32 sync_point); 171 void OnRetireSyncPoint(uint32 sync_point);
172 bool OnWaitSyncPoint(uint32 sync_point); 172 bool OnWaitSyncPoint(uint32 sync_point);
173 void OnSyncPointRetired(); 173 void OnSyncPointRetired();
174 void OnSignalSyncPoint(uint32 sync_point, uint32 id); 174 void OnSignalSyncPoint(uint32 sync_point, uint32 id);
175 void OnSignalSyncPointAck(uint32 id); 175 void OnSignalSyncPointAck(uint32 id);
176 176
177 void OnEncodeBackbuffer();
178
177 void OnReceivedClientManagedMemoryStats(const GpuManagedMemoryStats& stats); 179 void OnReceivedClientManagedMemoryStats(const GpuManagedMemoryStats& stats);
178 void OnSetClientHasMemoryAllocationChangedCallback(bool has_callback); 180 void OnSetClientHasMemoryAllocationChangedCallback(bool has_callback);
179 181
180 void OnCommandProcessed(); 182 void OnCommandProcessed();
181 void OnParseError(); 183 void OnParseError();
182 184
183 void ReportState(); 185 void ReportState();
184 186
185 // Wrapper for GpuScheduler::PutChanged that sets the crash report URL. 187 // Wrapper for GpuScheduler::PutChanged that sets the crash report URL.
186 void PutChanged(); 188 void PutChanged();
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 size_t active_url_hash_; 252 size_t active_url_hash_;
251 253
252 size_t total_gpu_memory_; 254 size_t total_gpu_memory_;
253 255
254 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub); 256 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub);
255 }; 257 };
256 258
257 } // namespace content 259 } // namespace content
258 260
259 #endif // CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ 261 #endif // CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_
OLDNEW
« no previous file with comments | « content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc ('k') | content/common/gpu/gpu_command_buffer_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698