emersion
7cbef15206
util: add wlr_ prefix to log symbols
6 years ago
Tobias Blass
a21894a844
Fix double-free in the tablet.c and touch.c examples
...
The wl_display_destroy function already destroys the backend's renderer.
Freeing it by hand causes a segmentation fault.
7 years ago
Ilia Bozhinov
24cf70ae96
backends: implement custom EGL and renderer initialization
...
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
7 years ago
Timidger
9a1d0e42d2
Fixed emersion's issues
7 years ago
Timidger
7da50d065b
Fixed style issues
7 years ago
Timidger
7be5dfecc0
Made tablet standalone
7 years ago
Timidger
ad6d40c7c6
Moved cat out of support, removed support
7 years ago
emersion
f63a5d881d
examples: get wlr_renderer from the backend
7 years ago
emersion
33a2eb4b77
Untie wlr_backend from wlr_renderer
7 years ago
Drew DeVault
ac219cbda6
Remove width_mm from tablet events
7 years ago
emersion
793c3b3047
render: add simple functions to render rectangles and ellipses
7 years ago
emersion
3581573bdc
render/gles2: make wlr_renderer_begin take viewport size
...
This allows raw GL calls outside wlr_renderer to be removed.
7 years ago
emersion
c41de2d1be
render: split render.h into wlr_renderer.h and wlr_texture.h
7 years ago
emersion
824a95ad19
matrix: use 2D matrices
7 years ago
emersion
d26b67cb06
matrix: unify API, don't use array pointers
7 years ago
emersion
b6a3f240c7
matrix: move to types/
7 years ago
Drew DeVault
bfc0e95d2c
Add mode support to libinput backend
...
And extend tablet example with tilt and ring support
7 years ago
emersion
ddb1779f9f
render: make wlr_renderer_clear take a float[4] for the color
7 years ago
emersion
415a2b7c56
render: add wlr_renderer_clear and wlr_renderer_scissor
7 years ago
emersion
0365b587f0
output: add damage tracking via buffer age
7 years ago
emersion
e29a0df8c1
output: fix software cursors damage tracking
7 years ago
Timidger
264ef0c261
Fixed logging for examples
7 years ago
Drew DeVault
4f73498b78
Move shared example code
7 years ago
Drew DeVault
61e451ea1b
Move keyboard logic to wlr_{keyboard,seat}
7 years ago
Dominique Martinet
5885679e33
examples: separate compositor_fini from run
...
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.
7 years ago
Dominique Martinet
f24b3df980
wlr renderer/texture: rename init to create when it does alloc
7 years ago
Calvin Lee
5cc7342606
Prevent alloc errors from crashing
...
Resolves #76
7 years ago
Drew DeVault
c24351681f
Refactor EGL handling
7 years ago
nyorain
1901c3e1b6
Fix example for updated gles
7 years ago
nyorain
67369173aa
Implement drm (egl) buffer attaching
7 years ago
Scott Anderson
cb4d50e22c
Changed header paths.
7 years ago
Drew DeVault
8920b5d607
Merge branch 'wlcore'
8 years ago
Drew DeVault
28736c5787
Move example -> examples
...
And the compositor example into its own directory
8 years ago