Commit graph

  • fe22b8c07d Support for cases where the gl header does not include GL_ARB_TIMER_QUERY Doug Binks 2014-02-18 18:17:09 +01:00
  • 683785dbfa Quick guard against NULL ptr dereference of texture type on CPU side Jim Tilander 2014-02-18 08:17:56 -08:00
  • cdca70aea5 Merge pull request #31 from dougbinks/timing Mikko Mononen 2014-02-18 17:10:46 +02:00
  • 7d6058c572 Changed name of new functionality to keep other examples compiling. Doug Binks 2014-02-18 15:45:41 +01:00
  • e21683f14e Added name to timer render. Doug Binks 2014-02-18 15:32:04 +01:00
  • a1e99ea940 Bug fix for index into queries. Doug Binks 2014-02-18 13:32:55 +01:00
  • bb6b19c410 Added GPU timer and fixed up formatting. Doug Binks 2014-02-18 12:26:41 +01:00
  • a63854859e Added an inner frame CPU timer. Needs names for the UI components to distinguish them, and probably stacking vertically for easier comparison. Doug Binks 2014-02-18 11:38:55 +01:00
  • b043187a51 gl3buf refactoring Mikko Mononen 2014-02-17 22:11:28 +02:00
  • 85fb384a3d UBO fixes Mikko Mononen 2014-02-17 18:20:00 +02:00
  • 3b8c63b6d5 Fixed bug on ubo allocation, formatting fixes Mikko Mononen 2014-02-17 17:01:28 +02:00
  • 3bc6c53ebd Merge pull request #29 from devnought/dev Mikko Mononen 2014-02-17 10:39:24 +02:00
  • fa8d2a9d03 Added glMapBuffer cast Kyle Gretchev 2014-02-17 03:15:08 -05:00
  • 79c0746285 Merge pull request #28 from jtilander/master Mikko Mononen 2014-02-17 09:30:01 +02:00
  • 24b51f1d63 Merge pull request #27 from dougbinks/develop2 Mikko Mononen 2014-02-17 08:31:31 +02:00
  • 4a1e66a515 Do bevels only at control points Mikko Mononen 2014-02-17 08:30:51 +02:00
  • 0ec2be7a6c Added support for line caps and joins Mikko Mononen 2014-02-17 00:25:26 +02:00
  • 8e434b0467 Fixed some warnings with MS compiler Jim Tilander 2014-02-16 14:17:13 -08:00
  • 16ff847c0f Move to using uniform buffer objects for fragment shader, which is set once per frame. Doug Binks 2014-02-16 22:19:06 +01:00
  • 4a51b78069 Merge branch 'master' of https://github.com/memononen/nanovg into develop2 Doug Binks 2014-02-16 17:59:02 +01:00
  • ddf95cef5f Corrected some spaces to tabs. Doug Binks 2014-02-16 17:56:34 +01:00
  • c86e247433 Moved per call view uniform update to once per frame UBO update. Doug Binks 2014-02-16 17:50:04 +01:00
  • 9576341b7e Reversed path winding to make it actually ccw Mikko Mononen 2014-02-16 18:41:56 +02:00
  • aa3925e945 Merge pull request #26 from dougbinks/develop2 Mikko Mononen 2014-02-16 18:45:26 +02:00
  • e6841cb628 Simplified attrib binding and removed color vertex attribute for a reasonable perf bonus. Doug Binks 2014-02-16 17:31:35 +01:00
  • 37c03fa881 win32 changes. Doug Binks 2014-02-09 21:29:46 +01:00
  • 3aa2d9e19f Merge pull request #23 from andrewcorrigan/master Mikko Mononen 2014-02-16 17:38:25 +02:00
  • 277d5ebb3b Added experimental GL3 back end which buffers whole frame Mikko Mononen 2014-02-16 14:09:37 +02:00
  • 6840bf8478 Simplified back-end API a little Mikko Mononen 2014-02-16 13:05:24 +02:00
  • e559280657 Merge d8960709d5 into 1378269815 devnought 2014-02-16 05:44:12 -05:00
  • 1378269815 Fixed unused variables and scissor under zoom Mikko Mononen 2014-02-16 12:43:55 +02:00
  • fa402cbeaa Merge pull request #22 from devnought/cwarn Mikko Mononen 2014-02-16 00:10:31 +02:00
  • d8960709d5 Moved #defines to build script Kyle Gretchev 2014-02-15 12:26:32 -05:00
  • a1001539ae STBI_NOTUSED Andrew Corrigan 2014-02-15 11:45:37 -05:00
  • 28e40aeb30 gl2 size cast Kyle Gretchev 2014-02-15 11:32:32 -05:00
  • e39b6cb9ee Merge pull request #20 from andrewcorrigan/master Mikko Mononen 2014-02-15 18:25:11 +02:00
  • 4aefd89450 Added float cast to viewport size Kyle Gretchev 2014-02-15 11:18:37 -05:00
  • 74dddb693e suppresses "explicitly assigning a variable to itself warning" and potential unused parameter warnings Andrew Corrigan 2014-02-15 10:59:05 -05:00
  • 79e2d7cad8 stdio.h Andrew Corrigan 2014-02-14 15:38:18 -05:00
  • 2c5f10f33f Merge pull request #19 from andrewcorrigan/master Mikko Mononen 2014-02-14 22:11:35 +02:00
  • 1fe6cb36dc NANOVG_GLES2_IMPLEMENTATION implies NANOVG_GLES2 Andrew Corrigan 2014-02-14 14:59:34 -05:00
  • ec77029702 Merge dc5212db62 into a888e741ac Andrew Corrigan 2014-02-14 14:45:08 -05:00
  • dc5212db62 NANOVG_GLES2_IMPLEMENTATION implies NANOVG_GLES2 Andrew Corrigan 2014-02-14 14:43:27 -05:00
  • a888e741ac Use GL_R8 instead of GL_RED on ES3 Mikko Mononen 2014-02-14 19:15:19 +02:00
  • d41083886a Added retina/hi-dpi support Mikko Mononen 2014-02-14 19:13:12 +02:00
  • 8cb6eea358 Tweaks to GL ES Mikko Mononen 2014-02-14 18:27:26 +02:00
  • ecb0a9c394 Removed scaling from nvgTextBounds and nvgVertMetrics and commented the behavior Mikko Mononen 2014-02-14 18:07:53 +02:00
  • 6446ee236a Merge pull request #17 from andrewcorrigan/master Mikko Mononen 2014-02-14 17:46:43 +02:00
  • c0883e3e6a GLES3 Andrew Corrigan 2014-02-14 08:54:04 -05:00
  • d2acabf325 Fixes for GLES2 Mikko Mononen 2014-02-14 14:29:16 +02:00
  • cd376082ba Added MSAA option for backends Mikko Mononen 2014-02-14 13:11:32 +02:00
  • abbf2792c1 Merged GL2 and GLES2 backends Mikko Mononen 2014-02-14 11:33:45 +02:00
  • c8a3ba4b69 Added OpenGL ES 2.0 back end Mikko Mononen 2014-02-14 11:26:01 +02:00
  • 56574f6eb3 Apply font scaling to nvgTextBounds and nvgVertMetrics Mikko Mononen 2014-02-13 23:43:26 +02:00
  • 3d3c302e6c GL3 uber shader Mikko Mononen 2014-02-13 22:12:18 +02:00
  • 6bf81b6727 GL3: Combined vert shaders, fixed half pixel offset Mikko Mononen 2014-02-13 21:45:48 +02:00
  • 39e2747f21 Merge 0be97070bb into 39602081e8 Andrew Corrigan 2014-02-13 08:07:56 -05:00
  • 0be97070bb uses window size, rather than framebuffer size Andrew Corrigan 2014-02-13 08:05:48 -05:00
  • 39602081e8 Fix for issue #11, added C++ guards Mikko Mononen 2014-02-11 20:38:24 +02:00
  • 9f4993e6ff Apllied vs2010 compiler fixes from fontstash. Mikko Mononen 2014-02-11 08:02:49 +02:00
  • 336de19a16 Better rounding for quantization to remove text rendering jitter Mikko Mononen 2014-02-10 19:11:10 +02:00
  • e8c4ec22bf Fix issue #10 Mikko Mononen 2014-02-10 18:04:20 +02:00
  • 060b4521af use glewExperimental = GL_TRUE on 3.2 core profile Mikko Mononen 2014-02-09 21:45:34 +02:00
  • 8b234ca953 Improved rendering performance of convex shapes and on gl3 back-end Mikko Mononen 2014-02-09 21:21:41 +02:00
  • 9b00b7aaf5 Implemented OGL 3.2 core profile back-end Mikko Mononen 2014-02-09 17:33:31 +02:00
  • 714d18a4c6 Merge pull request #9 from r-lyeh/master Mikko Mononen 2014-02-08 21:31:59 +02:00
  • 0da08eec2e MSVC compile fix (example); win32 screenshot added r-lyeh 2014-02-08 20:28:41 +01:00
  • 6773ef52de Fixed issue #8 Mikko Mononen 2014-02-08 20:13:59 +02:00
  • c8e2466447 Fix text rendering flickering under rotation Mikko Mononen 2014-02-08 20:11:23 +02:00
  • 4431218724 Fixed issue #6, font atlas size was not passed to create texture Mikko Mononen 2014-02-07 23:04:43 +02:00
  • 07b9a24367 Updated fontstash Mikko Mononen 2014-01-02 20:14:55 +02:00
  • aeefcd1c2f Merge pull request #4 from andrewcorrigan/master Mikko Mononen 2014-02-02 04:43:22 -08:00
  • 1dd4cf0104 uses GLEW with Linux to avoid issues with glUniform1f, explicitly links glfw3 and C math library Andrew Corrigan 2014-02-02 20:23:55 +08:00
  • 786dffa0cb First stab at documentation. Mikko Mononen 2013-12-03 23:27:31 +02:00
  • 4b9dc973f7 Fixed arcTo, small additions to API Mikko Mononen 2013-11-23 12:24:39 +02:00
  • 99e7d9b21d added texture atlas size to glnvgCreate() Mikko Mononen 2013-11-14 23:31:29 +01:00
  • 68d27124a8 - decorated math functions - updated font stash - added end parameter to text (can draw substring) - text and text measure return advance/width Mikko Mononen 2013-11-14 23:28:11 +01:00
  • 64e46db6f7 Fixed typo in readme Mikko Mononen 2013-11-12 22:58:53 +01:00
  • 6c0d41a124 Fixed small arc rendering, improved example, added screenshot Mikko Mononen 2013-11-12 22:57:44 +01:00
  • 3507692c1d Few more additions to readme Mikko Mononen 2013-11-12 08:43:45 +01:00
  • 4d1ef0cace Clean up Mikko Mononen 2013-11-12 08:39:44 +01:00
  • b89907ba6b First commit Mikko Mononen 2013-11-12 08:34:27 +01:00