Copy as Markdown
Other Tools
//
// Automatically generated by ipdlc.
// Edit at your own risk
//
#include "mozilla/layers/LayersMessageUtils.h"
#include "mozilla/gfx/PCanvasManagerParent.h"
#include "mozilla/gfx/PCanvasManagerChild.h"
#include "mozilla/dom/PWebGL.h"
#include "mozilla/dom/PWebGLParent.h"
#include "mozilla/dom/PWebGLChild.h"
#include "ipc/IPCMessageUtils.h"
#include "ipc/IPCMessageUtilsSpecializations.h"
#include "nsIFile.h"
#include "mozilla/ipc/Endpoint.h"
#include "mozilla/ipc/ProtocolMessageUtils.h"
#include "mozilla/ipc/ProtocolUtils.h"
#include "mozilla/ipc/ShmemMessageUtils.h"
#include "mozilla/ipc/TaintingIPCUtils.h"
namespace mozilla {
namespace dom {
namespace PWebGL {
nsresult
CreateEndpoints(
mozilla::ipc::EndpointProcInfo aParentDestInfo,
mozilla::ipc::EndpointProcInfo aChildDestInfo,
mozilla::ipc::Endpoint<::mozilla::dom::PWebGLParent>* aParent,
mozilla::ipc::Endpoint<::mozilla::dom::PWebGLChild>* aChild)
{
return mozilla::ipc::CreateEndpoints(
mozilla::ipc::PrivateIPDLInterface(),
aParentDestInfo, aChildDestInfo, aParent, aChild);
}
mozilla::UniquePtr<IPC::Message>
Msg_Initialize(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_Initialize__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_Initialize(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_Initialize__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg___delete__(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg___delete____ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply___delete__(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply___delete____ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_WaitForTxn(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_WaitForTxn__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_DispatchCommands(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_DispatchCommands__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_Ping(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_Ping__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_Ping(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_Ping__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_SyncPing(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_SyncPing__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_SyncPing(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_SyncPing__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_TexImage(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_TexImage__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_GetBufferSubData(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_GetBufferSubData__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_GetBufferSubData(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_GetBufferSubData__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_GetFrontBufferSnapshot(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_GetFrontBufferSnapshot__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_GetFrontBufferSnapshot(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_GetFrontBufferSnapshot__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_ReadPixels(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_ReadPixels__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_ReadPixels(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_ReadPixels__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_CheckFramebufferStatus(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_CheckFramebufferStatus__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_CheckFramebufferStatus(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_CheckFramebufferStatus__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_ClientWaitSync(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_ClientWaitSync__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_ClientWaitSync(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_ClientWaitSync__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_CreateOpaqueFramebuffer(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_CreateOpaqueFramebuffer__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_CreateOpaqueFramebuffer(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_CreateOpaqueFramebuffer__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_DrawingBufferSize(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_DrawingBufferSize__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_DrawingBufferSize(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_DrawingBufferSize__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_Finish(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_Finish__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_Finish(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_Finish__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_GetBufferParameter(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_GetBufferParameter__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_GetBufferParameter(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_GetBufferParameter__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_GetCompileResult(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_GetCompileResult__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_GetCompileResult(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_GetCompileResult__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_GetError(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_GetError__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_GetError(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_GetError__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_GetFragDataLocation(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_GetFragDataLocation__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_GetFragDataLocation(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_GetFragDataLocation__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_GetFramebufferAttachmentParameter(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_GetFramebufferAttachmentParameter__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_GetFramebufferAttachmentParameter(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_GetFramebufferAttachmentParameter__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_GetFrontBuffer(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_GetFrontBuffer__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_GetFrontBuffer(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_GetFrontBuffer__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_GetIndexedParameter(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_GetIndexedParameter__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_GetIndexedParameter(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_GetIndexedParameter__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_GetInternalformatParameter(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_GetInternalformatParameter__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_GetInternalformatParameter(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_GetInternalformatParameter__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_GetLinkResult(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_GetLinkResult__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_GetLinkResult(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_GetLinkResult__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_GetNumber(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_GetNumber__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_GetNumber(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_GetNumber__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_GetQueryParameter(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_GetQueryParameter__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_GetQueryParameter(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_GetQueryParameter__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_GetRenderbufferParameter(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_GetRenderbufferParameter__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_GetRenderbufferParameter(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_GetRenderbufferParameter__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_GetSamplerParameter(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_GetSamplerParameter__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_GetSamplerParameter(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_GetSamplerParameter__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_GetShaderPrecisionFormat(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_GetShaderPrecisionFormat__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_GetShaderPrecisionFormat(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_GetShaderPrecisionFormat__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_GetString(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_GetString__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_GetString(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_GetString__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_GetTexParameter(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_GetTexParameter__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_GetTexParameter(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_GetTexParameter__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_GetUniform(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_GetUniform__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_GetUniform(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_GetUniform__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_GetVertexAttrib(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_GetVertexAttrib__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_GetVertexAttrib(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_GetVertexAttrib__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_OnMemoryPressure(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_OnMemoryPressure__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_OnMemoryPressure(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_OnMemoryPressure__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_ValidateProgram(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_ValidateProgram__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_ValidateProgram(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_ValidateProgram__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_JsWarning(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_JsWarning__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_OnContextLoss(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_OnContextLoss__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_OnSyncComplete(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_OnSyncComplete__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
} // namespace PWebGL
} // namespace dom
} // namespace mozilla
//-----------------------------------------------------------------------------
// Method definitions for the IPDL type |union ReadPixelsBuffer|
//
namespace mozilla {
namespace dom {
auto ReadPixelsBuffer::MaybeDestroy() -> void
{
if ((mType) == (T__None)) {
return;
}
switch (mType) {
case Tuint64_t:
{
(ptr_uint64_t())->~uint64_t__tdef();
break;
}
case TShmem:
{
(ptr_Shmem())->~Shmem__tdef();
break;
}
default:
{
mozilla::ipc::LogicError("not reached");
break;
}
}
}
MOZ_IMPLICIT ReadPixelsBuffer::ReadPixelsBuffer(const uint64_t& aOther)
{
new (mozilla::KnownNotNull, ptr_uint64_t()) uint64_t(aOther);
mType = Tuint64_t;
}
MOZ_IMPLICIT ReadPixelsBuffer::ReadPixelsBuffer(uint64_t&& aOther)
{
new (mozilla::KnownNotNull, ptr_uint64_t()) uint64_t(std::move(aOther));
mType = Tuint64_t;
}
MOZ_IMPLICIT ReadPixelsBuffer::ReadPixelsBuffer(Shmem& aOther)
{
new (mozilla::KnownNotNull, ptr_Shmem()) Shmem(aOther);
mType = TShmem;
}
MOZ_IMPLICIT ReadPixelsBuffer::ReadPixelsBuffer(Shmem&& aOther)
{
new (mozilla::KnownNotNull, ptr_Shmem()) Shmem(std::move(aOther));
mType = TShmem;
}
MOZ_IMPLICIT ReadPixelsBuffer::ReadPixelsBuffer(const ReadPixelsBuffer& aOther)
{
(aOther).AssertSanity();
switch ((aOther).type()) {
case Tuint64_t:
{
new (mozilla::KnownNotNull, ptr_uint64_t()) uint64_t((aOther).get_uint64_t());
break;
}
case TShmem:
{
new (mozilla::KnownNotNull, ptr_Shmem()) Shmem((aOther).get_Shmem());
break;
}
case T__None:
{
break;
}
default:
{
mozilla::ipc::LogicError("unreached");
return;
}
}
mType = (aOther).type();
}
MOZ_IMPLICIT ReadPixelsBuffer::ReadPixelsBuffer(ReadPixelsBuffer&& aOther)
{
(aOther).AssertSanity();
Type t = (aOther).type();
switch (t) {
case Tuint64_t:
{
new (mozilla::KnownNotNull, ptr_uint64_t()) uint64_t(std::move((aOther).get_uint64_t()));
(aOther).MaybeDestroy();
break;
}
case TShmem:
{
new (mozilla::KnownNotNull, ptr_Shmem()) Shmem(std::move((aOther).get_Shmem()));
(aOther).MaybeDestroy();
break;
}
case T__None:
{
break;
}
default:
{
mozilla::ipc::LogicError("unreached");
return;
}
}
(aOther).mType = T__None;
mType = t;
}
ReadPixelsBuffer::~ReadPixelsBuffer()
{
MaybeDestroy();
}
auto ReadPixelsBuffer::operator=(const uint64_t& aRhs) -> ReadPixelsBuffer&
{
MaybeDestroy();
new (mozilla::KnownNotNull, ptr_uint64_t()) uint64_t(aRhs);
mType = Tuint64_t;
return (*(this));
}
auto ReadPixelsBuffer::operator=(uint64_t&& aRhs) -> ReadPixelsBuffer&
{
MaybeDestroy();
new (mozilla::KnownNotNull, ptr_uint64_t()) uint64_t(std::move(aRhs));
mType = Tuint64_t;
return (*(this));
}
auto ReadPixelsBuffer::operator=(Shmem& aRhs) -> ReadPixelsBuffer&
{
MaybeDestroy();
new (mozilla::KnownNotNull, ptr_Shmem()) Shmem(aRhs);
mType = TShmem;
return (*(this));
}
auto ReadPixelsBuffer::operator=(Shmem&& aRhs) -> ReadPixelsBuffer&
{
MaybeDestroy();
new (mozilla::KnownNotNull, ptr_Shmem()) Shmem(std::move(aRhs));
mType = TShmem;
return (*(this));
}
auto ReadPixelsBuffer::operator=(const ReadPixelsBuffer& aRhs) -> ReadPixelsBuffer&
{
(aRhs).AssertSanity();
Type t = (aRhs).type();
switch (t) {
case Tuint64_t:
{
MaybeDestroy();
new (mozilla::KnownNotNull, ptr_uint64_t()) uint64_t((aRhs).get_uint64_t());
break;
}
case TShmem:
{
MaybeDestroy();
new (mozilla::KnownNotNull, ptr_Shmem()) Shmem((aRhs).get_Shmem());
break;
}
case T__None:
{
MaybeDestroy();
break;
}
default:
{
mozilla::ipc::LogicError("unreached");
break;
}
}
mType = t;
return (*(this));
}
auto ReadPixelsBuffer::operator=(ReadPixelsBuffer&& aRhs) -> ReadPixelsBuffer&
{
(aRhs).AssertSanity();
Type t = (aRhs).type();
switch (t) {
case Tuint64_t:
{
MaybeDestroy();
new (mozilla::KnownNotNull, ptr_uint64_t()) uint64_t(std::move((aRhs).get_uint64_t()));
(aRhs).MaybeDestroy();
break;
}
case TShmem:
{
MaybeDestroy();
new (mozilla::KnownNotNull, ptr_Shmem()) Shmem(std::move((aRhs).get_Shmem()));
(aRhs).MaybeDestroy();
break;
}
case T__None:
{
MaybeDestroy();
break;
}
default:
{
mozilla::ipc::LogicError("unreached");
break;
}
}
(aRhs).mType = T__None;
mType = t;
return (*(this));
}
} // namespace dom
} // namespace mozilla
namespace IPC {
auto ParamTraits<::mozilla::dom::ReadPixelsBuffer>::Write(
IPC::MessageWriter* aWriter,
const paramType& aVar) -> void
{
typedef ::mozilla::dom::ReadPixelsBuffer union__;
int type = (aVar).type();
IPC::WriteParam(aWriter, type);
// Sentinel = 'ReadPixelsBuffer'
(aWriter)->WriteSentinel(878511692);
switch (type) {
case union__::Tuint64_t:
{
IPC::WriteParam(aWriter, (aVar).get_uint64_t());
// Sentinel = 'Tuint64_t'
(aWriter)->WriteSentinel(285344594);
return;
}
case union__::TShmem:
{
IPC::WriteParam(aWriter, std::move((aVar).get_Shmem()));
// Sentinel = 'TShmem'
(aWriter)->WriteSentinel(129696335);
return;
}
default:
{
aWriter->FatalError("unknown variant of union ReadPixelsBuffer");
return;
}
}
}
auto ParamTraits<::mozilla::dom::ReadPixelsBuffer>::Read(IPC::MessageReader* aReader) -> IPC::ReadResult<paramType>
{
typedef ::mozilla::dom::ReadPixelsBuffer union__;
auto maybe__type = IPC::ReadParam<int>(aReader);
if (!maybe__type) {
aReader->FatalError("Error deserializing type of union ReadPixelsBuffer");
return {};
}
auto& type = *maybe__type;
// Sentinel = 'ReadPixelsBuffer'
if ((!((aReader)->ReadSentinel(878511692)))) {
mozilla::ipc::SentinelReadError("Error deserializing type of union ReadPixelsBuffer");
return {};
}
switch (type) {
case union__::Tuint64_t:
{
auto maybe__tmp = IPC::ReadParam<::uint64_t>(aReader);
if (!maybe__tmp) {
aReader->FatalError("Error deserializing variant Tuint64_t of union ReadPixelsBuffer");
return {};
}
auto& tmp = *maybe__tmp;
// Sentinel = 'Tuint64_t'
if ((!((aReader)->ReadSentinel(285344594)))) {
mozilla::ipc::SentinelReadError("Error deserializing variant Tuint64_t of union ReadPixelsBuffer");
return {};
}
return std::move(tmp);
}
case union__::TShmem:
{
auto maybe__tmp = IPC::ReadParam<::mozilla::ipc::Shmem>(aReader);
if (!maybe__tmp) {
aReader->FatalError("Error deserializing variant TShmem of union ReadPixelsBuffer");
return {};
}
auto& tmp = *maybe__tmp;
// Sentinel = 'TShmem'
if ((!((aReader)->ReadSentinel(129696335)))) {
mozilla::ipc::SentinelReadError("Error deserializing variant TShmem of union ReadPixelsBuffer");
return {};
}
return std::move(tmp);
}
default:
{
aReader->FatalError("unknown variant of union ReadPixelsBuffer");
return {};
}
}
}
} // namespace IPC