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

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

Issue 1269503007: Unify graphics buffer format & usage enums for GpuMemoryBuffer & SurfaceFactoryOzone (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add header to BUILD.gn Created 5 years, 4 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
« no previous file with comments | « content/common/gpu/gpu_channel.cc ('k') | content/common/gpu/gpu_command_buffer_stub.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_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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 void OnWaitSyncPointCompleted(uint32 sync_point); 202 void OnWaitSyncPointCompleted(uint32 sync_point);
203 void OnSignalSyncPoint(uint32 sync_point, uint32 id); 203 void OnSignalSyncPoint(uint32 sync_point, uint32 id);
204 void OnSignalSyncPointAck(uint32 id); 204 void OnSignalSyncPointAck(uint32 id);
205 void OnSignalQuery(uint32 query, uint32 id); 205 void OnSignalQuery(uint32 query, uint32 id);
206 206
207 void OnSetClientHasMemoryAllocationChangedCallback(bool has_callback); 207 void OnSetClientHasMemoryAllocationChangedCallback(bool has_callback);
208 208
209 void OnCreateImage(int32 id, 209 void OnCreateImage(int32 id,
210 gfx::GpuMemoryBufferHandle handle, 210 gfx::GpuMemoryBufferHandle handle,
211 gfx::Size size, 211 gfx::Size size,
212 gfx::GpuMemoryBuffer::Format format, 212 gfx::BufferFormat format,
213 uint32 internalformat); 213 uint32 internalformat);
214 void OnDestroyImage(int32 id); 214 void OnDestroyImage(int32 id);
215 215
216 void OnCommandProcessed(); 216 void OnCommandProcessed();
217 void OnParseError(); 217 void OnParseError();
218 void OnCreateStreamTexture( 218 void OnCreateStreamTexture(
219 uint32 texture_id, int32 stream_id, bool* succeeded); 219 uint32 texture_id, int32 stream_id, bool* succeeded);
220 220
221 void ReportState(); 221 void ReportState();
222 222
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 size_t total_gpu_memory_; 287 size_t total_gpu_memory_;
288 scoped_ptr<WaitForCommandState> wait_for_token_; 288 scoped_ptr<WaitForCommandState> wait_for_token_;
289 scoped_ptr<WaitForCommandState> wait_for_get_offset_; 289 scoped_ptr<WaitForCommandState> wait_for_get_offset_;
290 290
291 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub); 291 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub);
292 }; 292 };
293 293
294 } // namespace content 294 } // namespace content
295 295
296 #endif // CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ 296 #endif // CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_channel.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