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:
parent
44f46254dc
commit
34c31db14a
9 changed files with 214 additions and 195 deletions
|
@ -29,7 +29,7 @@ class GraphicsFramebufferWidget : public BreakPointObserverDock {
|
|||
enum class Format {
|
||||
RGBA8 = 0,
|
||||
RGB8 = 1,
|
||||
RGBA5551 = 2,
|
||||
RGB5A1 = 2,
|
||||
RGB565 = 3,
|
||||
RGBA4 = 4,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue