Copy as Markdown

Other Tools

//
// Automatically generated by ipdlc.
// Edit at your own risk
//
#ifndef PWebGPU_h
#define PWebGPU_h
#include "mozilla/Attributes.h"
#include "IPCMessageStart.h"
#include "mozilla/RefPtr.h"
#include "nsString.h"
#include "nsTArray.h"
#include "nsTHashtable.h"
#include "mozilla/MozPromise.h"
#include "mozilla/OperatorNewExtensions.h"
#include "mozilla/UniquePtr.h"
#include "mozilla/ipc/ByteBuf.h"
#include "mozilla/ipc/FileDescriptor.h"
#include "mozilla/ipc/IPCForwards.h"
#include "mozilla/ipc/Shmem.h"
#include "mozilla/webgpu/PWebGPUTypes.h"
namespace mozilla {
namespace webgpu {
class PWebGPUParent;
} // namespace webgpu
} // namespace mozilla
namespace mozilla {
namespace webgpu {
class PWebGPUChild;
} // namespace webgpu
} // namespace mozilla
//-----------------------------------------------------------------------------
// Code common to PWebGPUChild and PWebGPUParent
//
namespace mozilla {
namespace webgpu {
namespace PWebGPU {
nsresult
CreateEndpoints(
base::ProcessId aParentDestPid,
base::ProcessId aChildDestPid,
mozilla::ipc::Endpoint<::mozilla::webgpu::PWebGPUParent>* aParent,
mozilla::ipc::Endpoint<::mozilla::webgpu::PWebGPUChild>* aChild);
enum MessageType {
PWebGPUStart = PWebGPUMsgStart << 16,
Msg_DeviceAction__ID,
Msg_DeviceActionWithAck__ID,
Reply_DeviceActionWithAck__ID,
Msg_TextureAction__ID,
Msg_CommandEncoderAction__ID,
Msg_RenderPass__ID,
Msg_ComputePass__ID,
Msg_BumpImplicitBindGroupLayout__ID,
Msg_DeviceCreateBuffer__ID,
Msg_InstanceRequestAdapter__ID,
Reply_InstanceRequestAdapter__ID,
Msg_AdapterRequestDevice__ID,
Reply_AdapterRequestDevice__ID,
Msg_AdapterDrop__ID,
Msg_DeviceCreateShaderModule__ID,
Reply_DeviceCreateShaderModule__ID,
Msg_BufferMap__ID,
Reply_BufferMap__ID,
Msg_BufferUnmap__ID,
Msg_BufferDestroy__ID,
Msg_BufferDrop__ID,
Msg_TextureDestroy__ID,
Msg_TextureDrop__ID,
Msg_TextureViewDrop__ID,
Msg_SamplerDrop__ID,
Msg_DeviceDestroy__ID,
Msg_DeviceDrop__ID,
Msg_CommandEncoderFinish__ID,
Msg_CommandEncoderDrop__ID,
Msg_RenderBundleDrop__ID,
Msg_QueueSubmit__ID,
Msg_QueueOnSubmittedWorkDone__ID,
Reply_QueueOnSubmittedWorkDone__ID,
Msg_QueueWriteAction__ID,
Msg_BindGroupLayoutDrop__ID,
Msg_PipelineLayoutDrop__ID,
Msg_BindGroupDrop__ID,
Msg_ShaderModuleDrop__ID,
Msg_ComputePipelineDrop__ID,
Msg_RenderPipelineDrop__ID,
Msg_ImplicitLayoutDrop__ID,
Msg_DeviceCreateSwapChain__ID,
Msg_SwapChainPresent__ID,
Msg_SwapChainDrop__ID,
Msg_DevicePushErrorScope__ID,
Msg_DevicePopErrorScope__ID,
Reply_DevicePopErrorScope__ID,
Msg_GenerateError__ID,
Msg_UncapturedError__ID,
Msg_DropAction__ID,
Msg_DeviceLost__ID,
Msg___delete____ID,
Reply___delete____ID,
PWebGPUEnd
};
mozilla::UniquePtr<IPC::Message>
Msg_DeviceAction(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_DeviceActionWithAck(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_DeviceActionWithAck(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_TextureAction(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_CommandEncoderAction(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_RenderPass(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_ComputePass(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_BumpImplicitBindGroupLayout(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_DeviceCreateBuffer(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_InstanceRequestAdapter(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_InstanceRequestAdapter(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_AdapterRequestDevice(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_AdapterRequestDevice(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_AdapterDrop(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_DeviceCreateShaderModule(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_DeviceCreateShaderModule(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_BufferMap(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_BufferMap(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_BufferUnmap(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_BufferDestroy(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_BufferDrop(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_TextureDestroy(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_TextureDrop(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_TextureViewDrop(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_SamplerDrop(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_DeviceDestroy(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_DeviceDrop(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_CommandEncoderFinish(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_CommandEncoderDrop(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_RenderBundleDrop(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_QueueSubmit(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_QueueOnSubmittedWorkDone(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_QueueOnSubmittedWorkDone(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_QueueWriteAction(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_BindGroupLayoutDrop(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_PipelineLayoutDrop(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_BindGroupDrop(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_ShaderModuleDrop(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_ComputePipelineDrop(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_RenderPipelineDrop(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_ImplicitLayoutDrop(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_DeviceCreateSwapChain(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_SwapChainPresent(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_SwapChainDrop(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_DevicePushErrorScope(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_DevicePopErrorScope(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_DevicePopErrorScope(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_GenerateError(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_UncapturedError(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_DropAction(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_DeviceLost(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg___delete__(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply___delete__(int32_t routingId);
} // namespace PWebGPU
} // namespace webgpu
} // namespace mozilla
#endif // ifndef PWebGPU_h