Commit 8970030d authored by Keith Packard's avatar Keith Packard Committed by Adam Jackson

glamor: Switch XY bitmap putimage function for small images

Use the glamor_put_image_xy_gl for small images as that is quite a bit
Signed-off-by: Keith Packard's avatarKeith Packard <>
parent 0a50fa4f
Pipeline #128291 passed with stages
in 6 minutes and 9 seconds
......@@ -306,8 +306,13 @@ glamor_put_image(DrawablePtr drawable, GCPtr gc, int depth, int x, int y,
case XYBitmap:
if (w * h >= 100 * 100) {
if (glamor_put_image_xybitmap_gl(drawable, gc, x, y, w, h, leftPad, bits))
} else {
if (glamor_put_image_xy_gl(drawable, gc, depth, x, y, w, h, leftPad, format, bits))
glamor_put_image_bail(drawable, gc, depth, x, y, w, h, leftPad, format, bits);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment