76cb898c7f
The Display provides a method to create the shm pool and a BufferInterface class is added to the server module. It is created from the SurfaceInterface when a buffer gets attached to the surface. The BufferInterface can be referenced and once its unreferenced it sends a buffer release to the client and destroys itself. For the case that the buffer is a shm buffer the BufferInterface provides a convenience method to turn it into a QImage. The auto test for Surface is extended by attaching buffers to the surface and verifying that the content is correct. |
||
---|---|---|
.. | ||
buffer_interface.cpp | ||
buffer_interface.h | ||
compositor_interface.cpp | ||
compositor_interface.h | ||
display.cpp | ||
display.h | ||
output_interface.cpp | ||
output_interface.h | ||
surface_interface.cpp | ||
surface_interface.h |