summaryrefslogtreecommitdiffstats
path: root/src/wayland.cpp
AgeCommit message (Collapse)AuthorFilesLines
2017-08-08wayland: initalize all controll membersMarcus Fritzsch1-1/+6
* Also; added output_size - for now. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08wayland: add missing controller requestsMarcus Fritzsch1-1/+13
* Added layer_create and surface_create to genivi::controller. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08wayland: task names, delete surfaces using pending_tasksMarcus Fritzsch1-3/+3
* Use the pending task list to delete surfaces * Added task names for debug output, simple pointers to const char for dirty and cheap storage. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08wayland: storing output mode and surface propertiesMarcus Fritzsch1-2/+35
The events for this are received by the controller, the data however is stored in the surface proxe wrappers. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08wayland: remove surfaces that got destroyedMarcus Fritzsch1-0/+4
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08main/wayland: added a simple main loopMarcus Fritzsch1-0/+4
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08wayland: minor fix with this-> and formattingMarcus Fritzsch1-2/+3
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08renamed controller event methods, all have now a controller_ prefixMarcus Fritzsch1-10/+11
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08do not initialize registry when display is unavailableMarcus Fritzsch1-1/+1
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08wayland: refactored genivi object eventsMarcus Fritzsch1-59/+81
Events are now delivered to surface_* and layer_* methods of the controller. The genivi object wrappers still are needed to hold wl_proxy objects, their id and a reference/pointer to the controller. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08wayland: added notification prototype, be more explicit about struct typesMarcus Fritzsch1-54/+58
Notification support can be implemented on genivi objects using the genivi::notify::notifier, it is supposed to be inherited from by the notification-needing types, e.g. genivi::surface. Currently no implementation for notifier is present (only an empty shell) also it is not yet clear, if the notifications will be sent from the genivi objects method's or e.g. their thunks (which would simplify the methods considerably). Added request wrappers for genivi::surface and genivi::layer, just inline them into the class and be done with it. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08fixed display dtor message, added layer request defsMarcus Fritzsch1-9/+14
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08moved callback thunks to impl, makes classes readableMarcus Fritzsch1-209/+240
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08hooked up genivi::surface and layerMarcus Fritzsch1-2/+213
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08cpp, simple wrappers for most of what we need, ivi_* still incompleteMarcus Fritzsch1-0/+242
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>