gnif / LookingGlass

An extremely low latency KVMFR (KVM FrameRelay) implementation for guests with VGA PCI Passthrough.
GNU General Public License v2.0
4.64k stars 257 forks source link

[client] fix some renderer bugs which cause SPICE display corruption #1121

Closed jacobmcnamee closed 3 months ago

jacobmcnamee commented 3 months ago

See individual commits.

Side note: Much of the EGL texture code seems to uniquely use a convention of "stride in pixels, pitch in bytes" despite a comment in texture.h stating the opposite. The primary source of corruption resolved by this PR (i.e. incorrect pointer math in egl_texBufferStreamUpdate) is only incorrect because the other EGL texture code follows the opposite convention.