Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 5 commits into from
May 20, 2024

Conversation

jacobmcnamee
Copy link
Contributor

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.

Copy link
Owner

@gnif gnif left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catches, thanks. Yes over the life of this project pitch and stride have been confused, mostly due to my own dyslexia :).

Only one commit here though of concern.

client/renderers/EGL/texture_buffer.c Show resolved Hide resolved
@gnif gnif merged commit 695cbc2 into gnif:master May 20, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants