Commit graph

545 commits

Author SHA1 Message Date
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
700c263042 fix issue with uv packing (and mingw issue) 2013-05-18 00:11:54 +02:00
Jeremie Roy
be925b64c4 remove "m_" from POD struct members in cube_atlas 2013-05-17 23:47:08 +02:00
Jeremie Roy
565d0ca543 add missing functionality to show an atlas face 2013-05-17 23:42:59 +02:00
Jeremie Roy
d7a53cd25f with issue with uv packing of face 2013-05-17 23:42:38 +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
88162a78cc Nuked Emscripten. 2013-05-15 19:53:19 -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
67ebcebd21 add inner outline in order to avoid texture bleeding 2013-05-08 19:45:58 +02:00
Jeremie Roy
88e6ce0a33 Merge remote-tracking branch 'refs/remotes/bgfx_bkaradzic/master' 2013-05-07 17:01:37 +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
bkaradzic
7f2edf4861 Initialize mouse button state. 2013-05-03 09:18:53 -07:00
bkaradzic
468b48b017 Removed bad check for clear flags. 2013-04-30 23:10:29 -07:00
bkaradzic
0e0fcd22de Removed use of external debug functions. 2013-04-28 12:27:35 -07:00
bkaradzic
2ef508139f GL/GLES: vsync. 2013-04-27 15:16:05 -07:00
bkaradzic
047eca5829 Cleanup. 2013-04-24 23:42:20 -07:00
bkaradzic
6403d9b5a6 Fixed GCC warnings. 2013-04-24 22:03:04 -07:00
bkaradzic
6e374982be Added imgui. 2013-04-24 21:01:11 -07: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
6b8b95acd8 update cube_atlas to bgfx naming style 2013-04-23 20:36:07 +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
bkaradzic
dae6768c43 Fixed detection of instanced_array extension. 2013-04-20 23:13:44 -07:00
bkaradzic
ba55084ad8 Android wip. 2013-04-18 23:32:12 -07:00
bkaradzic
767df6c5e6 Android plumbing. 2013-04-18 21:16:09 -07:00
bkaradzic
d3a526a92b Android build fixes wip. 2013-04-15 23:10:32 -07:00
bkaradzic
05a18ab5cf Added QNX entry. 2013-04-13 01:54:17 -07:00
bkaradzic
84bfec136a Removed some HLSL intrinsic from .sc shaders in favor of GLSL. Fixed varying.def parsing. 2013-04-05 20:40:50 -07:00
bkaradzic
a703d6129f Added -i 'include dir' argument to shaderc. 2013-04-01 22:52:06 -07:00
bkaradzic
6582276e3e Fixed L4 warnings. 2013-03-25 21:13:54 -07:00
bkaradzic
435b83f1ac Added texture update batching. Added rect packing. 2013-03-02 21:35:09 -08:00
Kevin Lin
dcc2bf250c stable window resizing
Updated frame calculation and position anchoring in WM_SIZING for
stability.
2013-02-27 02:13:43 -08:00
bkaradzic
35d7d2ff1b Added F8 as MSAA toggle in examples. 2013-02-21 22:05:33 -08:00
bkaradzic
8e0e21f40d Normalized line endings. 2013-02-21 21:07:31 -08:00
bkaradzic
a51144691b Enabled extra warnings for MSVC. 2013-02-12 23:54:32 -08:00
Garett Bass
2e79b64353 Added rudimentary event handling
Added rudimentary event handling
2013-02-03 13:33:25 -08:00
bkaradzic
1e459d23c3 Fixed resize event. 2013-02-02 21:07:06 -08:00
bkaradzic
d5f7f243d5 Added support for X11 keyboard modifiers. 2013-01-20 20:44:33 -08:00
bkaradzic
6eed7bdccb Post initial size event. 2013-01-19 12:38:30 -08:00
bkaradzic
a664aef521 Fixed resize event spamming. 2013-01-19 12:11:24 -08:00
bkaradzic
f513da8b67 Added mouse lock. 2013-01-19 00:22:25 -08:00
bkaradzic
165e98c60b WIP key/mouse support. 2013-01-18 21:12:04 -08:00
bkaradzic
91446e05a4 WIP key&mouse support. 2013-01-17 23:22:38 -08:00
bkaradzic
a2057d65aa WIP X11 key/mouse support. 2013-01-17 22:38:13 -08:00
bkaradzic
c3667bad05 WIP support for key/mouse events in examples. 2013-01-16 22:44:51 -08:00
Garett Bass
2bbcb92109 Added OSX entry point and OpenGL context
Added OSX entry point and OpenGL context
2013-01-15 20:37:07 -08:00
bkaradzic
b77df356c1 Separated GL context code. 2013-01-13 18:39:25 -08:00
bkaradzic
174524dde4 Moved x11 window creation into examples/common. 2013-01-13 15:35:06 -08:00
bkaradzic
b9e9fb77cc Added dummy entry poll for all platforms. 2013-01-13 11:20:56 -08:00
bkaradzic
fec7dcdee3 Added missing file. 2013-01-13 10:59:42 -08:00
bkaradzic
43ce51b8ec Updated year in copyright notice. 2013-01-13 10:57:24 -08:00
bkaradzic
d6e4a57cf2 Moving window creation to examples/common. 2013-01-13 10:47:30 -08:00
bkaradzic
9e562eed97 Added GL vertex array object support. 2013-01-12 19:13:51 -08:00
bkaradzic
e21e840001 Cleanup. 2013-01-01 13:19:10 -08:00
bkaradzic
21e78cf7b0 Jiggling bits until avi writer unbreaks. 2012-12-31 23:11:28 -08:00
bkaradzic
58c0d54f59 Moved AviWriter into separate file. 2012-12-31 19:10:31 -08:00
bkaradzic
1bc2ec8015 Initial version of geometry compiler. 2012-12-28 17:09:34 -08:00
bkaradzic
7e08c684ad Changed include guard to make OSX happy (thanks @gtbass). 2012-12-10 19:15:56 -08:00
bkaradzic
70fd65501e Manually integrated @gtbass OSX changes. 2012-12-09 15:07:01 -08:00
bkaradzic
53fb5773a6 Fixed Linux build. 2012-11-25 19:21:15 -08:00
bkaradzic
a3b0dde24b Fixes. Added vsh output/fsh input hash matching. 2012-11-25 18:24:50 -08:00
bkaradzic
7accea7b5d Added texture loading example. 2012-10-27 21:34:41 -07:00
Branimir Karadzic
405b8559b3 Added 16K stack for emscripten loop fiber. 2012-10-22 20:23:04 -07:00
Branimir Karadzic
4bc42d9f97 Setup emscripten canvas. 2012-10-22 19:39:59 -07:00
bkaradzic
cfac3feb85 Added more examples. 2012-10-07 20:41:18 -07:00
Branimir Karadzic
f1597ee25c Fixed Linux build. 2012-09-16 17:59:21 -07:00
bkaradzic
1621cc851a Added examples. 2012-09-16 17:36:08 -07:00
bkaradzic
a134ea9d1a Linux project fixes. 2012-06-02 12:44:37 -07:00
bkaradzic
d9a08e3f81 Added OpenGL support for Windows build. Added Linux support (Thanks @MatthewEndsley for X window and GLX code). Fixed uniform size for D3D9. 2012-05-29 18:24:55 -07:00
bkaradzic
58a4549dce Updated example. 2012-05-06 16:45:30 -07:00