libyggdrasil
v1.0.0
|
Display Channel implementation for Asgard. More...
#include <display.hpp>
Public Member Functions | |
Display (const Display &)=delete | |
Static Public Member Functions | |
static bool | init () noexcept |
static bool | deinit () |
Deinit function. More... | |
static void | reset () noexcept |
static void | turnOn () noexcept |
static void | turnOff () noexcept |
static u16 | getWidth () |
static u16 | getHeight () |
static void | setPalette (const std::array< u32, 256 > &palette) |
static std::array< u32, 256 > | getDefaultPalette () |
static ALWAYS_INLINE void * | getFramebufferAddress () |
static ALWAYS_INLINE void | setPixel (u16 x, u16 y, u32 color) |
static ALWAYS_INLINE void | clear (auto color) |
Clear the display to a color. More... | |
Friends | |
template<auto , template< auto > typename> | |
struct | bsp::drv::Display |
Declare Display frontend as friend. More... | |
Display Channel implementation for Asgard.
Context | Display Context |
|
delete |
|
inlinestatic |
Clear the display to a color.
color | Index for the color |
|
inlinestatic |
Deinit function.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestaticnoexcept |
|
inlinestaticnoexcept |
|
inlinestatic |
|
inlinestatic |
|
inlinestaticnoexcept |
|
inlinestaticnoexcept |
|
friend |
Declare Display frontend as friend.