summaryrefslogtreecommitdiff
path: root/src/composite.c
AgeCommit message (Collapse)Author
2024-07-28*: switch to gplv2Vito Caputo
Part of the reason for adding headless support in vmon is to facilitate embedded use cases. These are often incompatible with anti-tivoization aspects of gplv3. I am the copyright holder of all this stuff so it's entirely fine to switch to gplv2. Phil Freeman contributed one trivial patch (4183fbd), regardless I checked if he had any objections to the gplv2 switch and he had none. So here we go, gplv2 all the things.
2018-10-23*: update copyright lines to include 2018Vito Caputo
2017-03-27*: update email address: s/gnugeneration/pengaru/Vito Caputo
2017-03-25overlays: rename overlays.[ch]->charts.[ch]Vito Caputo
2017-03-25overlays: rename overlays->chartsVito Caputo
vmon introduces a non-overlay usage, monitors is correct but ambiguous, graphs is also amiguous, charts is short and distinctive. renaming of the files comes in a separate, future commit.
2017-03-25*: more minor style fixupsVito Caputo
2017-03-25composite: fix root_buffer leak on invalidate rootVito Caputo
This doesn't happen frequently and has gone utterly unnoticed as harmless, but it's something I noticed in reviewing the code for more lingering style issues.
2017-03-21*: update copyrights for 2017Vito Caputo
2017-03-15overlays: paramize vwm_overlay_render() Render opVito Caputo
In vwm we were always doing a transparent overlay to preserve underlying window visibility. With vmon this is undesirable and we just want to copy the currently cached composited contents to the window, which is also substantially less costly to perform. Parameterize the operation so vwm and vmon can specify what's appropriate.
2017-03-14*: trivial code formatting cleanupsVito Caputo
I'm no longer fond of combining one-line conditional statements on the same line as their conditional expression.
2017-03-14overlays: extricate overlays from vwm internalsVito Caputo
- Move vmon_proc_t under vwm_overlay_t. - Privatize vwm_overlay_t. - Update xwindow.c to dynamically create and destroy overlays. - Cease supplying vwm_t to vwm_overlays_create(), now just pass in the bare vwm_xserver_t. - Update all vwm_overlay_* functions to operate on vwm_overlays_t and vwm_overlay_t. Only vwm_overlays_create() receives the xserver, which it then embeds within the returned vwm_overlay_t. - Eliminate _xwin_ flavors of overlay functions, largely mechanical rename eliminating the _xwin_ from the names during the previous pass of switching from vwm_t & vwm_xwindow_t to vwm_overlays_t & vwm_overlay_t parameters. - Change vwm_overlay_compose() to store damage in supplied pointer, the caller is expected to make use of the damage information now because the overlay code doesn't know about the window its coordinate space.
2017-03-14overlay: rename overlay.[ch] -> overlays.[ch]Vito Caputo
In preparation for vwm_overlays_* encapsulation of overlay global state and general cleanup therein.
2017-03-14vwm: utilize vwm_xserver_t, minor refactorVito Caputo
2017-02-22composite: fix occluded region leakVito Caputo
When vwm_composite_paint_all() short-circuited, occluded wasn't destroyed. Defer the occluded region create to its time of need, which is after the short-circuit, and followed immediately by its destruction.
2016-09-09*: refactor all the thingsVito Caputo
Long overdue house cleaning. The addition of compositing/monitoring overlays in vwm3 pushed vwm well past what is a reasonable size for a simple thousand line file. This is a first step towards restoring sanity in the code, but no behavioral differences are intended, this is mostly just shuffling around and organizing code. I expect some performance regressions initially, follow-on commits will make more improvements to that end as the dust settles.
© All Rights Reserved