b112ce00b7 
								
							
								 
							
						 
						
							
							
								
								added new graph style  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								14df146ea1 
								
							
								 
							
						 
						
							
							
								
								Added nvgIntersectScissor()  
							
							- added function to allow to combine scissor rects using intersection 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8519f09569 
								
							
								 
							
						 
						
							
							
								
								Changed demos to use types not structs  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								19f19847fe 
								
							
								 
							
						 
						
							
							
								
								Typedef'd structs.  
							
							- added typedefs for all structs
- fixed some compiler warnings 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4712e5b615 
								
							
								 
							
						 
						
							
							
								
								Auto detect and resize text atlas texture.  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								0dbf53ebad 
								
							
								 
							
						 
						
							
							
								
								Updated screenshot  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								83c876b9a8 
								
							
								 
							
						 
						
							
							
								
								Made FBO helper to work on OSX when using GL2  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								84bec2962e 
								
							
								 
							
						 
						
							
							
								
								Fix for issue  #95  
							
							- Added alpha for images
- Added global alpha 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								bea097165b 
								
							
								 
							
						 
						
							
							
								
								add external APIs to GL backend to get native Texture Id.  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								44c168b84e 
								
							
								 
							
						 
						
							
							
								
								Fix for issue  #75  
							
							- fixed copy/paste bug in bevel calculations 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								611b043fff 
								
							
								 
							
						 
						
							
							
								
								Fix for issue  #77  
							
							- line caps did not consider AA width 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								57308993cb 
								
							
								 
							
						 
						
							
							
								
								Removed GLFW 2 option macro.  
							
							GLFW_NO_GLU is a GLFW 2 feature.  GLFW 3 does not include the GLU header
by default. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								df537491f2 
								
							
								 
							
						 
						
							
							
								
								Include GLFW_INCLUDE_GLCOREARB only on Macs  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a07cb82780 
								
							
								 
							
						 
						
							
							
								
								add support for MinGW.  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7fc116418c 
								
							
								 
							
						 
						
							
							
								
								Fix for issue  #14  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								be16b4dff3 
								
							
								 
							
						 
						
							
							
								
								Made old GL backends obsolete, added docs  
							
							- added documentation about changed GL state
- made old GL2 and GL3 backends obsolete 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6edc46e5b0 
								
							
								 
							
						 
						
							
							
								
								Allow small strokes, fixed textBoxBounds()  
							
							- added test for multiple stroke widths
- allow stroke width down to 1px size, then scale with alpha
- fixed textBoxBounds() in hi-dpi 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b416f76b1c 
								
							
								 
							
						 
						
							
							
								
								Added nvgTextBoxBounds, fixed nvgTextBounds  
							
							- nvgTextBounds() API changed, assumes x,y as input too
- fixed nvgTextBounds() return values
- added nvgTextBoxBounds()
- text line width is handle more consistently
- added note about return values of text measure funds
- changed demo to show text(box)bounds usage 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								407cd75a98 
								
							
								 
							
						 
						
							
							
								
								Fixed rendering artefacts when not using uniform buffers  
							
							- made uniform buffer support behind separate define for easier toggling
- calculate scissor and stroke alpha outside type selection to simplify
the shader (or else it produces rendering artefacts)
- restore default pixel store settings instead of restoring old state
- set active texture to 0 when starting to render a frame 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9d367dcb81 
								
							
								 
							
						 
						
							
							
								
								GL3buf backend supports GL2 too (not yet enabled)  
							
							- added support for GL(ES)2 for nanovg_gl3buf (something is still not
quite there)
- nanovg now sets all required GL state
- removed compiler warnings about unused vars 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fdb96903c8 
								
							
								 
							
						 
						
							
							
								
								Fixed text related calculations for hi-dpi rendering  
							
							- calculate all text related stuff using scaling
- removed a couple of compiler warnings
- tweaked caret picking 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								635f4a4afb 
								
							
								 
							
						 
						
							
							
								
								Added multi-line text drawing  
							
							- fixed some warnings
- changed nvgLetterSpacing() to nvgTextLetterSpacing()
- added nvgTextBox()
- added nvgTextLineHeight()
- added some documentation 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ff8b521506 
								
							
								 
							
						 
						
							
							
								
								Added text break line and glyph position functions  
							
							- added debug configs for the lib
- added more data for font stash text iterator (ptr to current and next
position in string, code point)
- renamed nvgVertMetrics() to nvgTextMetrics()
- added nvgTextGlyphPositions() which returns glyph x position for the
text
- added nvgTextBreakLines breaks a text into multiple rows based on
newlines and max row width
- tweaked tessellation tolerance 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c3f50b9c01 
								
							
								 
							
						 
						
							
							
								
								Removed nvgIsBlack, and added isBlack to demo.c  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3d3582cd9a 
								
							
								 
							
						 
						
							
							
								
								Moved to floating point color via NVGcolor structure.  
							
							Currently working with gl3buf backend. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								fbdc947802 
								
							
								 
							
						 
						
							
							
								
								Improve VC support  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								aaafbd32c6 
								
							
								 
							
						 
						
							
							
								
								Renamed FPScounter to PerfGraph  
							
							- Renamed FPScounter to PerfGraph
- dump avg times at exit 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1517841023 
								
							
								 
							
						 
						
							
							
								
								Performance timer tweaks  
							
							- moved performance counter and drawing to separate file
- tweaks to performance drawing 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fe22b8c07d 
								
							
								 
							
						 
						
							
							
								
								Support for cases where the gl header does not include GL_ARB_TIMER_QUERY  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7d6058c572 
								
							
								 
							
						 
						
							
							
								
								Changed name of new functionality to keep other examples compiling.  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e21683f14e 
								
							
								 
							
						 
						
							
							
								
								Added name to timer render.  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a1e99ea940 
								
							
								 
							
						 
						
							
							
								
								Bug fix for index into queries.  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bb6b19c410 
								
							
								 
							
						 
						
							
							
								
								Added GPU timer and fixed up formatting.  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								0ec2be7a6c 
								
							
								 
							
						 
						
							
							
								
								Added support for line caps and joins  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								37c03fa881 
								
							
								 
							
						 
						
							
							
								
								win32 changes.  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								277d5ebb3b 
								
							
								 
							
						 
						
							
							
								
								Added experimental GL3 back end which buffers whole frame  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6840bf8478 
								
							
								 
							
						 
						
							
							
								
								Simplified back-end API a little  
							
							- removed assize from the back-end api
- moved image to paint in renderTriangles call 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								1fe6cb36dc 
								
							
								 
							
						 
						
							
							
								
								NANOVG_GLES2_IMPLEMENTATION implies NANOVG_GLES2  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								c0883e3e6a 
								
							
								 
							
						 
						
							
							
								
								GLES3  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d2acabf325 
								
							
								 
							
						 
						
							
							
								
								Fixes for GLES2  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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