| 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 void OnCreateVideoDecoder(media::VideoCodecProfile profile, | 183 void OnCreateVideoDecoder(media::VideoCodecProfile profile, |
| 184 int32 route_id, | 184 int32 route_id, |
| 185 IPC::Message* reply_message); | 185 IPC::Message* reply_message); |
| 186 void OnCreateVideoEncoder(media::VideoPixelFormat input_format, | 186 void OnCreateVideoEncoder(media::VideoPixelFormat input_format, |
| 187 const gfx::Size& input_visible_size, | 187 const gfx::Size& input_visible_size, |
| 188 media::VideoCodecProfile output_profile, | 188 media::VideoCodecProfile output_profile, |
| 189 uint32 initial_bitrate, | 189 uint32 initial_bitrate, |
| 190 int32 route_id, | 190 int32 route_id, |
| 191 IPC::Message* reply_message); | 191 IPC::Message* reply_message); |
| 192 | 192 |
| 193 void OnSetSurfaceVisible(bool visible); | |
| 194 | |
| 195 void OnEnsureBackbuffer(); | 193 void OnEnsureBackbuffer(); |
| 196 | 194 |
| 197 void OnRetireSyncPoint(uint32 sync_point); | 195 void OnRetireSyncPoint(uint32 sync_point); |
| 198 bool OnWaitSyncPoint(uint32 sync_point); | 196 bool OnWaitSyncPoint(uint32 sync_point); |
| 199 void OnWaitSyncPointCompleted(uint32 sync_point); | 197 void OnWaitSyncPointCompleted(uint32 sync_point); |
| 200 void OnSignalSyncPoint(uint32 sync_point, uint32 id); | 198 void OnSignalSyncPoint(uint32 sync_point, uint32 id); |
| 201 void OnSignalSyncToken(const gpu::SyncToken& sync_token, uint32 id); | 199 void OnSignalSyncToken(const gpu::SyncToken& sync_token, uint32 id); |
| 202 void OnSignalAck(uint32 id); | 200 void OnSignalAck(uint32 id); |
| 203 void OnSignalQuery(uint32 query, uint32 id); | 201 void OnSignalQuery(uint32 query, uint32 id); |
| 204 | 202 |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 295 | 293 |
| 296 scoped_ptr<WaitForCommandState> wait_for_token_; | 294 scoped_ptr<WaitForCommandState> wait_for_token_; |
| 297 scoped_ptr<WaitForCommandState> wait_for_get_offset_; | 295 scoped_ptr<WaitForCommandState> wait_for_get_offset_; |
| 298 | 296 |
| 299 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub); | 297 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub); |
| 300 }; | 298 }; |
| 301 | 299 |
| 302 } // namespace content | 300 } // namespace content |
| 303 | 301 |
| 304 #endif // CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ | 302 #endif // CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ |
| OLD | NEW |