aboutsummaryrefslogtreecommitdiff
path: root/examples/touch.c
AgeCommit message (Collapse)Author
2018-08-16Fix build on FreeBSDemersion
2018-07-09util: add wlr_ prefix to log symbolsemersion
2018-05-30Fix double-free in the tablet.c and touch.c examplesTobias Blass
The wl_display_destroy function already destroys the backend's renderer. Freeing it by hand causes a segmentation fault.
2018-05-25backends: implement custom EGL and renderer initializationIlia Bozhinov
Compositors now have more control over how the backend creates its renderer. Currently all backends create an EGL/GLES2 renderer, so the necessary attributes for creating the context are passed to a user-provided callback function. It is responsible for initializing provided wlr_egl and to return a renderer. On fail, return 0. Fixes #987
2018-05-10Fixed emersion's issuesTimidger
2018-05-10Fixed style issuesTimidger
2018-05-10Remvoed unnecessary wayland socket in examplesTimidger
2018-05-10Made touch standaloneTimidger
TODO test
2018-05-10Moved cat out of support, removed supportTimidger
2018-04-01examples: get wlr_renderer from the backendemersion
2018-03-31Untie wlr_backend from wlr_rendereremersion
2018-03-28Remove width_mm from wlr_touch eventsDrew DeVault
2018-03-24Redesign wlr_textureemersion
- Textures are now immutable (apart from those created from raw pixels), no more invalid textures - Move all wl_drm stuff in wlr_renderer - Most of wlr_texture fields are now private - Remove some duplicated DMA-BUF code in the DRM backend - Add more assertions - Stride is now always given as bytes rather than pixels - Drop wl_shm functions Fun fact: this patch has been written 10,000 meters up in the air.
2018-03-21render/gles2: make wlr_renderer_begin take viewport sizeemersion
This allows raw GL calls outside wlr_renderer to be removed.
2018-03-19render: split render.h into wlr_renderer.h and wlr_texture.hemersion
2018-03-15renderer: replace wlr_texture_get_matrix by wlr_render_textureemersion
2018-03-15matrix: use 2D matricesemersion
2018-03-15matrix: unify API, don't use array pointersemersion
2018-03-15matrix: move to types/emersion
2018-02-25Add alpha to wlr_render_with_matrixGuido Günther
so we can use the alpha channel to e.g. blend in textures
2018-02-03render: make wlr_renderer_clear take a float[4] for the coloremersion
2018-01-22render: add wlr_renderer_clear and wlr_renderer_scissoremersion
2018-01-21output: add damage tracking via buffer ageemersion
2018-01-19output: fix software cursors damage trackingemersion
2018-01-15Fixed logging for examplesTimidger
2017-11-20Use wl_list for touch points in examples/emersion
2017-11-16rename touch slot to touch idTony Crisci
2017-11-01Move shared example codeDrew DeVault
2017-10-22Forgot to rename theseDrew DeVault
2017-10-21Rename remaining refs to wlr_listDrew DeVault
2017-09-24Move keyboard logic to wlr_{keyboard,seat}Drew DeVault
2017-08-28fix memory errorsTony Crisci
2017-08-19examples: separate compositor_fini from runDominique Martinet
compositor_fini destroys the display, but it is an error to destroy it before e.g. wlr_seat that references it. This lets us order destroy calls properly, following first-in-last-out logic.
2017-08-19wlr renderer/texture: rename init to create when it does allocDominique Martinet
2017-08-16Prevent alloc errors from crashing in `list_t`Calvin Lee
This commit changes the `list_t` api so that alloc errors can be detected and worked around. Also fixes errors not found in 5cc7342
2017-08-15Prevent alloc errors from crashingCalvin Lee
Resolves #76
2017-08-10Refactor EGL handlingDrew DeVault
2017-08-10Fix example for updated glesnyorain
2017-08-10Implement drm (egl) buffer attachingnyorain
2017-08-08Rename wlr_surface -> wlr_texture; attach -> uploadnyorain
2017-08-06Changed header paths.Scott Anderson
2017-07-31Use correct pixel format enum in touch exampleTony Crisci
Fix a call to `wlr_surface_attach_pixels()` in the main method of the touch example to use the correct enum for this method (wayland instead of gl).
2017-06-29Merge branch 'wlcore'Drew DeVault
2017-06-28Move example -> examplesDrew DeVault
And the compositor example into its own directory