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

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

Issue 10408003: Plumb extra_data() to VideoDecodeAccelerator (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rev interface versino Created 8 years, 7 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 (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 #pragma once 7 #pragma once
8 8
9 #if defined(ENABLE_GPU) 9 #if defined(ENABLE_GPU)
10 10
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 IPC::Message* reply_message); 197 IPC::Message* reply_message);
198 void OnRegisterTransferBuffer(base::SharedMemoryHandle transfer_buffer, 198 void OnRegisterTransferBuffer(base::SharedMemoryHandle transfer_buffer,
199 size_t size, 199 size_t size,
200 int32 id_request, 200 int32 id_request,
201 IPC::Message* reply_message); 201 IPC::Message* reply_message);
202 void OnDestroyTransferBuffer(int32 id, IPC::Message* reply_message); 202 void OnDestroyTransferBuffer(int32 id, IPC::Message* reply_message);
203 void OnGetTransferBuffer(int32 id, IPC::Message* reply_message); 203 void OnGetTransferBuffer(int32 id, IPC::Message* reply_message);
204 204
205 void OnCreateVideoDecoder( 205 void OnCreateVideoDecoder(
206 media::VideoCodecProfile profile, 206 media::VideoCodecProfile profile,
207 const gfx::Size& frame_size,
208 const std::vector<uint8_t>& extra_data,
207 IPC::Message* reply_message); 209 IPC::Message* reply_message);
208 void OnDestroyVideoDecoder(int32 decoder_route_id); 210 void OnDestroyVideoDecoder(int32 decoder_route_id);
209 211
210 void OnSetSurfaceVisible(bool visible); 212 void OnSetSurfaceVisible(bool visible);
211 213
212 void OnDiscardBackbuffer(); 214 void OnDiscardBackbuffer();
213 void OnEnsureBackbuffer(); 215 void OnEnsureBackbuffer();
214 216
215 void OnSetClientHasMemoryAllocationChangedCallback(bool); 217 void OnSetClientHasMemoryAllocationChangedCallback(bool);
216 218
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 IDMap<GpuVideoDecodeAccelerator, IDMapOwnPointer> video_decoders_; 264 IDMap<GpuVideoDecodeAccelerator, IDMapOwnPointer> video_decoders_;
263 265
264 ObserverList<DestructionObserver> destruction_observers_; 266 ObserverList<DestructionObserver> destruction_observers_;
265 267
266 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub); 268 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub);
267 }; 269 };
268 270
269 #endif // defined(ENABLE_GPU) 271 #endif // defined(ENABLE_GPU)
270 272
271 #endif // CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ 273 #endif // CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_
OLDNEW
« no previous file with comments | « content/common/gpu/client/gpu_video_decode_accelerator_host.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