Mikko Mononen
aaafbd32c6
Renamed FPScounter to PerfGraph
- Renamed FPScounter to PerfGraph
- dump avg times at exit
11 years ago
Mikko Mononen
1517841023
Performance timer tweaks
- moved performance counter and drawing to separate file
- tweaks to performance drawing
11 years ago
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
11 years ago
Andrew Corrigan
1fe6cb36dc
NANOVG_GLES2_IMPLEMENTATION implies NANOVG_GLES2
11 years ago
Mikko Mononen
d41083886a
Added retina/hi-dpi support
- fixed off-by-one pixels from demo
- added device-pixel-ratio support (retina support)
- added nvgEndFrame()
11 years ago
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
11 years ago
Mikko Mononen
d2acabf325
Fixes for GLES2
11 years ago
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
11 years ago
Mikko Mononen
abbf2792c1
Merged GL2 and GLES2 backends
- merged GL ES2 and GL2 backends
- GL2 uses now same structure as GL3
11 years ago
Mikko Mononen
c8a3ba4b69
Added OpenGL ES 2.0 back end
11 years ago
Mikko Mononen
3d3c302e6c
GL3 uber shader
- added milliseconds to fps counter
- smooth fps reading a bit more
- changed GL3 to uber shader
11 years ago
Mikko Mononen
060b4521af
use glewExperimental = GL_TRUE on 3.2 core profile
11 years ago
Mikko Mononen
8b234ca953
Improved rendering performance of convex shapes and on gl3 back-end
- set swap interval to 0 to better see performance
- draw convex shapes without stencil to speed things up
- improve vertex buffer upload for gl3
11 years ago
Mikko Mononen
9b00b7aaf5
Implemented OGL 3.2 core profile back-end
- moved demo stuff to separate file
- created two separate examples for gl2 and gl3
- initial stab at OGL 3.2 core profile back-end (currently twice as
slows as 2.0)
- API change: glBeginFrame() takes view witdth and height as input
- added FPS counter to demo
11 years ago