Ivsucram / ivsemu

GNU Affero General Public License v3.0
1 stars 0 forks source link

Change the CPU display_buffer to a complete pixel frame_buffer #47

Closed Ivsucram closed 3 years ago

Ivsucram commented 3 years ago

The current CPU display buffer is a multi-dimensional array of booleans (indicating pixels toggling). In order to take advantage of the display's texture rendering approach, it would benefit to change the display buffer to a single dimension pixel-color array.

In the pixel-color array, 4u8 samples represent a single pixel on-screen (R: u8, G: u8, B: u8, A:u8).