emersion
4a9a9eae9a
Add surface iterators
7 years ago
emersion
1a8b24bdd2
rootston: fix view_at
7 years ago
emersion
d16127b3cb
Fix wlr_surface_subsurface_at, change it to be wlr_surface_surface_at
7 years ago
Drew DeVault
e19ee6d469
Add wlr_surface_point_accepts_input
...
Ref https://github.com/swaywm/sway/pull/1674
7 years ago
emersion
6bbf507082
surface: fix texture not updated on commit
...
When a client attaches a wl_drm or a linux_dmabuf buffer, we only
update it if the size is different from the one of the old buffer.
This means that if the client attaches a new, updated buffer with
the same size as the old buffer, the texture won't get updated.
This commit changes this behavior and re-creates the texture if
the client attaches a new buffer, without requiring the size to be
different.
7 years ago
emersion
c63d94483b
Redesign wlr_texture
...
- 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.
7 years ago
Guido Günther
805039457a
wlr_surface: fix indentation
7 years ago
emersion
1914a1aa2b
surface: drop wlr_surface_get_matrix
7 years ago
emersion
8b58e1a3ad
Merge branch 'master' into matrix-redesign
7 years ago
emersion
824a95ad19
matrix: use 2D matrices
7 years ago
emersion
de0e40d621
Merge pull request #698 from agx/linux-dmabuf
...
Add initial linux_dmabuf protocol support
7 years ago
Guido Günther
14cdb6153f
Add initial linux_dmabuf protocol support
...
Tested with
./weston-simple-dmabuf-drm
./weston-simple-dmabuf-drm --import-immediate=1
./weston-simple-dmabuf-drm --y-inverted=1
(and combinations)
Supports only single plane XRGB dmabufs for now.
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
emersion
90148e64ab
Fix clients binding multiple times to the same output
7 years ago
emersion
f0404f6d75
surface: don't reset frame_callback_list on resize
7 years ago
Drew DeVault
1d9be89e2d
Revert "ELF Visibility"
7 years ago
Scott Anderson
86269052eb
Explicitly export EFL symbols
7 years ago
emersion
392d54a35d
Wrap wl_resource_get_user_data into safer helper functions
...
This ensures we're not incorrectly casting a resource.
Fixes #628
7 years ago
emersion
c2e1474010
Reformat all #include directives
7 years ago
emersion
36ead80cd1
Make wlr_signal_emit_safe private
7 years ago
emersion
5e58d46cc1
Add wlr_signal_emit_safe
7 years ago
emersion
e049610b47
surface: copy buffer damage to surface damage
7 years ago
emersion
861d5bdff2
surface: fix damage when resizing a surface in QT apps
7 years ago
emersion
ece2c1e4e2
Damage tracking for transformed outputs
7 years ago
emersion
a8cb02f585
surface: add damage when subsurface moves
7 years ago
emersion
59c53e8333
Merge remote-tracking branch 'upstream/master' into output-damage
7 years ago
Johannes Schramm
dcc743047b
style: include brackets for if/while/for, even if it's a single statement
7 years ago
emersion
eeffe11337
surface: add wlr_surface new_subsurface and wlr_subsurface destroy events
7 years ago
emersion
ddafcb86a2
surface: add resize damage
7 years ago
emersion
59ba8f35ed
rootston: use surface damage
7 years ago
Tony Crisci
5a18f62fee
add role-committed hook
7 years ago
emersion
54f1135c05
Fix fullscreen in xdg-shell
7 years ago
Drew DeVault
86b8729998
Merge remote-tracking branch 'origin/master' into hidpi
7 years ago
emersion
f8de7aa0fd
Add checks for wl_resource_create
7 years ago
Drew DeVault
c8f97a3a2c
Use surface matrix for software cursors
...
A similar change should probably be applied to hardware cursors, though
more complicated. Also, this doesn't actually fix the issue where the
cursor is too small when over a scale=2 surface. Apparently they don't
set their cursor scales to 2. Seems like a client bug? idk
7 years ago
Drew DeVault
a6930cd8ea
Handle output enter/leave correctly
7 years ago
Drew DeVault
a7446792a1
Consider scale factor when rendering views
7 years ago
emersion
816d6890ee
Fix remaining unchecked allocs in types and code style
7 years ago
Drew DeVault
bbf08f3ef9
Merge pull request #262 from acrisci/feature/data-device-selection
...
wlr-data-device
7 years ago
Tony Crisci
1dbe314937
Merge branch 'master' into feature/data-device-selection
7 years ago
Tony Crisci
6e7caaee6b
Revert "wlr-surface: destroy texture on null buffer commit"
...
This reverts commit 0e7d13fab7
.
7 years ago
Tony Crisci
0e7d13fab7
wlr-surface: destroy texture on null buffer commit
7 years ago
Tony Crisci
d1dd0a6970
refactor buffer detection
7 years ago
Scott Anderson
9b984253e2
Move egl.h to render/egl.h
7 years ago
Tony Crisci
df0a8d3abe
wlr-data-device: drag icons
7 years ago
Drew DeVault
fbddc81b59
Merge pull request #254 from versusvoid/fix-frame-callback-double-free
...
Destroy callbacks before callback list reinitialization
7 years ago
Versus Void
d3af2c09c2
Destroy callbacks before callback list reinitialization
7 years ago
Versus Void
a6db47196c
Upload texture on surface commit
7 years ago
Drew DeVault
c39bfe7f84
Merge pull request #206 from emersion/client-cursor
...
Client provided cursors
7 years ago