Chromium Code Reviews

Unified Diff: chrome/common/gpu_messages_internal.h

Issue 3020077: Revert 55405 - Special thanks for in-ming cheng's MFT hardware decodering cod... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « chrome/chrome_renderer.gypi ('k') | chrome/common/gpu_video_common.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/gpu_messages_internal.h
===================================================================
--- chrome/common/gpu_messages_internal.h (revision 55418)
+++ chrome/common/gpu_messages_internal.h (working copy)
@@ -10,7 +10,6 @@
// from it via utility_messages.h.
#include "base/shared_memory.h"
#include "chrome/common/gpu_info.h"
-#include "chrome/common/gpu_video_common.h"
#include "gfx/size.h"
#include "ipc/ipc_channel_handle.h"
#include "ipc/ipc_message_macros.h"
@@ -156,21 +155,6 @@
IPC_MESSAGE_CONTROL1(GpuChannelMsg_DestroyCommandBuffer,
int32 /* instance_id */)
- // Get hardware video service routing id.
- IPC_SYNC_MESSAGE_CONTROL0_1(GpuChannelMsg_GetVideoService,
- GpuVideoServiceInfoParam)
-
- // Create hardware video decoder && associate it with the output |decoder_id|;
- // We need this to be control message because we had to map the GpuChannel and
- // |decoder_id|.
- IPC_SYNC_MESSAGE_CONTROL0_1(GpuChannelMsg_CreateVideoDecoder,
- GpuVideoDecoderInfoParam)
-
- // Release all resource of the hardware video decoder which was assocaited
- // with the input |decoder_id|.
- IPC_SYNC_MESSAGE_CONTROL1_0(GpuChannelMsg_DestroyVideoDecoder,
- int32 /* decoder_id */)
-
IPC_END_MESSAGES(GpuChannel)
//------------------------------------------------------------------------------
@@ -257,67 +241,3 @@
#endif
IPC_END_MESSAGES(GpuCommandBuffer)
-
-//------------------------------------------------------------------------------
-
-// GpuVideoDecoderMsgs : send from renderer process to gpu process.
-IPC_BEGIN_MESSAGES(GpuVideoDecoder)
- // Initialize and configure GpuVideoDecoder asynchronously.
- IPC_MESSAGE_ROUTED1(GpuVideoDecoderMsg_Initialize,
- GpuVideoDecoderInitParam)
-
- // Destroy and release GpuVideoDecoder asynchronously.
- IPC_MESSAGE_ROUTED0(GpuVideoDecoderMsg_Destroy)
-
- // Start decoder flushing operation.
- IPC_MESSAGE_ROUTED0(GpuVideoDecoderMsg_Flush)
-
- // Send input buffer to GpuVideoDecoder.
- IPC_MESSAGE_ROUTED1(GpuVideoDecoderMsg_EmptyThisBuffer,
- GpuVideoDecoderInputBufferParam)
-
- // Require output buffer from GpuVideoDecoder.
- IPC_MESSAGE_ROUTED1(GpuVideoDecoderMsg_FillThisBuffer,
- GpuVideoDecoderOutputBufferParam)
-
- // GpuVideoDecoderHost has consumed the output buffer.
- // NOTE: this may only useful for copy back solution
- // where output transfer buffer had to be guarded.
- IPC_MESSAGE_ROUTED0(GpuVideoDecoderMsg_FillThisBufferDoneACK)
-
-IPC_END_MESSAGES(GpuVideoDecoder)
-
-//------------------------------------------------------------------------------
-
-// GpuVideoDecoderMsgs : send from gpu process to renderer process.
-IPC_BEGIN_MESSAGES(GpuVideoDecoderHost)
- // Confirm GpuVideoDecoder had been initialized or failed to initialize.
- IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_InitializeACK,
- GpuVideoDecoderInitDoneParam)
-
- // Confrim GpuVideoDecoder had been destroyed properly.
- IPC_MESSAGE_ROUTED0(GpuVideoDecoderHostMsg_DestroyACK)
-
- // Confirm decoder had been flushed.
- IPC_MESSAGE_ROUTED0(GpuVideoDecoderHostMsg_FlushACK)
-
- // GpuVideoDecoder has consumed input buffer from transfer buffer.
- IPC_MESSAGE_ROUTED0(GpuVideoDecoderHostMsg_EmptyThisBufferACK)
-
- // GpuVideoDecoder require new input buffer.
- IPC_MESSAGE_ROUTED0(GpuVideoDecoderHostMsg_EmptyThisBufferDone)
-
- // GpuVideoDecoder report output buffer ready.
- IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_FillThisBufferDone,
- GpuVideoDecoderOutputBufferParam)
-
- // GpuVideoDecoder report output format change.
- IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_MediaFormatChange,
- GpuVideoDecoderFormatChangeParam)
-
- // GpuVideoDecoder report error.
- IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_ErrorNotification,
- GpuVideoDecoderErrorInfoParam)
-
-IPC_END_MESSAGES(GpuVideoDecoderHost)
-
« no previous file with comments | « chrome/chrome_renderer.gypi ('k') | chrome/common/gpu_video_common.h » ('j') | no next file with comments »

Powered by Google App Engine