The LCD pixel data that Peanut-GB produces uses bits 0 and 1 for shade data, and bits 4 and 5 for layer data. If only bits 0-3 are used, then colour mapping using a look up table can be faster. A basic test on the RP2040 showed an improvement of approximately 8 FPS with this change.
The LCD pixel data that Peanut-GB produces uses bits 0 and 1 for shade data, and bits 4 and 5 for layer data. If only bits 0-3 are used, then colour mapping using a look up table can be faster. A basic test on the RP2040 showed an improvement of approximately 8 FPS with this change.
This will require an API change.