Drew DeVault
7095274a9e
Merge branch 'master' into drm_buffer
7 years ago
Drew DeVault
7da43ff8b0
Implement wlr_surface_flush_damage
7 years ago
nyorain
31d78ff497
Fix wlr_surface destruction bug
7 years ago
Tony Crisci
14654ecb77
implement compositor create region
...
Complete the implementation of wlr_region_create and put it in the compositor.
7 years ago
nyorain
1901c3e1b6
Fix example for updated gles
7 years ago
nyorain
67369173aa
Implement drm (egl) buffer attaching
7 years ago
Drew DeVault
750d0ad458
Flesh out wlr_surface state lifecycle a bit
...
Sprinked some TODOs around for future work
7 years ago
Drew DeVault
4de930542f
Implement partial texture uploads
7 years ago
Tony Crisci
8306f46dfb
implement surface frame
...
The surface frame callback lets a window know when it is a good time to show the
next frame if it is animating. In particular, this callback is used by
weston-simple-shm to throttle drawing.
7 years ago
nyorain
cf9ee6ce3f
Move wlr_surface into wlr
7 years ago
nyorain
1bea754521
Implement wlr_region using pixman
7 years ago
Scott Anderson
af67966d92
Atomic modesetting
7 years ago
nyorain
e167f41fde
Rename wlr_surface -> wlr_texture; attach -> upload
7 years ago
Drew DeVault
7486263f7e
Add xcursor sublibrary
7 years ago
Scott Anderson
d09ca20a4d
Use gbm_bo_map for cursor
7 years ago
Scott Anderson
5a636b21ba
Remove old fields
7 years ago
Scott Anderson
5f7042a1f2
Moved headers
7 years ago
Scott Anderson
1db97a9af9
Updated DRM cursor rendering
7 years ago
Scott Anderson
7b772e1a4b
DRM resource initalisation
7 years ago
Drew DeVault
5bf61ca7ed
Check for multi backend before using it
7 years ago
Scott Anderson
4d4da18437
Fixed VT switching
7 years ago
Scott Anderson
cb4d50e22c
Changed header paths.
7 years ago
Scott Anderson
2ae5cd6539
Moved session/ into backend/
7 years ago
Scott Anderson
ae4478e17f
Changed ownership of wlr_session to the multi backend.
...
Currently breaks VT switching for examples.
7 years ago
Tony Crisci
effea557bb
Implement destroying surfaces
...
Add a signal for wlr_surface destruction on the wlr_surface that compositors
can listen to to remove the surface from their state.
Implement a listener for this in the example wl_compositor to remove the
surface from its internal list of surfaces.
Destroy the surface in the compositor destroy_surface callback given when the
surface resource was created.
Add a reference to the surface resource to the wlr_surface so a compositor can
find it in its list of resources upon wlr_resource destruction.
7 years ago
Drew DeVault
e92a65fee8
Remove use of missing header
7 years ago
Scott Anderson
8189c64d7f
Fixed that warnings that showed up with optimisations.
7 years ago
Scott Anderson
5b8ec107b9
Session documentation.
7 years ago
Scott Anderson
3779ef802d
Stop remembering the drm fd in child.
7 years ago
Scott Anderson
2f2c8205d8
Moved IPC to its own file.
7 years ago
Scott Anderson
bd5bca5283
Added public fields to wlr_session
7 years ago
Drew DeVault
8920b5d607
Merge branch 'wlcore'
8 years ago
Drew DeVault
18e6ddc1c5
Remove wlr_compositor
8 years ago
Drew DeVault
f5b7bc033e
Add wlr_wl_compositor and remove wlr_wl_shm
8 years ago
Scott Anderson
0cd94f0cf0
Added software cursor fallback
8 years ago
Drew DeVault
8a18cf456a
Remove endian.h
...
Fuck big endian systems anyway
8 years ago
Drew DeVault
5a2796266f
Support wl_shm pixel formats in gles2 renderer
8 years ago
Drew DeVault
2aafb5dd19
Add wlcore/wl_shm (WIP)
8 years ago
Drew DeVault
b18209c904
Switch to GLES2
...
Closes #13
8 years ago
Drew DeVault
168f0955ab
Add wl_output globals for wlr_outputs
8 years ago
nyorain
dbde1f7340
Store wayland backend axis source
8 years ago
nyorain
272030652a
Implement absolute motion events for wayland
8 years ago
nyorain
c1520077b6
Implement wayland backend input events
8 years ago
Drew DeVault
3d71969b2a
Make event names consistent
8 years ago
Drew DeVault
f4453d104d
Reorganize wlr-common
8 years ago
Drew DeVault
fd91244e83
Update everyone to use new headers
8 years ago
Drew DeVault
53a8b4f127
Split out types.h and wlr/types.h
...
TODO: Update the code accordingly and move other types into the same
paradigm
8 years ago
Scott Anderson
55854565dc
Fixed VT switching
8 years ago
Scott Anderson
091de12bf4
Changed session signal to only emit on DRM changes
8 years ago
Drew DeVault
c2d0090ad7
Support multiple wl backend outputs
8 years ago
Drew DeVault
b9d36c8149
Add dynamic output resizing for Wayland backend
...
This allows outputs to:
- Not support modesetting
- Resize themselves
8 years ago
nyorain
50ce35e9da
Implement wayland backend output
8 years ago
nyorain
62b1421635
Make egl_error function part of the egl interface
...
The function may be useful for backends using egl.
8 years ago
nyorain
792d535225
Rework wayland backend output implementation
8 years ago
nyorain
e65ca967f9
Merge branch 'master' into wayland-backend
8 years ago
Drew DeVault
41b5294013
Merge pull request #16 from nyorain/master
...
Make logging ninja friendly
8 years ago
Drew DeVault
632a04f1b7
Implement keyboard LEDs
8 years ago
Drew DeVault
ecb04afcad
Implement tablet pads
8 years ago
nyorain
acbc0a019a
Make logging ninja friendly
...
When building with ninja instead of make __FILE__ will be relative
and logging therefore break. This moves stripping the path
from __FILE__ to runtime and handles a relative filepath as
well as a full one.
8 years ago
nyorain
8fbf1ca3ff
Continue wayland backend update
...
Update wayland backend to new api.
Start to use the input interfaces.
Compiling now, not tested.
8 years ago
nyorain
41a477375c
Merge branch 'libinput' into wayland-backend
8 years ago
nyorain
904739c405
Start to fix wayland backend
...
Starts to update the wayland backend to the new backend api.
Not yet updated to libinput branch (not yet compiling).
8 years ago
Drew DeVault
7e038a6110
Add (broken) DRM hardware cursors
8 years ago
Drew DeVault
2443a070e7
Add colored quad and ellipse rendering primitives
8 years ago
Drew DeVault
4a9966b1a4
Implement wlr_tablet_tool
8 years ago
Drew DeVault
3f24f8a1be
Flesh out touch events and add demo
8 years ago
Drew DeVault
d6905f86cb
Allocate wlr_touch devices
8 years ago
Drew DeVault
a63230e59c
Implement libinput wlr_pointer
8 years ago
Drew DeVault
e257afeb7e
Establish multi backend support
8 years ago
Drew DeVault
5dd96c0772
Incorporate XKBCommon into example
8 years ago
Drew DeVault
7a5f35b5bb
Reassign ownership of libinput handle
8 years ago
Drew DeVault
f479b7c8c7
Split keyboard code out into its own file
8 years ago
Drew DeVault
59ceaf507e
Handle key presses
8 years ago
Drew DeVault
0e75d157f5
Initialize keyboards from libinput
8 years ago
Drew DeVault
019fff06be
Fix issues, flesh out event handling somewhat
8 years ago
Drew DeVault
af69591e62
Add error handling and init in backend_autocreate
8 years ago
Drew DeVault
1262f1400c
Initial pass on libinput backend
8 years ago
Drew DeVault
325a331425
Fix some build errors
8 years ago
Drew DeVault
2b06f88f0b
Combine internal DRM headers into one
...
Everything always just included both anyway
8 years ago
Drew DeVault
2b909e1729
Add error "handling" to gles3 backend
8 years ago
Scott Anderson
63c3faa006
Fixed rendering bug: Delay calling gbm_surface_release_buffer until it
...
has been scanned out.
8 years ago
Drew DeVault
cd6a40d816
Further improvements to rendering subsystem
8 years ago
Drew DeVault
83f8864f0a
Add wlr_renderer and move quad rendering there
8 years ago
Drew DeVault
211488131f
Add wlr_shader to wlr-render
8 years ago
Drew DeVault
fc1dc1b5b0
Use constant VBO for quad, add matrix stuff
8 years ago
Scott Anderson
382f712792
Merge remote-tracking branch 'upstream/master' into rotation
8 years ago
Scott Anderson
632a7acb03
Filled out more wlr_output fields.
8 years ago
Scott Anderson
53dd622263
Provide user with transformation matrix
8 years ago
Drew DeVault
6f5c70ac69
Let backend track transform state
...
This will be necessary to provide it to clients via wl_output.
8 years ago
Scott Anderson
c97de93fe1
Added output rotation example
8 years ago
Scott Anderson
b537656b4b
Removed inline function
8 years ago
Scott Anderson
cf07a9fc4f
Logging improvements
8 years ago
Drew DeVault
7d82476590
Refactor type implementations
8 years ago
Scott Anderson
5df56653ab
Changed invalidate interface.
8 years ago
Scott Anderson
de44994dfc
Udev event device matching
8 years ago
Drew DeVault
40b85d992a
Refactor udev and drm initialization
8 years ago
ascent12
62d612a01e
Merge branch 'master' into session
8 years ago
Drew DeVault
e2ee67125e
s/wayland.h/types.h/g
8 years ago
Drew DeVault
c7f6981d9c
Clean up outputs on exit
8 years ago
Drew DeVault
fee409bd0a
Generalize DPMS, remove DRM refs from example
8 years ago