Chromium Code Reviews| Index: content/common/gpu/gpu_messages.h |
| diff --git a/content/common/gpu/gpu_messages.h b/content/common/gpu/gpu_messages.h |
| index 2f30dacd41ced89f019bcc70118e666041990247..bcc08c0b92761920652ace8db3c17a9c15b514fc 100644 |
| --- a/content/common/gpu/gpu_messages.h |
| +++ b/content/common/gpu/gpu_messages.h |
| @@ -21,6 +21,7 @@ |
| #include "gpu/command_buffer/common/constants.h" |
| #include "gpu/command_buffer/common/gpu_memory_allocation.h" |
| #include "gpu/command_buffer/common/mailbox.h" |
| +#include "gpu/command_buffer/common/mailbox_holder.h" |
| #include "gpu/command_buffer/common/value_state.h" |
| #include "gpu/config/gpu_info.h" |
| #include "gpu/ipc/gpu_command_buffer_traits.h" |
| @@ -706,13 +707,20 @@ IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, |
| // Queue a input buffer to the encoder to encode. |frame_id| will be returned by |
|
mcasas
2015/06/04 15:20:55
s/Queue a input buffer/Queue a shared memory/?
emircan
2015/06/04 22:04:40
Done.
|
| // AcceleratedVideoEncoderHostMsg_NotifyInputDone. |
| -IPC_MESSAGE_ROUTED5(AcceleratedVideoEncoderMsg_Encode, |
| +IPC_MESSAGE_ROUTED5(AcceleratedVideoEncoderMsg_EncodeSharedMemory, |
| int32 /* frame_id */, |
| base::SharedMemoryHandle /* buffer_handle */, |
| uint32 /* buffer_offset */, |
| uint32 /* buffer_size */, |
| bool /* force_keyframe */) |
| +// Queue a native texture to the encoder to encode. |frame_id| will be returned |
| +// by AcceleratedVideoEncoderHostMsg_NotifyInputDone. |
| +IPC_MESSAGE_ROUTED3(AcceleratedVideoEncoderMsg_EncodeNativeTexture, |
| + int32 /* frame_id */, |
| + gpu::MailboxHolder /* mailbox_holder */, |
| + bool /* force_keyframe */) |
| + |
| // Queue a buffer to the encoder for use in returning output. |buffer_id| will |
| // be returned by AcceleratedVideoEncoderHostMsg_BitstreamBufferReady. |
| IPC_MESSAGE_ROUTED3(AcceleratedVideoEncoderMsg_UseOutputBitstreamBuffer, |