Andrew Corrigan
							
						 
						
							
							
							
								
							
								38bb65617e 
								
							
								 
							
						 
						
							
							
								
								reduces warnings  
							
							 
							
							
								
							
							
						 
						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  
					 
				
					
						
							
							
								   Caleb Gingles
							
						 
						
							
							
							
								
							
								fbdc947802 
								
							
								 
							
						 
						
							
							
								
								Improve 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
							
						 
						
							
							
							
								
							
								0c6d5d3702 
								
							
								 
							
						 
						
							
							
								
								Added NVG_ANTIALIAS into read me, commented line cap/join  
							
							 
							
							
								
							
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Jim Tilander
							
						 
						
							
							
							
								
							
								683785dbfa 
								
							
								 
							
						 
						
							
							
								
								Quick guard against NULL ptr dereference of texture type on CPU side  
							
							 
							
							
								
							
							
						 
						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  
					 
				
					
						
							
							
								   Kyle Gretchev
							
						 
						
							
							
							
								
							
								fa8d2a9d03 
								
							
								 
							
						 
						
							
							
								
								Added glMapBuffer cast  
							
							 
							
							 
							
							
								
							
							
							Cast void* to char* to remove compiler warning in C++ project in VS2013 
							
						 
						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
							
						 
						
							
							
							
								
							
								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  
					 
				
					
						
							
							
								   Doug Binks
							
						 
						
							
							
							
								
							
								e6841cb628 
								
							
								 
							
						 
						
							
							
								
								Simplified attrib binding and removed color vertex attribute for a reasonable perf bonus.  
							
							 
							
							
								
							
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Mikko Mononen
							
						 
						
							
							
							
								
							
								277d5ebb3b 
								
							
								 
							
						 
						
							
							
								
								Added experimental GL3 back end which buffers whole frame  
							
							 
							
							
								
							
							
						 
						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
							
						 
						
							
							
							
								
							
								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
							
						 
						
							
							
							
								
							
								a1001539ae 
								
							
								 
							
						 
						
							
							
								
								STBI_NOTUSED  
							
							 
							
							
								
							
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Kyle Gretchev
							
						 
						
							
							
							
								
							
								28e40aeb30 
								
							
								 
							
						 
						
							
							
								
								gl2 size cast  
							
							 
							
							
								
							
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Kyle Gretchev
							
						 
						
							
							
							
								
							
								4aefd89450 
								
							
								 
							
						 
						
							
							
								
								Added float cast to viewport size  
							
							 
							
							 
							
							
								
							
							
							Added float cast to remove compiler warnings. 
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Andrew Corrigan
							
						 
						
							
							
							
								
							
								74dddb693e 
								
							
								 
							
						 
						
							
							
								
								suppresses "explicitly assigning a variable to itself warning" and potential unused parameter warnings  
							
							 
							
							
								
							
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Andrew Corrigan
							
						 
						
							
							
							
								
							
								79e2d7cad8 
								
							
								 
							
						 
						
							
							
								
								stdio.h  
							
							 
							
							
								
							
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Andrew Corrigan
							
						 
						
							
							
							
								
							
								1fe6cb36dc 
								
							
								 
							
						 
						
							
							
								
								NANOVG_GLES2_IMPLEMENTATION implies NANOVG_GLES2  
							
							 
							
							
								
							
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Mikko Mononen
							
						 
						
							
							
							
								
							
								a888e741ac 
								
							
								 
							
						 
						
							
							
								
								Use GL_R8 instead of GL_RED on ES3  
							
							 
							
							
								
							
							
						 
						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
							
						 
						
							
							
							
								
							
								ecb0a9c394 
								
							
								 
							
						 
						
							
							
								
								Removed scaling from nvgTextBounds and nvgVertMetrics and commented the behavior  
							
							 
							
							
								
							
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Andrew Corrigan
							
						 
						
							
							
							
								
							
								c0883e3e6a 
								
							
								 
							
						 
						
							
							
								
								GLES3  
							
							 
							
							
								
							
							
						 
						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
							
						 
						
							
							
							
								
							
								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
							
						 
						
							
							
							
								
							
								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
							
						 
						
							
							
							
								
							
								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  
							
							 
							
							
								
							
							
						 
						12 years ago