Skip to content
Snippets Groups Projects
Commit bcd80be4 authored by Marc-André Lureau's avatar Marc-André Lureau :trumpet: Committed by Dave Airlie
Browse files

drisw/glx: use XShm if possible


Implements putImageShm from DRIswrastLoaderExtension.

If XShm extension is not available, or fails, it will fallback on
regular XPutImage().

Tested on Linux only with 16bpp and 32bpp visual.

(airlied: tested on 24bpp as well)

Reviewed-by: default avatarDave Airlie <airlied@redhat.com>
Reviewed-by: Adam Jackson's avatarAdam Jackson <ajax@redhat.com>
parent cf54bd5e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment