aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-11-04Merge pull request #1350 from emersion/check-gles2-bgra-extDrew DeVault
render/gles2: remove assumptions about supported formats
2018-11-04render/gles2: check for GL_OES_EGL_image_externalemersion
2018-11-04backend/drm: specify minimum config attributesemersion
Since the format used by DRM is GBM_FORMAT_ARGB8888, we need at least a R, G, B and A channel.
2018-11-04render/gles2: remove assumptions about supported formatsemersion
We were assuming GL_BGRA_EXT was always supported. We now check that it's supported for rendering. We fail if it isn't because this format is specified as "always supported" by the Wayland protocol. We also check if it's supported for reading pixels. A new preferred_read_format function returns the preferred format that can be used to read pixels. This is used by the screencopy protocol.
2018-11-01Merge pull request #1341 from emersion/view-at-unmappedDrew DeVault
rootston: fix segfault in view_at
2018-10-30Merge pull request #1346 from emersion/fix-schedule-frame-mgpuDrew DeVault
backend/drm: fix frame scheduling on secondary GPUs
2018-10-29Merge pull request #1344 from emersion/no-atomic-gammaemersion
backend/drm: add WLR_DRM_NO_ATOMIC_GAMMA env variable
2018-10-29backend/drm: fix frame scheduling on secondary GPUsemersion
There was a missing copy_drm_surface_mgpu call in drm_connector_schedule_frame so we asked for a pageflip with an unknown BO, resulting in ENOENT. Additionally, this commit makes schedule_frame return a bool indicating failures. This allows schedule_frame_handle_idle_timer to only set frame_pending to true if a frame has been successfully scheduled. Thus, if a pageflip fails, rendering won't be blocked forever anymore. In case a pageflip is already pending, true is returned because a frame has already been scheduled and will be sent sometime soon.
2018-10-28backend/drm: add WLR_DRM_NO_ATOMIC_GAMMA env variableemersion
This allows the legacy interface to be used instead of atomic if needed. This is a workaround to make some Intel GPUs work (if this variable is unset) as well as to make some AMD GPUs work (if this variable is set).
2018-10-28rootston: fix segfault when destroying unmapped fullscreen viewsemersion
2018-10-28rootston: fix segfault in view_atemersion
Make sure the view is mapped.
2018-10-28Merge pull request #1332 from emersion/shm-openDrew DeVault
util: use shm_open for in-memory files
2018-10-28xwayland: don't fail if XDG_RUNTIME_DIR is not setemersion
We don't require it, Xwayland doesn't require it, and all X11 apps I tried don't need it.
2018-10-28util: use shm_open for in-memory filesemersion
shm_open is a POSIX function creating an in-memory file. Using it simplifies the code and removes the dependency on XDG_RUNTIME_DIR. The only downside is that we need to generate a random name for the shm file.
2018-10-28Merge pull request #1340 from emersion/fix-input-method-destroyDrew DeVault
input-method-v2: initialize destroy signal
2018-10-28Merge pull request #1338 from emersion/wayland-swap-intervalDrew DeVault
render: on Wayland, make eglSwapBuffers non-blocking
2018-10-28input-method-v2: initialize destroy signalemersion
2018-10-28Merge pull request #1339 from MrSorcus/masteremersion
Fix "variable ‘cursor_default’ set but not used"
2018-10-28Fix "variable ‘cursor_default’ set but not used"Sorcus
2018-10-28Merge pull request #1337 from emersion/idle-zero-timeoutemersion
idle: allow zero timeout
2018-10-28render: on Wayland, make eglSwapBuffers non-blockingemersion
2018-10-28idle: allow zero timeoutemersion
Prior to this commit, setting up a zero timeout resulted in a timer that never expires, which isn't particularly useful. This commit allows setting up timers that expire immediately, which is useful to immediately enter idle state.
2018-10-27Merge pull request #1336 from swaywm/freebsdemersion
Add FreeBSD build
2018-10-27Add FreeBSD buildDrew DeVault
2018-10-27Merge pull request #1335 from emersion/fucking-transparencyRyan Dwyer
xwayland: fix typo to enable transparency
2018-10-27xwayland: fix typo to enable transparencyemersion
We spent literally hours trying to debug this. Turns out it's a typo. Kill me.
2018-10-22Merge pull request #1327 from RyanDwyer/xwm-unset-minmax-hintsDrew DeVault
xwm: Unset min/max size hints if they're not used
2018-10-22xwm: Unset min/max size hints if they're not usedRyan Dwyer
2018-10-21Merge pull request #1289 from ixru/fix-cursor-visibilityDrew DeVault
Fix cursor visibility on surface commit
2018-10-21Merge pull request #1307 from emersion/static-analysisDrew DeVault
Fix a few bugs found by the static analyzer
2018-10-21Update version to 0.1emersion
2018-10-19Merge pull request #1320 from emersion/fix-duplicate-cursorsemersion
output-layout, cursor: fix duplicate cursors
2018-10-19Merge pull request #1321 from RyanDwyer/xwm-remove-dangling-parentemersion
xwm: Remove child->parent pointer when parent destroys
2018-10-19xwm: Remove child->parent pointer when parent destroysRyan Dwyer
2018-10-19output-layout, cursor: fix duplicate cursorsemersion
wlr_cursor: make sure the output doesn't have a cursor before creating a new one wlr_output_layout: don't emit the "add" event when the output is already in the layout
2018-10-19Merge pull request #1287 from emersion/source-seat-clientDrew DeVault
data-device: remove wlr_data_source.seat_client
2018-10-19Merge pull request #1314 from nyorain/write_pixels_formatemersion
Remove fmt parameter from wlr_texture_write_pixels
2018-10-18Merge pull request #1319 from emersion/x11-configure-maskDrew DeVault
xwayland: handle configure event mask
2018-10-18xwayland: handle configure event maskemersion
2018-10-17Merge pull request #1318 from dcz-purism/text_input_errorDrew DeVault
text-input: Don't reject enable requests when unfocused
2018-10-17Merge pull request #1316 from agx/fullscreen-vs-layershellDrew DeVault
rootston: Don't let the wlr_output handle the fullscreen view in case…
2018-10-17text-input: Don't reject enable requests when unfocusedDorota Czaplejewicz
The prevoius implementation would always raise an error in the following sequence: -> enter -> leave <- enable The text-input type is not equipped to manage the validity of clents' requests, which should be handled in the compositor, as rootston does.
2018-10-17rootston: Don't let the wlr_output handle the fullscreen view in case of ↵Guido Günther
layer-shell overlays Otherwise the overlays will no tbe drawn. Closes: #1300
2018-10-17Merge pull request #1317 from sghctoma/freebsd-fixesDrew DeVault
FreeBSD fixes
2018-10-17Add epoll-shim dependency on FreeBSDsghctoma
On FreeBSD, epoll is provided as a 3rd-party library, so it needs to be added as a dependency.
2018-10-17Increase _POSIX_C_SOURCE to 200112Lsghctoma
CLOCK_MONOTONIC appeared in IEEE Std. 1003.1-200x, it was not part of POSIX.1b (the 1993 version), and FreeBSD treats it accordingly.
2018-10-16Use enum wl_shm_format for gles2 texture formatsnyorain
Also rephrase the write_pixels comment.
2018-10-15Remove fmt parameter from wlr_texture_write_pixelsnyorain
It's not allowed to change the format of a texture so remove the confusing parameter.
2018-10-15Merge pull request #1313 from colemickens/libdrmScott Anderson
render: fix meson including libdrm
2018-10-15render: fix meson including libdrmCole Mickens