Mikko Mononen
1517841023
Performance timer tweaks
- moved performance counter and drawing to separate file
- tweaks to performance drawing
11 years ago
Doug Binks
7d6058c572
Changed name of new functionality to keep other examples compiling.
11 years ago
Doug Binks
e21683f14e
Added name to timer render.
11 years ago
Doug Binks
bb6b19c410
Added GPU timer and fixed up formatting.
11 years ago
Doug Binks
a63854859e
Added an inner frame CPU timer.
Needs names for the UI components to distinguish them, and probably stacking vertically for easier comparison.
11 years ago
Mikko Mononen
0ec2be7a6c
Added support for line caps and joins
11 years ago
Mikko Mononen
6840bf8478
Simplified back-end API a little
- removed assize from the back-end api
- moved image to paint in renderTriangles call
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
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
336de19a16
Better rounding for quantization to remove text rendering jitter
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
r-lyeh
0da08eec2e
MSVC compile fix (example); win32 screenshot added
11 years ago
Andrew Corrigan
1dd4cf0104
uses GLEW with Linux to avoid issues with glUniform1f, explicitly links glfw3 and C math library
11 years ago
Mikko Mononen
99e7d9b21d
added texture atlas size to glnvgCreate()
11 years ago
Mikko Mononen
68d27124a8
- decorated math functions
- updated font stash
- added end parameter to text (can draw substring)
- text and text measure return advance/width
11 years ago
Mikko Mononen
6c0d41a124
Fixed small arc rendering, improved example, added screenshot
- fixed arc rendering for small arcs
- added color wheel to example
- added screenshot
11 years ago
Mikko Mononen
b89907ba6b
First commit
11 years ago