Change to double buffering and SPRT_16
This commit is contained in:
@@ -37,6 +37,14 @@ namespace JabyEngine {
|
||||
static void set_offset(uint16_t x, uint16_t y);
|
||||
};
|
||||
|
||||
static uint32_t update_id() {
|
||||
return Display::current_id;
|
||||
}
|
||||
|
||||
static uint32_t render_id() {
|
||||
return Display::current_id ^ 1;
|
||||
}
|
||||
|
||||
namespace internal {
|
||||
void render(const uint32_t* data, size_t words);
|
||||
void render_dma(const uint32_t* data);
|
||||
|
Reference in New Issue
Block a user