Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-08-08 | app: surfaces on layer != 1000 leave a 100pixel top and bottom margin | Marcus Fritzsch | 1 | -3/+14 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | app: add debug_terminate() event, quick hack to terminate | Marcus Fritzsch | 2 | -0/+9 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: clang-format | Marcus Fritzsch | 2 | -2/+3 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | util: clang-format | Marcus Fritzsch | 1 | -2/+1 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | layers: clang-format | Marcus Fritzsch | 2 | -15/+15 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | json_helper: clang-format | Marcus Fritzsch | 2 | -3/+5 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | controller_hooks: clang-format | Marcus Fritzsch | 1 | -1/+1 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | app: clang-format | Marcus Fritzsch | 2 | -7/+16 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | result: return nullopt if error is actuall nullptr | Marcus Fritzsch | 1 | -5/+5 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | layers: provide a layers-only vector | Marcus Fritzsch | 3 | -6/+14 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | app: logdebug() layer setup | Marcus Fritzsch | 1 | -1/+1 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | app: scene setup according to ids.json | Marcus Fritzsch | 2 | -35/+40 | |
* Setup layers as specified in ids.json. * Map surfaces to their layers. * Complain about unknown surfaces (i.e. those w/o a mapping). Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | app: preallocate layouts storage | Marcus Fritzsch | 1 | -0/+1 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | app/wayland: move surface setup as is to app controller hook | Marcus Fritzsch | 2 | -9/+12 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | app: wire up controller_hooks | Marcus Fritzsch | 3 | -3/+47 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | add controller_hooks, a proxy for calls from the controller to the application | Marcus Fritzsch | 2 | -1/+25 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | app/layers: move embedded test run to layers | Marcus Fritzsch | 2 | -23/+30 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | remove some of th more verbose debug messages | Marcus Fritzsch | 2 | -2/+2 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | result: remove broken map() | Marcus Fritzsch | 1 | -12/+0 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | layers: move get_layer_for_surface() to .cpp | Marcus Fritzsch | 2 | -21/+29 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | clang-tidy once more | Marcus Fritzsch | 3 | -10/+3 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | layers: introduce layers.hpp and .cpp for layer related code | Marcus Fritzsch | 6 | -86/+109 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | ids.json: add comment about tests expecting a failure | Marcus Fritzsch | 1 | -1/+1 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | layout: check id_min against lower_bound() result | Marcus Fritzsch | 1 | -1/+3 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | app: resturn Err() on failed IDs test | Marcus Fritzsch | 1 | -4/+3 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | app: try to parse ids.json, run embedded tests (debug output only) | Marcus Fritzsch | 1 | -14/+48 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | layout: add surface id to layer mapping | Marcus Fritzsch | 2 | -2/+78 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | result: add some more functionality | Marcus Fritzsch | 1 | -0/+26 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | util: move DB() debug macro from app | Marcus Fritzsch | 2 | -11/+12 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | json_helper: move get here (from app) | Marcus Fritzsch | 2 | -10/+12 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | add ids.json and layout.json | Marcus Fritzsch | 2 | -0/+84 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | app: propagate errors from layout parsing, more thorough checking | Marcus Fritzsch | 1 | -15/+30 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | result: implicit unwrap on conversion to result T | Marcus Fritzsch | 1 | -1/+10 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | app: add very c++-y layout parsing | Marcus Fritzsch | 4 | -4/+127 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: add display::add_global_handler which forwards to registry | Marcus Fritzsch | 2 | -9/+14 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | cmake: fix source list layout | Marcus Fritzsch | 1 | -1/+9 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | cmake: require afb-daemon w/o version specifier | Marcus Fritzsch | 1 | -1/+1 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | cmake: add opton to link against LLVM's libc++ | Marcus Fritzsch | 2 | -0/+8 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | json_helper: use json-c object creation | Marcus Fritzsch | 1 | -21/+46 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | app: reset g_app on ~App() | Marcus Fritzsch | 2 | -0/+8 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | clang-format, mostly indenting. | Marcus Fritzsch | 6 | -203/+204 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | clang-tidy the place up | Marcus Fritzsch | 2 | -14/+13 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | glue: renamed output files to better represent their actual purpose | Marcus Fritzsch | 4 | -8/+8 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: move most of main to app, separate ownership | Marcus Fritzsch | 4 | -109/+136 | |
* Move everything apart from the display connection itself to App. * Everything depending on the display however is owned by App. * Dispatch events for the application in App::dispatch_events() That is, display_dispatch and local stuff e.g. execute_pending(). Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | Generating binding API glue code using generate-binding.py | Marcus Fritzsch | 6 | -136/+204 | |
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> |