OLD | NEW |
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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 | 175 |
176 void OnCreateVideoDecoder(media::VideoCodecProfile profile, | 176 void OnCreateVideoDecoder(media::VideoCodecProfile profile, |
177 int32 route_id, | 177 int32 route_id, |
178 IPC::Message* reply_message); | 178 IPC::Message* reply_message); |
179 void OnCreateVideoEncoder(media::VideoFrame::Format input_format, | 179 void OnCreateVideoEncoder(media::VideoFrame::Format input_format, |
180 const gfx::Size& input_visible_size, | 180 const gfx::Size& input_visible_size, |
181 media::VideoCodecProfile output_profile, | 181 media::VideoCodecProfile output_profile, |
182 uint32 initial_bitrate, | 182 uint32 initial_bitrate, |
183 int32 route_id, | 183 int32 route_id, |
184 IPC::Message* reply_message); | 184 IPC::Message* reply_message); |
| 185 void OnVideoEncodeAcceleratorGetSupportedProfiles( |
| 186 IPC::Message* reply_message); |
185 | 187 |
186 void OnSetSurfaceVisible(bool visible); | 188 void OnSetSurfaceVisible(bool visible); |
187 | 189 |
188 void OnEnsureBackbuffer(); | 190 void OnEnsureBackbuffer(); |
189 | 191 |
190 void OnRetireSyncPoint(uint32 sync_point); | 192 void OnRetireSyncPoint(uint32 sync_point); |
191 bool OnWaitSyncPoint(uint32 sync_point); | 193 bool OnWaitSyncPoint(uint32 sync_point); |
192 void OnSyncPointRetired(); | 194 void OnSyncPointRetired(); |
193 void OnSignalSyncPoint(uint32 sync_point, uint32 id); | 195 void OnSignalSyncPoint(uint32 sync_point, uint32 id); |
194 void OnSignalSyncPointAck(uint32 id); | 196 void OnSignalSyncPointAck(uint32 id); |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 size_t total_gpu_memory_; | 279 size_t total_gpu_memory_; |
278 scoped_ptr<WaitForCommandState> wait_for_token_; | 280 scoped_ptr<WaitForCommandState> wait_for_token_; |
279 scoped_ptr<WaitForCommandState> wait_for_get_offset_; | 281 scoped_ptr<WaitForCommandState> wait_for_get_offset_; |
280 | 282 |
281 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub); | 283 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub); |
282 }; | 284 }; |
283 | 285 |
284 } // namespace content | 286 } // namespace content |
285 | 287 |
286 #endif // CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ | 288 #endif // CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ |
OLD | NEW |