-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Milestone
Description
SDL 1 has of 8-bit palette based video mode support. This mode is extremely helpful for video games which handle 8-bit graphics. We are working on fheroes2 project which by default uses 8-bit graphics. This is a game engine recreation of a 25-years game old game so we cannot change graphics.
SDL 2 somehow does not support this video mode which leads to about 20% (depending on frame size) performance drop in rendering as we have to convert 8-bit image into 32-bit image before rendering a frame. It would be awesome if SDL 2 starts supporting this mode at least for specific platforms. SDL_PIXELFORMAT_INDEX8 format is not detected from the list of formats.
Reactions are currently unavailable