Commit Graph

178 Commits

Author SHA1 Message Date
Branimir Karadžić 610055fbb0 Rebuilt shaders, removed unused shaders. 2017-04-11 19:46:40 -07:00
Branimir Karadžić 837d92159a Rebuilt shaders. 2017-03-24 20:29:24 -07:00
Branimir Karadžić a60095c1b6 Updated shaders. 2017-03-11 15:02:37 -08:00
Branimir Karadžić e2363f2b38 Cleanup. 2017-03-09 21:35:41 -08:00
Libor Čapák 8164e32fd7 TextMetrics includes \n (#1063)
there is no reason to break;
2017-03-05 10:19:42 -08:00
Branimir Karadžić 65f2b998ff Updated shaders. 2017-02-24 19:43:40 -08:00
Branimir Karadžić 42a01f6f1a Cleanup. 2017-02-13 23:19:08 -08:00
Libor Čapák b0eac0a809 new function TextMetrics::clearText() (#1046) 2017-02-13 13:27:07 -08:00
Branimir Karadžić d72aff9e5d Rebuilt shaders. 2017-02-11 10:30:16 -08:00
Branimir Karadžić b99ebb9535 Cleanup. 2017-02-08 19:55:31 -08:00
Branimir Karadžić b9b8a6e871 Cleanup. 2017-01-04 08:34:25 -08:00
Branimir Karadžić 5a1b718a1f Updating embedded shader handling. 2016-12-05 20:12:31 -08:00
Branimir Karadžić eaa73c9b2e Rebuilt shaders. 2016-10-31 22:13:21 -07:00
Branimir Karadžić 69c5902453 Rebuilt shaders. 2016-09-30 20:03:41 -07:00
Branimir Karadžić 8809a190ef Fixed calcTextureSize. 2016-08-22 14:17:08 -07:00
Branimir Karadžić e50bda7818 Cleanup. 2016-06-15 09:33:11 -07:00
Branimir Karadžić 2b77088a38 Cleanup. 2016-03-05 11:03:52 -08:00
Branimir Karadžić 4752d567e4 Cleanup. 2016-02-28 19:52:15 -08:00
Branimir Karadžić d4d4d41e42 Exposed topology API. 2016-02-23 15:30:25 -08:00
Branimir Karadžić a972d1fef0 Tools cleanup. 2016-01-30 16:15:25 -08:00
Branimir Karadžić 4bb2b623d3 Happy New Year! 2016-01-01 00:11:04 -08:00
Branimir Karadžić fac71e9e35 Fixed issue #569. 2015-12-08 16:09:30 -08:00
Branimir Karadžić 69fd07a590 Rebuilt shaders. 2015-10-24 22:47:24 -07:00
Branimir Karadžić 802364e214 Fixed font tab. Issue #533. 2015-10-07 20:44:40 -07:00
Branimir Karadžić d1f99896ec Moved public header files into bgfx subdirectory.
grep -rl '<bgfx.h>' . | xargs sed -i 's@<bgfx.h>@<bgfx/bgfx.h>@g'
2015-09-18 20:19:12 -07:00
Branimir Karadžić 6e9ed09d19 Rebuilt shaders. 2015-09-03 20:00:15 -07:00
Branimir Karadžić 4470f7097c Fixed HLSL reflection for samplers. 2015-09-01 16:44:11 -07:00
Kocsis Attila 5d5df77318 Metal backend: initial commit 2015-08-14 15:12:44 +02:00
Branimir Karadžić 019bdadc2a Cleanup. 2015-07-28 23:16:23 -07:00
Branimir Karadžić 7cfb9db7ef Fixed static font buffer. 2015-07-22 20:55:59 -07:00
Branimir Karadžić 1fa85ccf27 Replaced bgfx::setProgram function with bgfx::submit argument. Added bgfx::touch and bgfx::getStats. 2015-07-22 18:05:11 -07:00
Branimir Karadžić 921a315c4d Cleanup. 2015-07-16 20:28:43 -07:00
Branimir Karadžić f36bfe2e4f Added offset for updating dynamic buffers. 2015-06-23 16:40:38 -07:00
Branimir Karadžić ff01992cb7 Refactored uniform types. 2015-05-28 15:27:00 -07:00
Branimir Karadžić 57cfeffb8d Rebuilt shaders. 2015-04-11 18:18:43 -07:00
Branimir Karadžić c7eb016ae0 Rebuilt shaders. 2015-04-10 21:09:46 -07:00
Mike Popoloski 5f4bd7700e Recompiling shaders. Shouldn't have any effect on runtime behavior. 2015-04-10 22:49:39 -04:00
Branimir Karadžić 584baba7d7 Rebuilt embedded shaders. 2015-04-02 23:36:53 -07:00
Branimir Karadžić 13ac805085 Cleanup. 2015-02-16 21:58:13 -08:00
Miodrag Milanovic 88998f7cd8 Compile fixes for Apple GCC 4.2 2015-02-15 18:59:47 +01:00
Miodrag Milanovic 93ea52c23a Compile fixes for Apple GCC 4.2 2015-02-15 13:55:45 +01:00
Branimir Karadžić 649d7f74d2 Updated copyright year. 2015-01-02 14:43:11 -08:00
Branimir Karadžić 878cbd41bd shaderc: Added shader strip. 2014-12-05 20:28:15 -08:00
Branimir Karadžić ff44d73480 Updated NanoVG and Blendish. 2014-11-16 18:59:17 -08:00
Mike Popoloski 48bfab3713 Fixing compile errors on MSVC. 2014-11-15 15:52:14 -05:00
Mike Popoloski 893035af65 Merge branch 'master' of https://github.com/bkaradzic/bgfx 2014-11-15 13:32:22 -05:00
Mike Popoloski 0163c2420f Fixing compile errors from freetype header when building for WinRT. 2014-11-09 18:26:10 -05:00
Branimir Karadžić 31efb2991f Updated to OVR 0.4.3. Added support for event char to read keyboard text input. 2014-11-08 20:57:47 -08:00
Branimir Karadžić 4a1a31b538 Updated glsl-optimizer. 2014-10-11 12:32:43 -07:00
Branimir Karadžić eec4ae9847 Fixing paths. 2014-09-10 21:48:08 -07:00
Branimir Karadžić 66890595b9 Added serialization for vertex decl attribute enums. Binary format changes. Rebuilt all meshes and shaders. 2014-08-17 17:20:15 -07:00
Branimir Karadžić e782f2f873 Fixed preprocessor bug that trucnates macro arguments to first character when concatenating them. 2014-07-28 20:15:01 -07:00
Branimir Karadžić bba2ef8031 Added predefined uniforms for inverted view/proj/viewproj matrices.
shaderc: Added raw shader support.
shaderc: Fixed uniform types.
2014-05-10 20:51:54 -07:00
Branimir Karadžić ac925b00c8 Cleanup. 2014-05-03 15:18:28 -07:00
Branimir Karadžić bf9ed535fc Updated README. 2014-04-30 22:27:30 -07:00
Branimir Karadžić bc399eb317 Added SDF. 2014-04-30 21:57:05 -07:00
Branimir Karadžić 27c2a6e83b Fixed changed function. 2014-04-26 23:49:06 -07:00
Branimir Karadžić c8442ebb40 Cleanup. 2014-04-16 22:24:31 -07:00
Branimir Karadžić e39d280a31 Fixed 10-font example. 2014-04-16 22:11:14 -07:00
Branimir Karadžić bc36c29f2a Added ability to retrieve uniforms used by shader. 2014-04-15 19:10:56 -07:00
Branimir Karadžić f436f79c10 Simplified API, removed difference between vertex and fragment shaders. 2014-03-29 19:42:57 -07:00
Branimir Karadžić 6afa55381a Updated glsl-optimizer. 2014-03-29 16:26:01 -07:00
Branimir Karadžić 771909c988 Fixed issue #74. 2014-02-13 22:13:19 -08:00
Branimir Karadžić 557dcef3dd Updated glsl-optimizer. 2014-02-10 23:06:13 -08:00
Branimir Karadžić e7b42f13c6 Updated copyright year. 2014-02-10 22:18:39 -08:00
bkaradzic 7f004af0d6 Fixed GCC warning. 2014-01-20 23:43:09 -08:00
bkaradzic b25a7cc9ff Fixed C4244 warnings. 2014-01-20 22:07:08 -08:00
bkaradzic 0ed2edc7b3 Updated shaders and README. 2014-01-13 20:17:56 -08:00
bkaradzic 336bea5849 Fixed memory leak. 2013-12-21 23:37:35 -08:00
bkaradzic fab2ef534c Using language compliant header guards. 2013-11-14 19:10:10 -08:00
bkaradzic 5f35341abf Fixed alloc/free mismatch with tinystl::string. 2013-10-06 19:32:35 -07:00
bkaradzic df1dfdc872 Added isValid check function for handles. 2013-09-29 21:33:50 -07:00
bkaradzic ab969f0a1a Enable tinystl by default. 2013-09-22 21:40:17 -07:00
bkaradzic a5948679ca Removed context static inialization. 2013-09-20 22:13:58 -07:00
bkaradzic 9d59e31f6a Fixed warning. 2013-09-04 21:41:01 -07:00
bkaradzic 3e6f682c30 Fixed resource leak in font examples. 2013-08-08 22:18:19 -07:00
bkaradzic 851ab7fde5 Fixed OSX build. 2013-07-10 23:18:16 -07:00
bkaradzic daab00e816 Cleanup. 2013-06-24 23:38:14 -07:00
bkaradzic bd508cc502 Fixed memory leak when font fails to load. 2013-06-24 23:21:53 -07:00
bkaradzic 1e6c8000c7 Rebuilt font embedded shaders. 2013-06-07 22:49:25 -07:00
bkaradzic 9c005e40ba Linux/AMD: Fixed font shaders. 2013-06-07 22:45:02 -07:00
bkaradzic 375f17060a DX11/GL: Fixed font subpixel issues. 2013-06-03 23:16:02 -07:00
bkaradzic 52511156ac Cleanup. 2013-05-30 21:16:09 -07:00
bkaradzic 18c4e37d66 Cleanup. 2013-05-30 20:43:27 -07:00
bkaradzic ed9761e9c9 Cleanup. 2013-05-29 23:21:19 -07:00
bkaradzic b8a69a700b Cleanup. 2013-05-29 22:47:19 -07:00
bkaradzic af842a1c68 Cleanup. 2013-05-29 21:53:19 -07:00
bkaradzic 18f2e82362 Added include path to common. Renamed math to fpumath. 2013-05-23 22:07:54 -07:00
bkaradzic 4a2bfcfbeb Cleanup. 2013-05-22 21:34:21 -07:00
bkaradzic e49810bc29 Fixed 64-bit warning. 2013-05-22 19:53:17 -07:00
Jeremie Roy 65b08cc523 Merge remote-tracking branch 'refs/remotes/bgfx_bkaradzic/master'
Conflicts:
	examples/common/font/text_buffer_manager.cpp
2013-05-22 17:22:48 +02:00
Jeremie Roy f1042b3f6f add Text metrics helper 2013-05-22 17:16:11 +02:00
Jeremie Roy 60e51ea707 make sure pen position always refers to top left + remove measureText + append substring 2013-05-22 17:15:58 +02:00
Jeremie Roy c13e53153f add max advance to fontInfo 2013-05-22 17:13:17 +02:00
bkaradzic aeb414d238 Fixed 64-bit warnings. 2013-05-21 21:58:24 -07:00
Jeremie Roy 292b021e0e add functionality to measure text without rendering it 2013-05-21 14:45:14 +02:00
bkaradzic bed490bd53 Cleanup. 2013-05-18 22:12:40 -07:00
bkaradzic 816efcd934 Removed unused member variables. 2013-05-17 23:06:08 -07:00
Jeremie Roy 565d0ca543 add missing functionality to show an atlas face 2013-05-17 23:42:59 +02:00
bkaradzic 7eef7f52be More cleanup. 2013-05-16 22:03:57 -07:00