aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
AgeCommit message (Collapse)Author
2018-03-27render: remove GL calls from wlr_eglemersion
2018-03-27Merge pull request #753 from emersion/xdg-shell-unmap-destroyDrew DeVault
xdg-shell-v6: don't destroy role resources on unmap
2018-03-27xdg-shell: don't destroy role resources on unmap, move toplevel fieldsemersion
Ports 5233801530c5ccc95699a12ba7da2d7ce58c952c and 334bab543d6688769a86374a1ddd3d3b36e619b4 to xdg-shell stable.
2018-03-27Improve documentation of wlr_cursorDrew DeVault
2018-03-26xdg-shell-v6, xdg-shell: explain what popup geometry isemersion
2018-03-26xdg-shell-v6: move toplevel specific fields in wlr_xdg_toplevel_v6emersion
2018-03-26xdg-shell-v6: don't destroy role resources on unmapemersion
The motivation for this is: - `get_popup` and `get_toplevel` allocate role-specific resources. - On the first non-null commit, the surface gets mapped. - On a null commit, the surface gets unmapped. It can be mapped again with a non-null commit. - When the role object (xdg-toplevel or xdg-popup) is destroyed, the surface is unmapped and role-specific resources are destroyed. The client can call `get_popup` or `get_toplevel` again on that surface. - When the xdg-surface object is destroyed, the surface is unmapped, role-specific resources are destroyed and the surface itself is destroyed.
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-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