wlroots-hyprland/render/gles2
Manuel Stoeckl 40dde59475 render/gles2: use byte-aligned rows for glReadPixels
Setting the GLESv2 parameter GL_PACK_ALIGNMENT to 1 ensures that the
stride of the glReadPixels output matches the value computed in
`pack_stride`. Since the default value of GL_PACK_ALIGNMENT is 4, this
does not make a difference under normal use; but without this patch
the stride can be incorrect; for example, with RGB565 buffers and
screenshots of regions with odd width.
2023-04-12 14:04:25 +00:00
..
shaders render/gles2: default to highp if available 2023-02-02 22:54:13 +01:00
meson.build render/gles2: move shaders to individual files 2022-10-28 11:46:06 +00:00
pixel_format.c render/gles: add support for some 16-bpc unsigned shm formats 2022-05-07 16:25:38 +00:00
renderer.c render/gles2: use byte-aligned rows for glReadPixels 2023-04-12 14:04:25 +00:00
texture.c wlr_texture: Expose owning renderer 2022-12-01 04:41:43 -05:00