| 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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 void OnAsyncFlush(int32 put_offset, uint32 flush_count, | 179 void OnAsyncFlush(int32 put_offset, uint32 flush_count, |
| 180 const std::vector<ui::LatencyInfo>& latency_info); | 180 const std::vector<ui::LatencyInfo>& latency_info); |
| 181 void OnRescheduled(); | 181 void OnRescheduled(); |
| 182 void OnRegisterTransferBuffer(int32 id, | 182 void OnRegisterTransferBuffer(int32 id, |
| 183 base::SharedMemoryHandle transfer_buffer, | 183 base::SharedMemoryHandle transfer_buffer, |
| 184 uint32 size); | 184 uint32 size); |
| 185 void OnDestroyTransferBuffer(int32 id); | 185 void OnDestroyTransferBuffer(int32 id); |
| 186 void OnGetTransferBuffer(int32 id, IPC::Message* reply_message); | 186 void OnGetTransferBuffer(int32 id, IPC::Message* reply_message); |
| 187 | 187 |
| 188 void OnCreateVideoDecoder(media::VideoCodecProfile profile, | 188 void OnCreateVideoDecoder(media::VideoCodecProfile profile, |
| 189 uint32 min_picture_count, |
| 189 int32 route_id, | 190 int32 route_id, |
| 190 IPC::Message* reply_message); | 191 IPC::Message* reply_message); |
| 191 void OnCreateVideoEncoder(media::VideoFrame::Format input_format, | 192 void OnCreateVideoEncoder(media::VideoFrame::Format input_format, |
| 192 const gfx::Size& input_visible_size, | 193 const gfx::Size& input_visible_size, |
| 193 media::VideoCodecProfile output_profile, | 194 media::VideoCodecProfile output_profile, |
| 194 uint32 initial_bitrate, | 195 uint32 initial_bitrate, |
| 195 int32 route_id, | 196 int32 route_id, |
| 196 IPC::Message* reply_message); | 197 IPC::Message* reply_message); |
| 197 | 198 |
| 198 void OnSetSurfaceVisible(bool visible); | 199 void OnSetSurfaceVisible(bool visible); |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 size_t total_gpu_memory_; | 289 size_t total_gpu_memory_; |
| 289 scoped_ptr<WaitForCommandState> wait_for_token_; | 290 scoped_ptr<WaitForCommandState> wait_for_token_; |
| 290 scoped_ptr<WaitForCommandState> wait_for_get_offset_; | 291 scoped_ptr<WaitForCommandState> wait_for_get_offset_; |
| 291 | 292 |
| 292 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub); | 293 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub); |
| 293 }; | 294 }; |
| 294 | 295 |
| 295 } // namespace content | 296 } // namespace content |
| 296 | 297 |
| 297 #endif // CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ | 298 #endif // CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ |
| OLD | NEW |