|
Mir
|
#include <ipc_operations.h>
Public Member Functions | |
| IpcOperations (std::shared_ptr< DRMAuthentication > const &drm) | |
| 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... | |
| PlatformOperationMessage | platform_operation (unsigned int const opcode, PlatformOperationMessage const &message) override |
| Arranges a platform specific operation triggered by an IPC call. More... | |
Public Member Functions inherited from mir::graphics::PlatformIpcOperations | |
| virtual | ~PlatformIpcOperations ()=default |
Additional Inherited Members | |
Protected Member Functions inherited from mir::graphics::PlatformIpcOperations | |
| PlatformIpcOperations ()=default | |
| PlatformIpcOperations (PlatformIpcOperations const &)=delete | |
| PlatformIpcOperations & | operator= (PlatformIpcOperations const &)=delete |
| mir::graphics::mesa::IpcOperations::IpcOperations | ( | std::shared_ptr< DRMAuthentication > 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 a platform specific operation triggered by an IPC call.
| [in] | opcode | the opcode that indicates the action to be performed |
| [in] | request | the message that was sent to the server |
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-2015 Canonical Ltd.
Generated on Wed Mar 30 00:29:56 UTC 2016