GPU: Added RGB565/RGB8 framebuffer support and various cleanups.

- Centralizes color format encode/decode functions.
- Fixes endianness issues.
- Implements remaining framebuffer formats in the debugger.
This commit is contained in:
bunnei 2015-02-25 22:44:55 -05:00
parent 44f46254dc
commit 34c31db14a
9 changed files with 214 additions and 195 deletions

View file

@ -29,7 +29,7 @@ class GraphicsFramebufferWidget : public BreakPointObserverDock {
enum class Format {
RGBA8 = 0,
RGB8 = 1,
RGBA5551 = 2,
RGB5A1 = 2,
RGB565 = 3,
RGBA4 = 4,
};