Commit graph

858 commits

Author SHA1 Message Date
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
1f5db2d7db fix typo in debug text 2013-04-23 17:23:00 +02:00
Jeremie Roy
3156a79257 fix a typo in fontsdf name 2013-04-23 17:22:19 +02:00
Jeremie Roy
7f3fb10f2a Remove namespace from font utility classes 2013-04-23 17:18:54 +02:00
Jeremie Roy
1f44b65ef6 proper debug text message in fontdfs 2013-04-23 14:32:31 +02:00
Jeremie Roy
7f6d441c27 add proper debug comment in the font sample using the text system (good demonstration) 2013-04-23 14:29:35 +02:00
Jeremie Roy
8ddda84cd7 restore pen position (did break it for debug previously) 2013-04-23 14:28:31 +02:00
Jeremie Roy
253d07435c rename font samples main cpp to the project name 2013-04-23 14:10:53 +02:00
Jeremie Roy
62c9a457c1 rename samples to shorter name 2013-04-23 14:09:45 +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
6f13e31d2b Fixed warning. 2013-04-13 11:38:51 -07:00
bkaradzic
05a18ab5cf Added QNX entry. 2013-04-13 01:54:17 -07:00
bkaradzic
507af8c9f1 Fixed shaderc crash when $in/output lines have comments. 2013-04-11 20:36:28 -07:00
bkaradzic
4ab0874d53 Changed u_model uniform to array. 2013-04-06 14:16:38 -07:00
bkaradzic
648c8a593e Fixed GLES2 texture format error. Fixed hdr example cube texture issue. 2013-04-06 14:03:38 -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
365f2655b3 Added aditional render target color formats. 2013-03-28 22:34:59 -07:00
bkaradzic
eb8ab50281 Made setViewTransform behave the same way as the rest of setView* API. 2013-03-27 21:18:29 -07:00
bkaradzic
6582276e3e Fixed L4 warnings. 2013-03-25 21:13:54 -07:00
bkaradzic
ea49146ea1 Fixing eols. 2013-03-17 16:10:50 -07:00
bkaradzic
d5d81f49a6 Fixing eols. 2013-03-17 16:08:24 -07:00
bkaradzic
c86baa678d Added makefile to rebuild all shaders for all examples. 2013-03-17 11:36:51 -07:00
bkaradzic
687be4f31b Updated glsl-optimizer. 2013-03-17 11:29:03 -07:00
bkaradzic
8c6db9155f Removed comment. 2013-03-09 16:35:04 -08:00
bkaradzic
52a49a2247 GL context sucks. 2013-03-09 16:34:06 -08:00
bkaradzic
b01a1774c9 Added coverage for multiple init/shutdown. 2013-03-09 16:12:08 -08:00
bkaradzic
e758f12b22 Fixed GCC warning. 2013-03-02 21:38:18 -08: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
316053bd9b Added 09-hdr screenshot. 2013-02-26 21:38:32 -08:00
bkaradzic
35da923722 Removed debug code. 2013-02-26 21:33:19 -08:00
bkaradzic
b0e72319c4 Fixed GCC Linux warnings. 2013-02-26 21:31:47 -08:00
bkaradzic
9f667c3b12 Added example 09-hdr. 2013-02-26 21:24:16 -08:00
bkaradzic
5fe1132b1c Cleanup. 2013-02-23 20:43:31 -08:00
bkaradzic
e0eca362ad Fixed DX9 lack of non-normalized UINT16 vertex decl type. 2013-02-23 19:02:51 -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
cc69b20e14 Fixed 'unexpected EOL' when building shaders. Added error message for missing shader entry point. 2013-02-14 17:27:10 -08:00
bkaradzic
a51144691b Enabled extra warnings for MSVC. 2013-02-12 23:54:32 -08:00
bkaradzic
62d646c522 Fixed memory leak in 07-callback. 2013-02-10 22:48:13 -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
f78a18c9b7 Fixed resource leaks in examples. 2013-01-28 22:08:16 -08:00
bkaradzic
cedfee113d Fixed geometryc arguments. 2013-01-24 22:22:04 -08:00
bkaradzic
d5f7f243d5 Added support for X11 keyboard modifiers. 2013-01-20 20:44:33 -08:00
bkaradzic
f829e38654 Undo screenshot removal. 2013-01-20 12:53:40 -08:00
bkaradzic
116efe21b0 Rebuilt shaders. 2013-01-20 12:50:59 -08:00
bkaradzic
c26f8f4718 Added support for LATC/3DC texture compression. 2013-01-20 12:47:29 -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
3a251fbc02 Added temp path for examples. 2013-01-12 14:25:27 -08:00
bkaradzic
523572d400 Fixed DX11 texture initialization. 2013-01-07 22:01:07 -08:00
bkaradzic
7ec5de1ad1 Added texture update example. 2013-01-06 17:53:45 -08:00
bkaradzic
b52cc77a14 Reorganized opcode type and location bits in constant buffer opcode. 2013-01-05 22:34:31 -08:00
bkaradzic
6f3cc509e4 Fixed tool memory leak. 2013-01-03 23:41:27 -08:00
bkaradzic
150d02e756 Removed unused code. 2013-01-02 21:59:06 -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
446686b48f Added vertex pack/unpack support. 2012-12-31 18:48:52 -08:00
bkaradzic
d4cd0ea4fa Added 07-callback example. 2012-12-30 20:52:47 -08:00
bkaradzic
1ee4352959 Added missing data. 2012-12-28 17:21:24 -08:00
bkaradzic
c2eda31fca Fixed warnings. 2012-12-28 17:20:28 -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
5b21e87aff Added screenshots. 2012-12-02 20:49:04 -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
Branimir Karadzic
4614bc1106 Fixed Linux build. 2012-11-11 13:12:16 -08:00
bkaradzic
e3a31a2efc Added stencil support. 2012-11-10 19:59:23 -08:00
Branimir Karadzic
20fdda0659 Handle all enums in switch. 2012-11-03 21:29:41 -07:00
Branimir Karadzic
f9424d259a Fixed Linux build. 2012-10-27 23:59:44 -07:00
bkaradzic
caeecc72ce Removed test code. 2012-10-27 21:39:43 -07: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
d4c7545b1e Added support for GLES3. 2012-10-13 22:21:02 -07:00
bkaradzic
f5295b951d Added instancing example. 2012-10-08 23:24:10 -07:00
bkaradzic
772c671752 Merge branch 'master' of github.com:bkaradzic/bgfx 2012-10-07 21:04:19 -07:00
bkaradzic
6ad62e9095 Fixed EOLs. 2012-10-07 21:04:03 -07:00
Branimir Karadzic
8c757cb16d Fixed unused variable errors. 2012-10-07 21:01:35 -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
bkaradzic
911ce4d775 Added fatal error codes and callback. Fixed shutdown. Added helloworld example. 2012-04-14 20:36:17 -07:00