KEMBAR78
GRAPHICS: Remove or deprecate RGBA palette functions in ManagedSurface by ccawley2011 · Pull Request #4541 · scummvm/scummvm · GitHub
Skip to content

Conversation

@ccawley2011
Copy link
Member

Palettes with alpha transparency are not used by any engines, and using a different format for palettes compared to the rest of ScummVM prevents blitting code from being reused, in addition to some ambiguity for engines calling setPalette or getPalette.

This PR only changes the public interface, adapting ManagedSurface itself to use a standard palette format will be done in a follow-up PR.

This is currently a draft until proper testing can be done.

@ccawley2011 ccawley2011 changed the title Managed surface palette GRAPHICS: Remove or deprecate RGBA palette functions in ManagedSurface Dec 18, 2022
@sev-
Copy link
Member

sev- commented Dec 22, 2022

This is very good. Thank you for looking into it.

@ccawley2011 ccawley2011 marked this pull request as ready for review February 6, 2023 00:26
@sev-
Copy link
Member

sev- commented Feb 7, 2023

I have no notes and merging this. Great changes, great attention to detail.

@sev- sev- merged commit 61a55bd into scummvm:master Feb 7, 2023
@ccawley2011 ccawley2011 deleted the managed-surface-palette branch February 8, 2023 01:05
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