Commit Graph

178 Commits

Author SHA1 Message Date
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
bkaradzic 2ab5b6e166 Cleanup. 2013-05-16 20:54:25 -07:00
bkaradzic 45e14926d2 Fixed GCC warnings. 2013-05-15 21:35:26 -07:00
bkaradzic 9dfe1421d8 Fixed GCC warnings. Cleanup. 2013-05-15 19:42:39 -07:00
Jeremie Roy c4b4b15e37 uncrustify whole font code 2013-05-15 15:21:23 +02:00
Jeremie Roy 61305ed0e4 fix warning and remove useless includes 2013-05-15 15:12:25 +02:00
Jeremie Roy a4006cf0ab harmonize license header text 2013-05-15 15:07:04 +02:00
Jeremie Roy 1194e6f556 get rid of missleading NULL initializer 2013-05-15 15:02:25 +02:00
Jeremie Roy fe41a9f6b8 convert pragma once to include guards 2013-05-15 15:01:46 +02:00
Jeremie Roy cf895eb5ba remove m_ from POD struct + clean 3rdparty include 2013-05-09 00:49:01 +02:00
Jeremie Roy 2f89ab16ba rework the samples 2013-05-08 23:55:54 +02:00
Jeremie Roy 4ca2b3f4af move shaders to embedded shader system 2013-05-08 19:53:47 +02:00
Jeremie Roy 043a062346 fix bug of bleeding styled text 2013-05-08 19:53:21 +02:00
Jeremie Roy d63a452161 commit embedded shaders 2013-05-08 19:46:51 +02:00
Jeremie Roy 6cf5f67eae load shaders explicitely inside the samples 2013-05-07 15:51:19 +02:00
Jeremie Roy d470ac2567 remove explicit filesystem dependency 2013-05-07 14:26:49 +02:00
Jeremie Roy e4712b2641 use embedded shaders 2013-05-07 14:26:31 +02:00
Jeremie Roy b661d50b69 Fix bug involving assert a function call. 2013-04-24 12:23:47 +02:00
Jeremie Roy fc5f5d3ec2 convert static const to #define 2013-04-24 12:15:40 +02:00
Jeremie Roy 83f176a5dc convert m_u_xxx to u_xxx for uniforms handle naming. 2013-04-24 12:10:41 +02:00
Jeremie Roy 1a1b4a9baf Better disable warning for Freetype 2013-04-24 12:07:47 +02:00
Jeremie Roy d4a695a181 convert assert to BX_CHECK 2013-04-23 23:14:32 +02:00
Jeremie Roy 119317686c use ii instead of i in for loop 2013-04-23 22:48:34 +02:00
Jeremie Roy 5096f82d12 convert size_t to uint32_t and int to int32 2013-04-23 22:32:39 +02:00
Jeremie Roy e851f5dec6 update text_buffer_manager to bgfx naming style 2013-04-23 21:49:24 +02:00
Jeremie Roy 6c956ee0c9 update font_manager to bgfx coding style 2013-04-23 20:58:57 +02:00
Jeremie Roy 7f3fb10f2a Remove namespace from font utility classes 2013-04-23 17:18:54 +02:00
Jeremie Roy 8ddda84cd7 restore pen position (did break it for debug previously) 2013-04-23 14:28:31 +02:00
Jeremie Roy 7c7612a971 integration of font and text system 2013-04-22 22:42:11 +02:00