]> git.0x19.co - doomgeneric-snom360/commit
X11: Improve performance by using XImage over XPixmap
authorDaniel Bomar <dbdaniel42@gmail.com>
Wed, 27 Apr 2022 06:11:39 +0000 (01:11 -0500)
committerDaniel Bomar <dbdaniel42@gmail.com>
Wed, 27 Apr 2022 06:11:39 +0000 (01:11 -0500)
commit580e19a7b8e105e0a3f56f4248b8e15f1b264e1e
treea8972859a983ae2dea7439ffcc5687f2aae885c3
parent2d9b24f07c78c36becf41d89db30fa99863463e5
X11: Improve performance by using XImage over XPixmap

This method does not need to copy pixel data greatly improving
performance. The doom framebuffer data is already in a format that Xlib
can accept so all we need to do is a single XPutImage call whenever the
engine wants us to draw a frame.
README.md
doomgeneric/doomgeneric_xlib.c