gb: Use only 4-LSB in LCD data #55
Labels
diff: intermediate
Medium difficulty
enhancement
New feature or request
feat: medium
Rationale is clear and reasonable.
Performance
Issues or bugs related to performance improvements & regressions.
Milestone
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.
The text was updated successfully, but these errors were encountered: