-
- Downloads
renderer-gl: Support more shm RGB formats
Some applications, e.g. Chromium browser, may provide ABGR format buf.
Tested with gstreamer 1.22.8:
gst-launch-1.0 videotestsrc ! 'video/x-raw,format=RGB' ! waylandsink
gst-launch-1.0 videotestsrc ! 'video/x-raw,format=BGR' ! waylandsink
gst-launch-1.0 videotestsrc ! 'video/x-raw,format=ARGB' ! waylandsink
gst-launch-1.0 videotestsrc ! 'video/x-raw,format=xRGB' ! waylandsink
gst-launch-1.0 videotestsrc ! 'video/x-raw,format=ABGR' ! waylandsink
gst-launch-1.0 videotestsrc ! 'video/x-raw,format=xBGR' ! waylandsink
gst-launch-1.0 videotestsrc ! 'video/x-raw,format=RGBA' ! waylandsink
gst-launch-1.0 videotestsrc ! 'video/x-raw,format=RGBx' ! waylandsink
gst-launch-1.0 videotestsrc ! 'video/x-raw,format=BGRA' ! waylandsink
gst-launch-1.0 videotestsrc ! 'video/x-raw,format=BGRx' ! waylandsink
Signed-off-by:
Jeffy Chen <jeffy.chen@rock-chips.com>
Showing
- libweston/pixel-formats.c 18 additions, 0 deletionslibweston/pixel-formats.c
- libweston/pixel-formats.h 13 additions, 0 deletionslibweston/pixel-formats.h
- libweston/renderer-gl/fragment.glsl 26 additions, 5 deletionslibweston/renderer-gl/fragment.glsl
- libweston/renderer-gl/gl-renderer-internal.h 3 additions, 1 deletionlibweston/renderer-gl/gl-renderer-internal.h
- libweston/renderer-gl/gl-renderer.c 11 additions, 0 deletionslibweston/renderer-gl/gl-renderer.c
- libweston/renderer-gl/gl-shaders.c 24 additions, 1 deletionlibweston/renderer-gl/gl-shaders.c
Loading
Please register or sign in to comment