#include <platform_ipc_operations.h>
virtual mir::graphics::PlatformIpcOperations::~PlatformIpcOperations |
( |
| ) |
|
|
virtualdefault |
mir::graphics::PlatformIpcOperations::PlatformIpcOperations |
( |
| ) |
|
|
protecteddefault |
virtual std::shared_ptr<PlatformIPCPackage> mir::graphics::PlatformIpcOperations::connection_ipc_package |
( |
| ) |
|
|
pure virtual |
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
- Parameters
-
[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 |
Implemented in mir::graphics::mesa::IpcOperations.
virtual void mir::graphics::PlatformIpcOperations::unpack_buffer |
( |
BufferIpcMessage & |
message, |
|
|
Buffer const & |
buffer |
|
) |
| const |
|
pure virtual |
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.
- Parameters
-
[in] | message | the message that was sent to the server |
[in] | buffer | the buffer associated with the message |
Implemented in mir::graphics::mesa::IpcOperations.
The documentation for this class was generated from the following file:
Copyright © 2012-2015 Canonical Ltd.
Generated on Thu Sep 8 14:50:19 UTC 2016