mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-22 23:30:37 +01:00
We operate on a framebuffer (push/pull rect), and then copy it all to the screen at once. This avoids reading back from video memory. All in all, it goes *much* faster this way. Change-Id: I472d35988fde876906a9be71e0666b2c238114b3
18 lines
197 B
C++
18 lines
197 B
C++
#ifndef ION_EMSCRIPTEN_DISPLAY_H
|
|
#define ION_EMSCRIPTEN_DISPLAY_H
|
|
|
|
#include <ion/display.h>
|
|
|
|
namespace Ion {
|
|
namespace Display {
|
|
namespace Emscripten {
|
|
|
|
void init();
|
|
void refresh();
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
#endif
|