aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
AgeCommit message (Collapse)Author
2018-03-26Merge branch 'master' into texture-redesignemersion
2018-03-26Merge pull request #751 from emersion/rotated-surface-damageDrew DeVault
Fix damage tracking for rotated surfaces
2018-03-26Fix damage tracking for rotated surfacesemersion
It was broken because the damage extents were rotated about its own center, not about the center of the surface. This adds a new wlr_region_rotated_bounds that rotates regions. This allows us to have only one code path (for both non-rotated views and rotated views) and optimizes rendering for rotated views.
2018-03-26render: add simple functions to render rectangles and ellipsesemersion
2018-03-24Redesign wlr_textureemersion
- 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.
2018-03-24unified xdg-surface closeTony Crisci
2018-03-23Merge branch 'master' into gles2-renderer-redesignemersion
2018-03-22Merge pull request #740 from emersion/egl-debugDrew DeVault
render/egl: use EGL_KHR_debug
2018-03-22xdg_popup_grab: add listener on seat destroyDominique Martinet
2018-03-21render/egl: use EGL_KHR_debugemersion
2018-03-21render/gles2: make wlr_renderer_begin take viewport sizeemersion
This allows raw GL calls outside wlr_renderer to be removed.
2018-03-20render/gles2: remove global state, use OpenGL debug extensionemersion
2018-03-19render: split render.h into wlr_renderer.h and wlr_texture.hemersion
2018-03-19Merge pull request #733 from emersion/fix-matrix-transposeDrew DeVault
Don't use OpenGL matrix transposition
2018-03-19Write some more docsDrew DeVault
2018-03-19render/gles2: transpose matrices before binding thememersion
Setting glUniformMatrix3fv's transpose parameter to GL_TRUE is not allowed for OpenGL ES 2. This adds a wlr_matrix_transpose function.
2018-03-17Merge pull request #722 from emersion/matrix-redesignDrew DeVault
Matrix redesign
2018-03-17Merge pull request #711 from emersion/map-unmapTony Crisci
Add map/unmap to xdg-shell
2018-03-15matrix: rename wlr_matrix_texture to wlr_matrix_projectionemersion
2018-03-15xdg-shell: add map/unmap supportemersion
2018-03-15renderer: replace wlr_texture_get_matrix by wlr_render_textureemersion
2018-03-15surface: drop wlr_surface_get_matrixemersion
2018-03-15Merge branch 'master' into matrix-redesignemersion
2018-03-15matrix: use 2D matricesemersion
2018-03-15Merge pull request #698 from agx/linux-dmabufemersion
Add initial linux_dmabuf protocol support
2018-03-15Add initial linux_dmabuf protocol supportGuido Günther
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.
2018-03-15matrix: unify API, don't use array pointersemersion
2018-03-15matrix: move to types/emersion
2018-03-13xdg-shell-v6: next_geometry and geometry fields are not longer pointers in ↵emersion
wlr_xdg_surface_v6
2018-03-13xdg-shell-v6: rename toplevel and popup fields in wlr_xdg_surface_v6 for ↵emersion
consistency
2018-03-13xdg-shell-v6: changed wlr_xdg_surface_v6_configure.toplevel_state to be NULL ↵emersion
if surface isn't a toplevel
2018-03-13xdg-shell-v6: redesign the configure/ack_configure workflowemersion
2018-03-11render: Flip textures in case of inverted_yGuido Günther
2018-03-10xdg-shell-v6: add map signalemersion
2018-03-07Add mode support to libinput backendDrew DeVault
And extend tablet example with tilt and ring support
2018-03-06Add const to x11 and input interfacesScott Anderson
2018-03-03move xwm.h out of include/wlrDominique Martinet
xwm.h was meant to be private, so move it to include/xwayland/xwm.h We had an ifdef WLR_HAS_XCB_ICCCM in xwayland.h which was easy to move to xwm, it is not safe to use the WLR_HAS_* in the public headers. I checked a few of our current users and none rely on xwm.h being public as expected (rootston, sway, hsroots)
2018-02-27Merge pull request #670 from Ongy/xwayland_unmanagedemersion
add xwayland unmanaged tests to support dmenu
2018-02-26add xwayland unmanaged tests to support dmenuMarkus Ongyerth
This adds `wlr_xwayland_surface_is_unamanged`, to allow compositors more fine grained control over XWayland focus. A surface that is unmanaged should not receive focus, while other windows that are just override redirect may want it (dmenu). The way unamanged is determined is taken from wlc.
2018-02-25Merge pull request #659 from agx/alphaDrew DeVault
Make wlr_render_with_matrix use alpha
2018-02-25Add alpha to wlr_render_with_matrixGuido Günther
so we can use the alpha channel to e.g. blend in textures
2018-02-24Merge pull request #641 from Ongy/idle-inhibitTony Crisci
Add idle-inhibit implementation
2018-02-23idle-inhibit: style adjustments and motivationMarkus Ongyerth
2018-02-23xwayland: fix some use-after-free in xwmemersion
2018-02-23Merge pull request #652 from agx/symbols-fileemersion
Add symbols file
2018-02-22move activity_notify into events in wlr_idleMarkus Ongyerth
This moves the `struct wl_signal activity_notify` in `struct wlr_idle` into a local `struct {} events` to keep consistency with other modules in the library.
2018-02-21idle-inhibit: second feedback passMarkus Ongyerth
2018-02-21Rename _strip_path to wlr_strip_pathGuido Günther
since it's a public function
2018-02-20idle-inhibit: feedback passMarkus Ongyerth
2018-02-19Revert "ELF Visibility"Drew DeVault