Commit Graph
21 Commits
Author SHA1 Message Date
Alexander Overvoorde c56a683eed Disable OpenGL vsync when uncap fps option is enabled 2016-07-27 04:01:25 +02:00
Michał Janiszewski dd25cdc4f4 Change gfx_clear argument type
`colour` gets passed on to IDrawingContext::Clear, which expects
uint32
2016-07-17 20:41:19 +01:00
Michał Janiszewski a6d0e6916e Fix function definitions to match their declarations
This makes sure every function is properly declared, which includes
proper `extern` wrappers.
2016-07-14 14:11:49 +02:00
Ted John f796ef5122 fix drawing of text 2016-06-11 23:14:22 +01:00
Ted John 8185a88e47 implement drawing solid coloured sprites 2016-06-11 18:28:03 +01:00
Ted John 5a69e262d7 delete drawing engine if it fails to initialise 2016-06-08 18:14:26 +01:00
Ted John 876336f455 fallback to software mode if engine fails to initialise 2016-06-07 22:47:31 +01:00
Ted John 79292b56ad allow disabling of OpenGL 2016-06-07 22:47:31 +01:00
Ted John 313110ab8d reinstate hardware display 2016-06-07 22:47:31 +01:00
Ted John 3b627651aa add drawing engine config 2016-06-07 22:47:31 +01:00
Ted John ffd7b7f7e0 implement draw line for OpenGL 2016-06-07 22:45:36 +01:00
Ted John 18f3aa12a1 fix scrolling text 2016-06-07 22:45:36 +01:00
Ted John 996202ac43 remove gScreenDPI 2016-06-07 22:45:36 +01:00
Ted John 932dec75d0 do not shift viewport pixels on OpenGL 2016-06-07 22:45:36 +01:00
Ted John a8fed0c4b8 remove more references to gScreenDPI 2016-06-07 22:45:36 +01:00
Ted John 8920c73ea4 add software / hardware rendering switch 2016-06-07 22:45:36 +01:00
Ted John 2fa0c7977a add OpenGL drawing engine with FillRect impl 2016-06-07 22:45:36 +01:00
Ted John d20a8a1daa re-route draw sprite through IDrawingContext 2016-06-07 22:45:36 +01:00
Ted John 90704ac1fe port gfx_fill_rect to IDrawingContext 2016-06-07 22:45:36 +01:00
Ted John 6e8cc5469a start introducing the IDrawingContext 2016-06-07 22:45:36 +01:00
Ted John 3da57d0865 route old functions to new drawing interface
- hardware display temporarily removed
- rain, fps and other non-window elements not drawn
2016-06-07 22:45:36 +01:00