• Pekka Paalanen's avatar
    renderer/native: honour dumb buffer stride · a3d826c5
    Pekka Paalanen authored
    meta_renderer_native_gles3_read_pixels() was assuming that the target
    buffer stride == width * 4. This is not generally true. When a DRM
    driver allocates a dumb buffer, it is free to choose a stride so that
    the buffer can actually work on the hardware.
    
    Record the driver chosen stride in MetaDumbBuffer, and use it in the CPU
    copy path. This should fix any possible stride issues in
    meta_renderer_native_gles3_read_pixels().
    a3d826c5
Name
Last commit
Last update
clutter Loading commit data...
cogl Loading commit data...
data Loading commit data...
doc Loading commit data...
po Loading commit data...
src Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
COPYING Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
mutter.doap Loading commit data...