10 Commits

Author SHA1 Message Date
Mikko Mononen
aaafbd32c6 Renamed FPScounter to PerfGraph
- Renamed FPScounter to PerfGraph
- dump avg times at exit
2014-02-18 21:51:28 +02:00
Mikko Mononen
1517841023 Performance timer tweaks
- moved performance counter and drawing to separate file
- tweaks to performance drawing
2014-02-18 21:40:52 +02:00
Mikko Mononen
1378269815 Fixed unused variables and scissor under zoom
- added NVG_NOTUSED to suppress unused param warnings
- fixed scissor anti-aliased border width when zoomed
2014-02-16 12:44:00 +02:00
Andrew Corrigan
1fe6cb36dc NANOVG_GLES2_IMPLEMENTATION implies NANOVG_GLES2 2014-02-14 14:59:34 -05:00
Mikko Mononen
d41083886a Added retina/hi-dpi support
- fixed off-by-one pixels from demo
- added device-pixel-ratio support (retina support)
- added nvgEndFrame()
2014-02-14 19:13:12 +02:00
Mikko Mononen
8cb6eea358 Tweaks to GL ES
- use nvgCreateGLES2() instead of nvgCreateGL2() when NANOVG_GLES2 is
specified (ditto for gl3)
- use GL_RED instead of GL_LUMINANCE in ES3
2014-02-14 18:27:26 +02:00
Mikko Mononen
d2acabf325 Fixes for GLES2 2014-02-14 14:29:16 +02:00
Mikko Mononen
cd376082ba Added MSAA option for backends
- added option to turn off AA fringe generation
- added examples which use no AA fringes and  MSAA
2014-02-14 13:11:32 +02:00
Mikko Mononen
abbf2792c1 Merged GL2 and GLES2 backends
- merged GL ES2 and GL2 backends
- GL2 uses now same structure as GL3
2014-02-14 11:33:45 +02:00
Mikko Mononen
c8a3ba4b69 Added OpenGL ES 2.0 back end 2014-02-14 11:26:01 +02:00