Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-08-08 | Generating binding API glue code using generate-binding.py | Marcus Fritzsch | 5 | -136/+93 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main/app: started to move things to app | Marcus Fritzsch | 4 | -1/+90 | |
Started implementing App, as the actual implementation, that is, to pull out all the stuff that is actually the application and only have glue code reside in main. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: appid and surfaceid in register_surface are unsigned | Marcus Fritzsch | 1 | -4/+4 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: rename g_wayland to g_afb_instance | Marcus Fritzsch | 1 | -36/+38 | |
It holds the data necessary for the AFB to work, hence call it g_afb_instance to make this clear. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: sprops and lprops should be before the *_map_types | Marcus Fritzsch | 1 | -3/+3 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | Track surface/layer properties with one struct | Marcus Fritzsch | 5 | -109/+64 | |
As both share the exact same properties this makes sense, we now can write code once and work on both layer and surface properties. This however is only relevant in the wayland "level" of things, as in WM semantics layers are always fullscreen. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: imeplemented dummy register_surface with reply | Marcus Fritzsch | 1 | -1/+38 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: remove CHECK_WAYLAND, inline logic into WRAP | Marcus Fritzsch | 2 | -10/+6 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | util: do not define needed afb version | Marcus Fritzsch | 1 | -1/+0 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: use our own log functions | Marcus Fritzsch | 1 | -9/+8 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | cmake: define afb-daemon configuration items on target basis | Marcus Fritzsch | 1 | -0/+3 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: wrap afb verb handlers, "namepace" debug verbs | Marcus Fritzsch | 1 | -12/+16 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | util: logging to the afb daemon | Marcus Fritzsch | 3 | -66/+15 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | Move all nlohmann::json to json_helper.cpp | Marcus Fritzsch | 5 | -61/+114 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: further simplification | Marcus Fritzsch | 1 | -10/+21 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: reorganize and simplify | Marcus Fritzsch | 1 | -67/+82 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: add wl::display::get_error() | Marcus Fritzsch | 2 | -0/+3 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | Check for g_wayland in every API call. | Marcus Fritzsch | 1 | -5/+14 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: add layers and surfaces API calls | Marcus Fritzsch | 1 | -1/+28 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | Implement window manager as an AGL App-FW binding | Marcus Fritzsch | 2 | -87/+191 | |
* Compile to shared object module, to be loaded by afb-daemon. * Take most of main, rewrite to adhere to the AFB API. * Implement dummy API call winman/status. * Use export.map to specify symbol visibility. * Poller and unique_fd are currently useless/unused. * Logging is still only to stdout/stderr. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | util: noexcept logging and also noreturn for fatal() | Marcus Fritzsch | 3 | -10/+13 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: read only one signal and only return -1 if it succeeded | Marcus Fritzsch | 1 | -2/+3 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | clang-tidy the place up | Marcus Fritzsch | 2 | -5/+6 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | all: clang-format | Marcus Fritzsch | 4 | -37/+36 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | moved Poller and unique_fd from main to util, fixed c++ issues in util | Marcus Fritzsch | 3 | -72/+77 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | util.h and its impl are now c++ | Marcus Fritzsch | 5 | -5/+5 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: read only once from stdin for status log | Marcus Fritzsch | 1 | -3/+1 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | cmake: enable _GLIBCXX_DEBUG when building Debug | Marcus Fritzsch | 1 | -0/+6 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: handling signals, added simple unique_fd RAII helper | Marcus Fritzsch | 1 | -2/+44 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: read() returns ssize_t not int | Marcus Fritzsch | 1 | -1/+2 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: cleanup Poller implementation | Marcus Fritzsch | 1 | -7/+1 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: better check_events implementation | Marcus Fritzsch | 3 | -53/+74 | |
* Introduced helper struct Poller * Implements check_events() and calls custom handlers on POLLIN. * Moved status dump to genivi::controller. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: add wl_output proxy-to-id mapping in wl_output global handler | Marcus Fritzsch | 1 | -4/+10 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: rename connection, streamline init_layout and error handling | Marcus Fritzsch | 1 | -14/+16 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: do not special-case ~display for DEBUG_OUTPUT | Marcus Fritzsch | 1 | -11/+2 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: genivi object events are called with their respective object | Marcus Fritzsch | 2 | -74/+77 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: be explicit about our struct layer/surface designation | Marcus Fritzsch | 1 | -2/+2 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: wayland_proxy ctor improvement | Marcus Fritzsch | 1 | -4/+3 | |
* Take the std::function by rval reference. * Do not create a lambda for the wl_proxy_destroy deleter. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: header order fixed, comment on controller member order | Marcus Fritzsch | 1 | -1/+8 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: delete copy ctors and operators | Marcus Fritzsch | 1 | -0/+16 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | cmake: do not generate the ivi_application protocol | Marcus Fritzsch | 1 | -2/+0 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: unique_ptr'd wayland_proxy | Marcus Fritzsch | 2 | -110/+117 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: removed unnecessary destructors | Marcus Fritzsch | 2 | -11/+0 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: simpler layout for controller::proxy_to_id maps | Marcus Fritzsch | 2 | -4/+6 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: moved screen inline methods to .cpp | Marcus Fritzsch | 2 | -13/+18 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: do not include cstdlib, it's unused | Marcus Fritzsch | 1 | -2/+0 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: moved inline methods to .cpp | Marcus Fritzsch | 2 | -134/+166 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: less cast-y, minor style fixes | Marcus Fritzsch | 1 | -41/+39 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | cmake: merged target properties on winman, added IPO/LTO | Marcus Fritzsch | 1 | -3/+3 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | clang-tidy the place up | Marcus Fritzsch | 3 | -80/+91 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> |