Drew DeVault
ff2e08aa74
Merge pull request #736 from agx/gles2-tex-target
...
Gles2 tex target
7 years ago
Guido Günther
2d01663b25
gles2: Honor alpha in fragment_src_external
...
By using the same vertex shader and adding alpha to the fragment shader
for external textures we can:
- use alpha blending
- have wlr_gles2_render_texture_with_matrix work with
the GL_TEXTURE_EXTERNAL_OES. So far this failed
since we passed in alpha which was unknown by fragment_src_external
7 years ago
Guido Günther
13e4ba4867
gles2_texture_bind: use texture's target type
...
Hardcoding GL_TEXTURE_2D leads to rendering errors when using
GL_TEXTURE_EXTERNAL_OES textures.
7 years ago
Guido Günther
b3cb5a36c7
gles2: allow to specify texture target type
...
Allow to set the texture target type when generating/binding the
texture. This allows us to attach the texture type to the texture so we
don't have to keep the logic elsewhere.
7 years ago
Drew DeVault
453516a621
Merge pull request #735 from emersion/split-render-h
...
render: split render.h into wlr_renderer.h and wlr_texture.h
7 years ago
emersion
c41de2d1be
render: split render.h into wlr_renderer.h and wlr_texture.h
7 years ago
Drew DeVault
a76cef475b
Merge pull request #733 from emersion/fix-matrix-transpose
...
Don't use OpenGL matrix transposition
7 years ago
Drew DeVault
8d490fdb34
Write some more docs
7 years ago
emersion
6ecb0eefcb
render/gles2: transpose matrices before binding them
...
Setting glUniformMatrix3fv's transpose parameter to GL_TRUE is
not allowed for OpenGL ES 2.
This adds a wlr_matrix_transpose function.
7 years ago
emersion
6227da96b1
backend/drm: don't hardcode matrix
7 years ago
emersion
bfc9b13dcd
Merge pull request #730 from martinetd/matrix_rotate
...
Rootston: fix rotation heading (was: wlr_matrix: fix matrix_rotate)
7 years ago
Dominique Martinet
a491f780b8
rootston rotation: change view->rotation sign
...
The convetion with wlr_matrix changed and it's a good time to remove
all these pesky minus signs
7 years ago
Drew DeVault
1956d3cedb
Merge pull request #722 from emersion/matrix-redesign
...
Matrix redesign
7 years ago
Tony Crisci
09413aa7f1
Merge pull request #711 from emersion/map-unmap
...
Add map/unmap to xdg-shell
7 years ago
emersion
9cc875429b
Merge pull request #726 from agx/egl-print-dmabuf-formats
...
egl: print supported dmabuf formats
7 years ago
Guido Günther
7fd7dff26f
egl: print supported dmabuf formats
...
Useful for debugging dmabuf related problems e.g. when a client requests
a certain and we fail to support it.
7 years ago
emersion
303883ce49
rootston: properly emit view unmap event
7 years ago
Tony Crisci
8ad0c5376c
Merge pull request #721 from emersion/simplify-screenshot-client
...
examples: simplify screenshot client
7 years ago
emersion
f1cbbac636
render/gles2: remove matrix transposition in shaders
7 years ago
emersion
7894fca224
matrix: rename wlr_matrix_texture to wlr_matrix_projection
7 years ago
emersion
e607d0f7ee
xdg-shell: add map/unmap support
7 years ago
emersion
42cc575266
xdg-shell-v6: fix wl_list_remove called twice
7 years ago
emersion
361d7c857e
xdg-shell-v6: don't leak wlr_xdg_surface_v6_configure.toplevel_state
7 years ago
emersion
876f07e9f1
renderer: replace wlr_texture_get_matrix by wlr_render_texture
7 years ago
emersion
1914a1aa2b
surface: drop wlr_surface_get_matrix
7 years ago
Drew DeVault
7d3c4c2450
Merge pull request #723 from emersion/fix-xwayland-inverted-y
...
Fix y-inverted rendering for xwayland surfaces
7 years ago
emersion
0e253e0615
render/gles2: don't set inverted_y when EGL_WAYLAND_Y_INVERTED_WL is unsupported
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
653bc282a7
Indent GLSL by two spaces
...
since this is the most established indentation
7 years ago
Guido Günther
eb4337b5ee
Wire up linux_dmabuf in rootston
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
3bd1d876ae
examples: simplify screenshot client
7 years ago
Drew DeVault
85da9df807
Merge pull request #719 from acrisci/xdg-toplevel-role
...
differentiate xdg-toplevel roles
7 years ago
Tony Crisci
b2926a6c62
differentiate xdg-toplevel roles
7 years ago
emersion
dd8a7a29e1
rootston: don't center view if maximized
7 years ago
emersion
ace738dbca
xdg-shell-v6: next_geometry and geometry fields are not longer pointers in wlr_xdg_surface_v6
7 years ago
emersion
149209b72e
xdg-shell-v6: rename toplevel and popup fields in wlr_xdg_surface_v6 for consistency
7 years ago
emersion
657e5c8c0d
xdg-shell-v6: changed wlr_xdg_surface_v6_configure.toplevel_state to be NULL if surface isn't a toplevel
7 years ago
emersion
e74ddaaf10
xdg-shell-v6: redesign the configure/ack_configure workflow
7 years ago
emersion
125138f1a0
rootston: unmap view after emitting destroy signal in view_destroy
7 years ago
emersion
c1c88bfe5d
rootston: destroy seat view on unmap
7 years ago
Tony Crisci
efa9eeb5d5
Merge pull request #716 from emersion/fix-cursor-hotspot-update
...
Fix cursor hotspot update
7 years ago
Tony Crisci
647c2e68ba
Merge pull request #696 from emersion/fix-output-layout-destroy-global
...
output-layout: fix output global not destroyed
7 years ago
emersion
d24f868bbe
backend/drm: fix cursor hotspot not updated
7 years ago
emersion
7cdad5cde4
Merge pull request #710 from emersion/dont-move-hidden-cursors
...
output: don't move hidden cursors
7 years ago
Drew DeVault
90409b9692
Merge pull request #718 from emersion/wlroots-subproject
...
meson: use current_source_dir instead of source_root
7 years ago