TerminalDisplay: Rendering performance improvements.

VertexBuffer: Added some helper functions to add and set quads.
GlyphDrawable: Added a function to draw the glyph into a VertexBuffer.
This commit is contained in:
Martín Lucas Golini
2022-08-25 02:59:20 -03:00
parent 0924b715ee
commit eec04b3a0b
8 changed files with 442 additions and 96 deletions
+1 -1
View File
@@ -131,7 +131,7 @@ EE_MAIN_FUNC int main( int argc, char* argv[] ) {
args::Flag vsync( parser, "vsync", "Enable vsync", { "vsync" } );
args::ValueFlag<Uint32> maxFPS( parser, "max-fps",
"Maximum rendering frames per second of the terminal",
{ "--max-fps" }, 60 );
{ "max-fps" }, 60 );
args::Flag benchmarkModeFlag( parser, "benchmark-mode", "Render as much as possible.",
{ "benchmark-mode" } );