mirror of
https://github.com/brl/mutter.git
synced 2024-11-29 19:40:43 -05:00
a29b8c475e
Adds cogl_wayland_texture_set_region_from_shm_buffer which is a convenience wrapper around cogl_texture_set_region but it uses the correct format to copy the data from a Wayland SHM buffer. This will typically be used by compositors to update the texture for a surface when an SHM buffer is attached. The ordering of the arguments is based on cogl_texture_set_region_from_bitmap. Based on a patch by Jasper St. Pierre. Reviewed-by: Robert Bragg <robert@linux.intel.com> (cherry picked from commit c76c1d136d2cac7f3d1331a4d1dc0dd0f06e812c) Conflicts: examples/cogland.c |
||
---|---|---|
.. | ||
android/hello | ||
cogl-basic-video-player.c | ||
cogl-crate.c | ||
cogl-emscripten-hello.c | ||
cogl-gles2-context.c | ||
cogl-gles2-gears.c | ||
cogl-hello.c | ||
cogl-info.c | ||
cogl-msaa.c | ||
cogl-point-sprites.c | ||
cogl-sdl2-hello.c | ||
cogl-sdl-hello.c | ||
cogl-x11-foreign.c | ||
cogl-x11-tfp.c | ||
cogland.c | ||
crate.jpg | ||
emscripten-example-js-library.js | ||
emscripten-example-js.h | ||
Makefile.am |