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
56574f6eb3
Apply font scaling to nvgTextBounds and nvgVertMetrics
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
6bf81b6727
GL3: Combined vert shaders, fixed half pixel offset
11 years ago
Mikko Mononen
39602081e8
Fix for issue #11, added C++ guards
11 years ago
Mikko Mononen
9f4993e6ff
Apllied vs2010 compiler fixes from fontstash.
11 years ago
Mikko Mononen
336de19a16
Better rounding for quantization to remove text rendering jitter
11 years ago
Mikko Mononen
e8c4ec22bf
Fix issue #10
- link to framework CoreVideo on OSX, fixes compiling on OSX 10.9
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
Mikko Mononen
714d18a4c6
Merge pull request #9 from r-lyeh/master
MSVC compile fix (example); win32 screenshot added
11 years ago
r-lyeh
0da08eec2e
MSVC compile fix (example); win32 screenshot added
11 years ago
Mikko Mononen
6773ef52de
Fixed issue #8
11 years ago
Mikko Mononen
c8e2466447
Fix text rendering flickering under rotation
- quantize font rendering scale
- round kerning values for less flicker
11 years ago
Mikko Mononen
4431218724
Fixed issue #6, font atlas size was not passed to create texture
11 years ago
Mikko Mononen
07b9a24367
Updated fontstash
11 years ago
Mikko Mononen
aeefcd1c2f
Merge pull request #4 from andrewcorrigan/master
fix for https://github.com/memononen/nanovg/issues/3
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
786dffa0cb
First stab at documentation.
11 years ago
Mikko Mononen
4b9dc973f7
Fixed arcTo, small additions to API
- fixed nvgArcTo
- added nvgTransRGBA, allows to change alpha of color
- added nvgFindFont, allows to find font id by name
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
64e46db6f7
Fixed typo in readme
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
3507692c1d
Few more additions to readme
11 years ago
Mikko Mononen
4d1ef0cace
Clean up
- removed unused files
- added license
- added readme stub
11 years ago
Mikko Mononen
b89907ba6b
First commit
11 years ago