Mir
|
#include <ipc_operations.h>
Public Member Functions | |
IpcOperations (std::shared_ptr< helpers::DRMHelper > const &) | |
void | pack_buffer (BufferIpcMessage &message, Buffer const &buffer, BufferIpcMsgType msg_type) const override |
Arranges the IPC package for a buffer that is to be sent through the frontend from server to client. More... | |
void | unpack_buffer (BufferIpcMessage &message, Buffer const &buffer) const override |
Arranges the IPC package for a buffer that was sent over IPC client to server. More... | |
std::shared_ptr < PlatformIPCPackage > | connection_ipc_package () override |
Gets the connection package for the platform. More... | |
![]() | |
virtual | ~PlatformIpcOperations ()=default |
Additional Inherited Members | |
![]() | |
PlatformIpcOperations ()=default | |
PlatformIpcOperations (PlatformIpcOperations const &)=delete | |
PlatformIpcOperations & | operator= (PlatformIpcOperations const &)=delete |
mir::graphics::mesa::IpcOperations::IpcOperations | ( | std::shared_ptr< helpers::DRMHelper > const & | drm | ) |
|
overridevirtual |
Gets the connection package for the platform.
The IPC package will be sent to clients when they connect.
Implements mir::graphics::PlatformIpcOperations.
|
overridevirtual |
Arranges the IPC package for a buffer that is to be sent through the frontend from server to client.
This should be called every time a buffer is to be sent cross-process.
Pack the platform specific contents of Buffer into BufferIpcMessage for sending to the client
[in] | message | the message that will be sent |
[in] | buffer | the buffer to be put in the message |
[in] | ipc_type | what sort of ipc message is needed |
Implements mir::graphics::PlatformIpcOperations.
|
overridevirtual |
Arranges the IPC package for a buffer that was sent over IPC client to server.
This must be called every time a buffer is received, as some platform specific processing has to be done on the incoming buffer.
[in] | message | the message that was sent to the server |
[in] | buffer | the buffer associated with the message |
Implements mir::graphics::PlatformIpcOperations.
Copyright © 2012,2013 Canonical Ltd.
Generated on Fri Oct 10 14:07:14 UTC 2014