Drew DeVault
ef1f947d49
Merge pull request #49 from ascent12/drm-atomic
...
Atomic modesetting
7 years ago
Scott Anderson
af67966d92
Atomic modesetting
7 years ago
Drew DeVault
913829e381
Switch .build.yml to meson
7 years ago
Drew DeVault
ba87585bbe
Merge pull request #48 from nyorain/wlr_texture
...
Rename wlr_surface -> wlr_texture; attach -> upload
7 years ago
nyorain
e167f41fde
Rename wlr_surface -> wlr_texture; attach -> upload
7 years ago
Drew DeVault
622a0d838b
Add logging in wlr_cursor
7 years ago
Drew DeVault
9383aaf89e
Accomodate for hotspot in cursor position
7 years ago
Scott Anderson
afd058b754
Fix software cursor. Fixes #45
7 years ago
Drew DeVault
7486263f7e
Add xcursor sublibrary
7 years ago
Drew DeVault
ab063c3936
Merge pull request #44 from ascent12/drm
...
DRM plane support, refactoring, and other changes
7 years ago
Scott Anderson
d09ca20a4d
Use gbm_bo_map for cursor
7 years ago
Scott Anderson
dbe66d1963
Style changes
7 years ago
Scott Anderson
5a636b21ba
Remove old fields
7 years ago
Scott Anderson
5f7042a1f2
Moved headers
7 years ago
Scott Anderson
d307c2f2c2
Renamed some variables to be less generic
7 years ago
Scott Anderson
1db97a9af9
Updated DRM cursor rendering
7 years ago
Scott Anderson
aedfa27d3a
Clean up resources when plane is reassigned
7 years ago
Scott Anderson
2f8b5c4448
More cleanups
7 years ago
Scott Anderson
dd7a349295
Various cleanups
7 years ago
Scott Anderson
d1ca1ec16e
Split off some functions into drm-util
7 years ago
Scott Anderson
c46605d605
Use plane for rendering
7 years ago
Scott Anderson
e16c5504cd
Add planes.
7 years ago
Scott Anderson
67b51f0922
Upgraded CRTC and Encoder matching
7 years ago
Scott Anderson
31867a1b2e
Various changes/cleanups
7 years ago
Scott Anderson
7b772e1a4b
DRM resource initalisation
7 years ago
Scott Anderson
601bbad5d8
Added DRM property infrastructure
7 years ago
Drew DeVault
f95c02eebe
Merge pull request #29 from ascent12/session
...
Moved session into backend/session and changed ownership
7 years ago
Drew DeVault
5bf61ca7ed
Check for multi backend before using it
7 years ago
Drew DeVault
f1a069d50d
Log that the X11 backend is unimplemented
7 years ago
Scott Anderson
4d4da18437
Fixed VT switching
7 years ago
Scott Anderson
3373ec5fc8
Update build files
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
Drew DeVault
41b98f21e5
Merge pull request #42 from acrisci/bug/no-switch-active-textures
...
Remove unnecessary calls to glActiveTexture
7 years ago
Drew DeVault
d6d1d57c69
Merge pull request #31 from nyorain/merged
...
Use meson as build system
7 years ago
nyorain
fdab81e1c9
Use meson build system
7 years ago
Tony Crisci
9119be1dd1
Remove unnecessary calls to glActiveTexture
...
Since wlroots shaders only use one texture at a time (ie there is only one
sampler2D variable in any shader), it is unnecessary to switch between active
texture units at this time.
7 years ago
Drew DeVault
ce886c0353
Add .build.yml for builds.sr.ht
7 years ago
Drew DeVault
7c393d5143
Missed a variable
7 years ago
Drew DeVault
95653c0bf7
Minor nitpicking in wl_compositor
7 years ago
Drew DeVault
de17ce19be
Merge pull request #41 from acrisci/feature/surface-interface-stub
...
Add surface interface stubs in compositor example
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
Tony Crisci
6610aa7ca7
Implement shm buffer surface attach interface
...
Implement surface_attach method. This is called when a client attaches an shm
buffer with wl_surface_attach().
Implement the GLES2 interface for attaching shm buffers. This creates an opengl
texture with the shm buffer contents for the surface.
This commit also includes some working code to render the surfaces onto the
screen for demonstration purposes.
7 years ago
Tony Crisci
555914a13b
Add surface interface stubs in compositor example
...
Add the wayland surface interface to the example compositor.
Implement the create_surface method to create a new wlr surface from the
wayland surface and add the interface.
7 years ago
Drew DeVault
359042081f
Fix #40
7 years ago
Drew DeVault
2bfacc63d3
Merge pull request #39 from acrisci/bug/fix-wl-enum-touch
...
Use correct pixel format enum in touch example
7 years ago
Tony Crisci
aebe5ba48c
Use correct pixel format enum in touch example
...
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).
7 years ago
Drew DeVault
f08998627f
Merge pull request #36 from acrisci/bug/supported-cursor-pixel-format
...
Use ARGB8888 pixel format for cursor bo
7 years ago
Scott Anderson
5743ea03b8
Merge pull request #37 from acrisci/bug/session-path
...
Correctly get session path
7 years ago