We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 4654 - [PATCH] riscos: Add support for more pixel formats
Summary: [PATCH] riscos: Add support for more pixel formats
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 1.2
Hardware: ARM RISC OS
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on: 4448 4454 4609 4611 4635 4651 4652 4653
Blocks:
  Show dependency treegraph
 
Reported: 2019-06-01 20:11 UTC by Jeffrey Lee
Modified: 2019-06-08 20:25 UTC (History)
0 users

See Also:


Attachments
riscos: Add support for more pixel formats (35.11 KB, patch)
2019-06-01 20:11 UTC, Jeffrey Lee
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeffrey Lee 2019-06-01 20:11:59 UTC
Created attachment 3806 [details]
riscos: Add support for more pixel formats

This adds support for new pixel formats/screen modes that RISC OS has gained support for over the past few years. There's also a bugfix to FULLSCREEN_ToggleFromWimp so that the screen palette is set correctly (to match the surface's palette) when switching to fullscreen mode. I've also tidied up some of the messier bits of code - mainly moving 'externs' out of C files and into headers where they belong.

This patch builds on all of the other currently outstanding RISC OS patches, so you're going to have to make sure most (if not all) of those are applied before this one will apply correctly.
Comment 1 Sam Lantinga 2019-06-08 20:25:15 UTC
Patch added!
https://hg.libsdl.org/SDL/rev/4e73be7b4787