Commit graph

50 commits

Author SHA1 Message Date
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ć
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ć
13ac805085 Cleanup. 2015-02-16 21:58:13 -08: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ć
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ć
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ć
f436f79c10 Simplified API, removed difference between vertex and fragment shaders. 2014-03-29 19:42:57 -07: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
336bea5849 Fixed memory leak. 2013-12-21 23:37:35 -08:00
bkaradzic
df1dfdc872 Added isValid check function for handles. 2013-09-29 21:33:50 -07:00
bkaradzic
a5948679ca Removed context static inialization. 2013-09-20 22:13:58 -07:00
bkaradzic
3e6f682c30 Fixed resource leak in font examples. 2013-08-08 22:18:19 -07:00
bkaradzic
daab00e816 Cleanup. 2013-06-24 23:38:14 -07:00
bkaradzic
375f17060a DX11/GL: Fixed font subpixel issues. 2013-06-03 23:16:02 -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
4a2bfcfbeb Cleanup. 2013-05-22 21:34:21 -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
60e51ea707 make sure pen position always refers to top left + remove measureText + append substring 2013-05-22 17:15:58 +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
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
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
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
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
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
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