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

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: responding to brettw 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
« no previous file with comments | « chrome/test/ui/ppapi_uitest.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) 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 int32 id_request, 107 int32 id_request,
108 IPC::Message* reply_message); 108 IPC::Message* reply_message);
109 void OnRegisterTransferBuffer(base::SharedMemoryHandle transfer_buffer, 109 void OnRegisterTransferBuffer(base::SharedMemoryHandle transfer_buffer,
110 size_t size, 110 size_t size,
111 int32 id_request, 111 int32 id_request,
112 IPC::Message* reply_message); 112 IPC::Message* reply_message);
113 void OnDestroyTransferBuffer(int32 id, IPC::Message* reply_message); 113 void OnDestroyTransferBuffer(int32 id, IPC::Message* reply_message);
114 void OnGetTransferBuffer(int32 id, IPC::Message* reply_message); 114 void OnGetTransferBuffer(int32 id, IPC::Message* reply_message);
115 void OnResizeOffscreenFrameBuffer(const gfx::Size& size); 115 void OnResizeOffscreenFrameBuffer(const gfx::Size& size);
116 116
117 void OnCreateVideoDecoder(const std::vector<uint32>& configs, 117 void OnCreateVideoDecoder(const std::vector<int32>& configs,
118 IPC::Message* reply_message); 118 IPC::Message* reply_message);
119 void OnDestroyVideoDecoder(); 119 void OnDestroyVideoDecoder();
120 120
121 void OnSwapBuffers(); 121 void OnSwapBuffers();
122 void OnCommandProcessed(); 122 void OnCommandProcessed();
123 void OnParseError(); 123 void OnParseError();
124 124
125 #if defined(OS_MACOSX) 125 #if defined(OS_MACOSX)
126 void OnSetWindowSize(const gfx::Size& size); 126 void OnSetWindowSize(const gfx::Size& size);
127 void SwapBuffersCallback(); 127 void SwapBuffersCallback();
(...skipping 37 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 | « chrome/test/ui/ppapi_uitest.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