aboutsummaryrefslogtreecommitdiff
path: root/examples/screenshot.c
AgeCommit message (Collapse)Author
2018-01-23Backport screenshooter fixes from the renderer redesign v1emersion
This backports some changes to #319 to fix the screenshooter data format. This also adds wlr_backend_get_renderer which will be useful to support multiple renderers.
2018-01-21style: include brackets for if/while/for, even if it's a single statementJohannes Schramm
2018-01-15Fixed logging for examplesTimidger
2017-12-28Merge pull request #533 from martinetd/wl_array_addDrew DeVault
ENOMEM checks: consistently check wl_array_add return
2017-12-28style: fix sizeof() calls without parenthesesDominique Martinet
2017-12-28Fixes for multiple outputsemersion
* Fixes output positions in screenshots * Fixes Wayland backend pointer events when output layout doesn't start at (0, 0)
2017-11-30Moved os-compatibility and added headerMoritz
* Moved os-compatibility.c to util * Added header under util * Removed static since it isn't needed (i think so) * Adjusted meson.build to include lib_wlr Improved some codestyle * Added guard to os-compatibility.h * Fixed typo in include statment Adjusted Guard * Changed guard to _WLR_UTIL_OS_COMPATIBILITY
2017-11-11Fix unused-result errorTancredi Orlando
2017-10-22Create globals only for enabled outputs in DRM backendemersion
2017-10-07Fix GCC buildemersion
2017-10-07Code styleemersion
2017-10-07Use ImageMagick to write PNG screenshotemersion
2017-10-07Remove cairo dependency, write raw pixelsemersion
2017-10-07Call glReadPixels right before swapping buffersemersion
2017-10-07First attempt to implement screenshooteremersion