Mikko Mononen
b47f256607
Updated fontstash
11 years ago
Mikko Mononen
8695be3216
Update README.md
11 years ago
Mikko Mononen
6a4cb80891
Merge pull request #50 from devnought/dev
Variable initialization, unused var removal, and casts.
11 years ago
Mikko Mononen
0262883c55
Fixes for AA on retina, a bit finer tessellation
- changed tessellation threshold from 0.3 to 0.25
- fixed scissor AA on retina
- fixed stroke AA on retina
11 years ago
Kyle Gretchev
db5c78fb00
Variable initialization, unused var removal, and casts.
Removed some unused variables to silence compiler warnings, initialized
variables to 0, added varialbe casts to silence additional compiler
warnings.
11 years ago
Mikko Mononen
8b55ae414e
Improved miter and bevel line joins
11 years ago
Mikko Mononen
22e58d6d83
Merged latest changes from fontstash
- merged font stash optional FreeType support
11 years ago
Mikko Mononen
ba3c0cbce1
Fix for issue #40 : Added support to render using premultiplied alpha
- added support to take screen shots
- added support to render to frame buffer using premultiplied alpha
- fixed spelling NVGaling -> NVGalign
11 years ago
Mikko Mononen
51c7d9fc6b
Merge pull request #39 from SirSlaxalot/master
fixed error return value
11 years ago
Sebastian Wagner
7013386026
fixed error return value
11 years ago
Mikko Mononen
5de5c1d2a0
Improve stroke rendering
- added better logic for inner bevels
- tweaks to reduce overdraw at edges
- fixed convex shape logic
11 years ago
Mikko Mononen
53ae1d0804
Merge pull request #38 from andrewcorrigan/master
reduces warnings
11 years ago
Andrew Corrigan
38bb65617e
reduces warnings
11 years ago
Mikko Mononen
2d11c2ee8a
Merge pull request #36 from dougbinks/master
Reset pixel storage settings after load texture.
11 years ago
Doug Binks
5d8e63c81c
Another reset pixel storage settings after load texture.
11 years ago
Doug Binks
a5965635a6
Reset pixel storage settings after load texture.
11 years ago
Mikko Mononen
9d51cb6818
Update windows build settings as discussed in issue #24
11 years ago
Mikko Mononen
677c85668e
Merge pull request #35 from Nairou/master
Improve VC support
11 years ago
Caleb Gingles
fbdc947802
Improve VC support
11 years ago
Mikko Mononen
7f07b7953c
Merge pull request #34 from Nairou/patch-1
Remaining change for VC support
11 years ago
Caleb Gingles
731cb55221
Update nanovg.c
11 years ago
Mikko Mononen
99bd7b358e
Moving variables at top of blocks for better VC support
11 years ago
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
0c6d5d3702
Added NVG_ANTIALIAS into read me, commented line cap/join
11 years ago
Mikko Mononen
31f8f6075c
Merge pull request #33 from dougbinks/timing
Support for cases where the gl header does not include GL_ARB_TIMER_QUERY
11 years ago
Mikko Mononen
9ad2fa14ae
Merge pull request #32 from jtilander/master
Quick guard against NULL ptr dereference of texture type on CPU side
11 years ago
Doug Binks
fe22b8c07d
Support for cases where the gl header does not include GL_ARB_TIMER_QUERY
11 years ago
Jim Tilander
683785dbfa
Quick guard against NULL ptr dereference of texture type on CPU side
11 years ago
Mikko Mononen
cdca70aea5
Merge pull request #31 from dougbinks/timing
Timing for CPU inner frame and GPU inner frame added
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
a1e99ea940
Bug fix for index into queries.
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
b043187a51
gl3buf refactoring
- implemented missing scissor from draw triangles
- buffer a whole frame of uniforms
- moved paint to uniform conversion earlier
- simplified render loops and data structures
- renamed bunch of things
- combined shaders, use define to disable AA
11 years ago
Mikko Mononen
85fb384a3d
UBO fixes
- correct fix for ubo memroy allocation (use returned alignment instead
of struct size)
- separated convex fill to own command type
- moved uboPos to call struct
11 years ago
Mikko Mononen
3b8c63b6d5
Fixed bug on ubo allocation, formatting fixes
11 years ago
Mikko Mononen
3bc6c53ebd
Merge pull request #29 from devnought/dev
Added glMapBuffer cast
11 years ago
Kyle Gretchev
fa8d2a9d03
Added glMapBuffer cast
Cast void* to char* to remove compiler warning in C++ project in VS2013
11 years ago
Mikko Mononen
79c0746285
Merge pull request #28 from jtilander/master
Fixed some warnings with MS compiler
11 years ago
Mikko Mononen
24b51f1d63
Merge pull request #27 from dougbinks/develop2
Moved nanovg_gl3buf.h to uniform buffers
11 years ago
Mikko Mononen
4a1e66a515
Do bevels only at control points
11 years ago
Mikko Mononen
0ec2be7a6c
Added support for line caps and joins
11 years ago
Jim Tilander
8e434b0467
Fixed some warnings with MS compiler
11 years ago
Doug Binks
16ff847c0f
Move to using uniform buffer objects for fragment shader, which is set once per frame.
11 years ago
Doug Binks
4a51b78069
Merge branch 'master' of https://github.com/memononen/nanovg into develop2
11 years ago
Doug Binks
ddf95cef5f
Corrected some spaces to tabs.
11 years ago
Doug Binks
c86e247433
Moved per call view uniform update to once per frame UBO update.
11 years ago
Mikko Mononen
9576341b7e
Reversed path winding to make it actually ccw
11 years ago