Files
Upsilon/ion/src/emscripten/display.h
Romain Goyet 80c6d052f2 [ion] Emscripten display uses an internal framebuffer
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
2017-07-21 14:02:12 +02:00

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