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

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

Issue 7545014: Implement PPAPI VideoDecode out-of-process support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 int32 id_request, 110 int32 id_request,
111 IPC::Message* reply_message); 111 IPC::Message* reply_message);
112 void OnRegisterTransferBuffer(base::SharedMemoryHandle transfer_buffer, 112 void OnRegisterTransferBuffer(base::SharedMemoryHandle transfer_buffer,
113 size_t size, 113 size_t size,
114 int32 id_request, 114 int32 id_request,
115 IPC::Message* reply_message); 115 IPC::Message* reply_message);
116 void OnDestroyTransferBuffer(int32 id, IPC::Message* reply_message); 116 void OnDestroyTransferBuffer(int32 id, IPC::Message* reply_message);
117 void OnGetTransferBuffer(int32 id, IPC::Message* reply_message); 117 void OnGetTransferBuffer(int32 id, IPC::Message* reply_message);
118 void OnResizeOffscreenFrameBuffer(const gfx::Size& size); 118 void OnResizeOffscreenFrameBuffer(const gfx::Size& size);
119 119
120 void OnCreateVideoDecoder(const std::vector<uint32>& configs, 120 void OnCreateVideoDecoder(const std::vector<int32>& configs,
121 IPC::Message* reply_message); 121 IPC::Message* reply_message);
122 void OnDestroyVideoDecoder(); 122 void OnDestroyVideoDecoder();
123 123
124 void OnSwapBuffers(); 124 void OnSwapBuffers();
125 void OnCommandProcessed(); 125 void OnCommandProcessed();
126 void OnParseError(); 126 void OnParseError();
127 127
128 #if defined(OS_MACOSX) 128 #if defined(OS_MACOSX)
129 void OnSetWindowSize(const gfx::Size& size); 129 void OnSetWindowSize(const gfx::Size& size);
130 void SwapBuffersCallback(); 130 void SwapBuffersCallback();
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 165
166 // The video decoder associated with this stub, if any. 166 // The video decoder associated with this stub, if any.
167 scoped_ptr<GpuVideoDecodeAccelerator> video_decoder_; 167 scoped_ptr<GpuVideoDecodeAccelerator> video_decoder_;
168 168
169 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub); 169 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub);
170 }; 170 };
171 171
172 #endif // defined(ENABLE_GPU) 172 #endif // defined(ENABLE_GPU)
173 173
174 #endif // CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ 174 #endif // CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_
OLDNEW
« no previous file with comments | « no previous file | content/common/gpu/gpu_command_buffer_stub.cc » ('j') | ppapi/proxy/ppapi_messages.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698