Mikko Mononen
f56b9e6c42
Started projects section
- added projects section to read me
- added processing API link (issue #135 )
10 years ago
Mikko Mononen
8519f09569
Changed demos to use types not structs
10 years ago
Mikko Mononen
19f19847fe
Typedef'd structs.
- added typedefs for all structs
- fixed some compiler warnings
10 years ago
Mikko Mononen
14fe41af89
Merge pull request #129 from andrewcorrigan/master
only specify precision for fragment shader
10 years ago
Mikko Mononen
d26ddd6c1f
Merge branch 'cmaughan-nanovg_master'
10 years ago
Mikko Mononen
a52c9a1241
Merged font texture creationg conflict.
10 years ago
Andrew Corrigan
cb5f9cdd50
spaces --> tabs
11 years ago
Andrew Corrigan
ad1f260b91
spaces --> tabs
11 years ago
Andrew Corrigan
ad59d66bf0
only specifies precision for fragment shader, vertex shader defaults to highp as per gles2/gles3 spec
11 years ago
Mikko Mononen
84595438f3
Fix for issue #127
- set stb_image flags so that it loads correct data in iPhone
11 years ago
Mikko Mononen
68f9e4b4c4
Merge pull request #125 from starwing/master
update upstream stb things.
11 years ago
StarWing
5dd2c49fe6
update upstream stb things.
11 years ago
Mikko Mononen
7d1ec4ddd8
Merge pull request #123 from starwing/master
Auto detect and resize text altas texture.
11 years ago
StarWing
4712e5b615
Auto detect and resize text atlas texture.
11 years ago
Mikko Mononen
05f8449978
Merge pull request #124 from andrewcorrigan/master
allows for nanovg_gl prototypes to be declared simultaneously
11 years ago
Andrew Corrigan
0ffc9d5d4e
allows for nanovg_gl prototypes to be declared simultaneously for multiple backends
11 years ago
Christopher Maughan
62fccfbaad
Removed accidental d3d11 project.
11 years ago
Christopher Maughan
101b1a9c3a
Fixed curlies
11 years ago
Christopher Maughan
a23e6c4818
Also set the mipmap flag for GL ;)
11 years ago
Christopher Maughan
b79ab71a71
Added mipmap generation option - useful for clients that need images with mipmaps for better quality scaling.
Tweaked premake to remove some windows warnings.
11 years ago
Mikko Mononen
f0b503d9cc
Font stash: store pref glyph as index instead of pointer
11 years ago
Mikko Mononen
05c8fa29d1
Merge pull request #120 from sgraham/warnings-attempt-2
second attempt at avoiding warnings at /W4 on vs2013
11 years ago
Mikko Mononen
b8e981bc3f
Merge pull request #121 from sgraham/zero-w-scissor
use -1 as the 'no scissor' value, rather than 0, so that 0 width still scissors
11 years ago
Scott Graham
bc136b26c8
clamp on scissor, fix nvgReset
11 years ago
Scott Graham
aefc9a6104
use -1 as the 'no scissor' value, rather than 0, so that 0 width still scissors
11 years ago
Scott Graham
c20125c941
second attempt at avoiding warnings at /W4 on vs2013
11 years ago
Mikko Mononen
ed86765026
Removed unused mx,my,len
11 years ago
Mikko Mononen
197af889db
Merge pull request #115 from cforfang/small_fixes
Memory leak + small fixes
11 years ago
Christian Forfang
565fa16265
Fixed missing void in function with no parameters
11 years ago
Christian Forfang
893f31c318
Fixed potentially uninitialized local variable warning
11 years ago
Christian Forfang
119f315a75
Fixed memory leak
11 years ago
Mikko Mononen
0c7feda665
Changed not used macro from do {} while(0), to for(;;) { ... break; }
11 years ago
Mikko Mononen
ec2dfba0f1
Removed unused mu variable
11 years ago
Mikko Mononen
ff96ef9565
Merge pull request #104 from starwing/master
fix nvgCreateImageFromHandle for GLES2/3.
11 years ago
Mikko Mononen
c648e0dcf1
Fix for issue #108
- fixed stroke cap tessellation amount calculation
11 years ago
Mikko Mononen
a98d17cf24
Fix for issue #111
- added nvgQuadTo, draws quadratic bezier curve segment
11 years ago
Mikko Mononen
709475c513
API changed! Fixed slowdown, Shader uses premultiplied colors
- all colors in the shader is handled as premultiplied
- removed alphaBlend param from nvgBeginFrame(), it became obsolete
- added NVGL_TEXTURE_PREMULTIPLIED flag
- separated FBO example
- FBOs are treated as premultipied for correct alpha
- changed FBO storage from depth/stencil 24/8 to stencil 8
- moved discard to end of shader which restores the render speed again
11 years ago
StarWing
9b8de47d79
fix nvgCreateImageFromHandle for GLES2/3.
11 years ago
Mikko Mononen
0dbf53ebad
Updated screenshot
11 years ago
Mikko Mononen
0ae3a54bce
Added links to nanovg ports
11 years ago
Mikko Mononen
003561e721
Fix for issue #92
- added (optional) 3-pass stencil trick to stroke rendering, reduces
overdraw artifacts, a little slower
- fixed some text bounds issues
11 years ago
Mikko Mononen
83c876b9a8
Made FBO helper to work on OSX when using GL2
11 years ago
Mikko Mononen
84bec2962e
Fix for issue #95
- Added alpha for images
- Added global alpha
11 years ago
Mikko Mononen
f0994aee92
Fix for issue #100
- fixed glyph position bounds for whitespace
11 years ago
Mikko Mononen
7a06c56edb
Fixes and tweaks for frame buffer handling
- fixed flags setup in nvglCreateImageFromHandle
- changed frame buffer to only compile on GL3
- changed nvgluCreateFramebuffer() to return FBO struct instead of
filling existing one (for consistency)
11 years ago
Mikko Mononen
43a8dcc981
Merge pull request #101 from starwing/master
add external APIs to GL backend to get native Texture Id.
11 years ago
Mikko Mononen
adb7528ed3
Merge pull request #93 from jacereda/master
Relax stroke width limit
11 years ago
Mikko Mononen
59030bf722
Separated fill and store expansion code
11 years ago
Mikko Mononen
7a576015e4
Merge pull request #102 from notlion/gles-highp
Use highp precision when available for GLES
11 years ago
Ryan Alexander
fa12dd899b
Use highp precision when available for GLES
11 years ago