![Ander Conselvan de Oliveira](/assets/img/avatar_default.png)
For shm buffers, es->pitch is set using the stride of the buffer. If the shell happened to set the surface width to something different than the buffer width, the contents of the surface would be cropped on the width during redraw. However, for non-shm surfaces, es->pitch was set to the surface width. That caused the contents of the buffer to be scaled on the width when the buffer was wider than the surface. This makes the behavior on both cases the same: crop on the width and scale on the height. (which is weird but consistent)
…
…
…
Wayland Demos This repository contains a few demos application for the Wayland project. There's a sample compositor that can run on KMS, under X11 or under another Wayland compositor and there's a handful of simple clients that demonstrate various aspects of Wayland:
Description
Languages
C
98.1%
Meson
1.3%
GLSL
0.3%
Shell
0.2%