Commit graph

210 commits

Author SHA1 Message Date
Dario Manesku
9cc92fd2e1 Cleanup unused code. 2014-11-11 02:27:13 +01:00
Dario Manesku
aa6c92ff40 Fixing inputGetChar(). 2014-11-11 02:09:39 +01:00
Branimir Karadzic
43b9802b48 Fixed Linux build. 2014-11-10 09:08:26 -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ć
a2153729be Added HMD recenter support. Updated examples to support HMD. 2014-11-02 00:06:18 -07:00
Branimir Karadžić
f6cf4df3d3 Added OculusVR support. 2014-10-28 22:08:55 -07:00
Branimir Karadžić
3947174959 Android: Removed status bar. 2014-10-24 20:33:56 -07:00
Branimir Karadzic
46ec4e390c Fixed clang build. 2014-10-17 09:45:45 -07:00
Branimir Karadžić
5e39e3b16a clang on VS201x. 2014-10-16 19:54:29 -07:00
Branimir Karadžić
8f6495be0b SDL2: Fixed args. 2014-10-12 16:41:15 -07:00
Branimir Karadžić
8dc34db44a SDL2: Fixed mouse button. 2014-10-12 14:04:06 -07:00
Branimir Karadžić
cd2d643522 Cleanup. 2014-10-12 11:51:58 -07:00
Branimir Karadzic
42c9dafd03 Cleanup. 2014-10-12 11:41:04 -07:00
Branimir Karadžić
8abed27c0c Added SDL2_DIR when using --with-sdl GENie config. 2014-10-12 09:58:06 -07:00
Branimir Karadzic
e063661e95 SDL2: Moved renderer to main thread. Added --with-sdl GENie option. 2014-10-11 21:55:24 -07:00
Branimir Karadzic
12c3508aa2 Fixed clang warning. 2014-10-11 20:59:46 -07:00
Branimir Karadžić
757df73eb5 SDL2: Added multiwindow support to entry_sdl. 2014-10-11 20:42:42 -07:00
Branimir Karadzic
b9d509763e Fixed compile error. 2014-10-02 20:10:12 -07:00
Branimir Karadzic
0aba867510 x11: Create/destroy window code. 2014-10-02 19:52:43 -07:00
Branimir Karadzic
8dab207b36 OSX: Fixed window resize. 2014-10-01 20:25:56 -07:00
Branimir Karadžić
1b5454bd51 Fixed 22-windows example. 2014-09-30 22:20:16 -07:00
Branimir Karadžić
bb9a35e809 Win: Don't let OS destroy window. Fixes issue #162. 2014-09-30 19:04:24 -07:00
Branimir Karadzic
2850924e95 Merge branch 'master' of github.com:bkaradzic/bgfx 2014-09-28 13:36:30 -07:00
Branimir Karadzic
af86d1b02d OSX: Added more key translation. 2014-09-28 13:36:23 -07:00
Branimir Karadžić
80f2044a7c Cleanup. 2014-09-28 11:03:47 -07:00
Branimir Karadzic
22614cf946 x11: Post size event when initializing window. 2014-09-24 21:05:48 -07:00
bkaradzic
e60863e301 Fixed warning: array subscript is of type 'char' [-Wchar-subscripts]. 2014-09-24 16:06:11 -07:00
Daniel Collin
874790838c Added inital mouse and keyboard support for OSX 2014-09-24 22:25:16 +02:00
Branimir Karadžić
f4c7f69ed7 Added swap chain caps. 2014-09-23 20:35:39 -07:00
bkaradzic
dd5492c29a OSX: Clear window after initialization. 2014-09-23 08:11:25 -07:00
Branimir Karadžić
3d3a725812 DX9: Fixed swap chain depth creation. 2014-09-22 23:00:42 -07:00
Branimir Karadžić
59ba895727 Windows: Clear window after initialization. 2014-09-22 22:03:41 -07:00
Branimir Karadzic
e0ab81d387 x11: Clear window after initialization. 2014-09-22 20:37:49 -07:00
Branimir Karadžić
de3d152b9c Added multiple windows example. 2014-09-22 19:34:10 -07:00
bkaradzic
205b2a37ab Fixed SDL2 entry. 2014-09-21 09:52:55 -07:00
bkaradzic
98c62f2687 Fixed iOS entry. 2014-09-19 10:37:52 -07:00
bkaradzic
5ae9de7482 Fixed OSX entry. 2014-09-19 10:33:13 -07:00
Branimir Karadzic
72892c7179 Fixed x11. 2014-09-19 08:57:35 -07:00
Branimir Karadžić
2111974c80 Multiple window support WIP. 2014-09-18 22:32:33 -07:00
Branimir Karadzic
8cadf56148 Cleanup. 2014-08-24 18:55:18 -07:00
Branimir Karadžić
140e990ab4 Added RaspberryPi platform. 2014-08-24 17:41:41 -07:00
bkaradzic
660f86065f Fixed compile errors. 2014-08-22 19:29:54 -07:00
m.milanovic@levi9.com
5aaddfccb9 Use tinystl/unordered_map instead of c++11 only implementation 2014-08-22 16:35:30 +02:00
Branimir Karadžić
74c19cce1b Cleanup. 2014-08-21 22:29:08 -07:00
Branimir Karadžić
9941475010 Fixed initializer order warning. 2014-08-20 21:39:56 -07:00
Dario Manesku
eec6e82c29 SetWindowTitle() on Windows now changes start menu title as well. 2014-08-12 21:30:20 +01:00
Branimir Karadžić
e71791a02c Display example executable name in window title. 2014-08-10 10:31:24 -07:00
Dario Manesku
65f5faceec Making setWindowTitle() on Windows thread safe. 2014-08-10 16:53:14 +01:00
Dario Manesku
2b01f8a874 Function setWindowTitle() now returns void. 2014-08-10 16:53:14 +01:00
Branimir Karadžić
f492d7d113 Mouse wheel fix. 2014-08-05 23:09:04 -07:00
Branimir Karadžić
8935d3009a Mouse wheel fix. 2014-08-05 22:37:47 -07:00
Branimir Karadžić
d18eb84263 Updated mouse wheel message. 2014-08-05 22:03:45 -07:00
Branimir Karadžić
0098be04d7 Added mouse wheel handling. 2014-08-05 21:13:50 -07:00
Dario Manesku
2dd6b60d7e Cleanup. 2014-08-06 01:50:23 +01:00
Dario Manesku
78ea520d7d Exposing entry::KeyState to the user. 2014-08-06 01:50:23 +01:00
Dario Manesku
f1a7e1696d Added setWindowTitle(). 2014-08-06 01:50:22 +01:00
Branimir Karadžić
3b3120c04d Cleanup. 2014-07-06 22:14:20 -07:00
Branimir Karadžić
f9b17cc0ec Removed tokenizecmd. 2014-06-30 22:46:54 -07:00
Branimir Karadžić
d1b6cc762c Display PPAPI version on startup. 2014-06-25 21:17:21 -07:00
Branimir Karadžić
c4b040a382 Cleanup. 2014-06-01 12:01:50 -07:00
Branimir Karadžić
1c917de7f9 Added C99 compatible header. 2014-05-31 00:18:45 -07:00
Branimir Karadžić
ac925b00c8 Cleanup. 2014-05-03 15:18:28 -07:00
Branimir Karadžić
e39d280a31 Fixed 10-font example. 2014-04-16 22:11:14 -07:00
Branimir Karadžić
b09059c421 Merge pull request #88 from sgraham/win-cursor
Use NULL as instance when loading predefined icon/cursor
2014-04-16 21:18:42 -07:00
Scott Graham
69ad8504b0 Use NULL as instance when loading predefined icon/cursor 2014-04-16 21:03:36 -07:00
Branimir Karadžić
27f12fb738 Cleanup. 2014-04-16 19:51:25 -07:00
Attilaz
e2151d628c iOS
- set window size from screen size
- touch input ( WIP: it is not too responsive )
- file path set for resource loading
2014-04-06 14:58:21 +02:00
bkaradzic
32ca63bd93 Cleanup. 2014-03-29 19:58:24 -07:00
Branimir Karadžić
aa9f65e377 Fixed error. 2014-03-16 16:58:22 -07:00
bkaradzic
fa9b650b37 Added entry for asmjs. 2014-03-16 16:49:59 -07:00
Dario Manesku
15a9282cc9 Change camera view only on right click. 2014-02-14 07:50:20 +01:00
Branimir Karadžić
e7b42f13c6 Updated copyright year. 2014-02-10 22:18:39 -08:00
Branimir Karadžić
9ff1d0c513 Updated copyright year. 2014-02-10 22:07:04 -08:00
bkaradzic
877621105d Added MRT support. 2014-02-05 23:07:11 -08:00
bkaradzic
8c27ed5962 SDL: Fixed clang warnings. 2014-01-30 20:31:49 -08:00
bkaradzic
f48511147a Fixed SDL entry mouse messages. 2014-01-24 21:49:15 -08:00
bkaradzic
2c05b90792 Embedded shaders and font into 17-drawstress. 2014-01-19 22:34:58 -08:00
bkaradzic
e8075dc367 Using renderFrame to setup thread creation behavior. 2014-01-19 14:58:05 -08:00
bkaradzic
59a76342f2 Replaced static const values with defines. 2014-01-18 22:21:10 -08:00
bkaradzic
4061d19963 Updated screenshots. 2014-01-13 20:36:33 -08:00
Dario Manesku
5594e9af8c Added 15-shadowmaps-simple and 16-shadowmaps. 2014-01-13 22:16:07 +01:00
Dario Manesku
c827dad22a Added camera. 2014-01-13 22:16:00 +01:00
bkaradzic
2e0952bbec Fixed GCC warning. 2013-12-29 15:03:51 -08:00
bkaradzic
6005ebda2b Added platform name defines. 2013-12-24 21:30:28 -08:00
bkaradzic
a1294a4d5d Fixed MinGW64 compile errors. 2013-12-24 20:18:49 -08:00
bkaradzic
e3959838b3 Updated to OSX 10.9 and Xcode5. 2013-12-20 16:41:53 -08:00
bkaradzic
433a29d7d6 Use sdcard for loading data for Android examples. 2013-12-09 22:36:13 -08:00
bkaradzic
dee588dfba OSX/iOS: Updated to Xcode5. 2013-12-07 10:19:54 -08:00
bkaradzic
9fd378b5d9 Fixed GCC warnings. 2013-12-02 20:09:03 -08:00
bkaradzic
9487ab6b5f Fixed GCC warnings. 2013-11-29 22:23:04 -08:00
bkaradzic
04f348c2ea OSX: Moved NSOpenGLContext creation to the main thread that created NSWindow. Fixes occasional GL_INVALID_FRAME_BUFFER_OPERATION error on DrawElements. 2013-11-18 20:43:17 -08:00
bkaradzic
367279e2e5 OSX: Removed dependency on SDL2. 2013-11-17 20:14:57 -08:00
bkaradzic
fab2ef534c Using language compliant header guards. 2013-11-14 19:10:10 -08:00
bkaradzic
6a6404f73d Removed nonsense code. 2013-10-31 22:47:06 -07:00
bkaradzic
48c477d0ac Updated screenshots. 2013-10-23 22:48:16 -07:00
bkaradzic
6f3a18a805 Added delayed load for GLES dlls on Windows. 2013-10-10 22:57:42 -07:00
Josh Simmons
6c5c7786ca Handle exit message from window manager on Linux 2013-10-05 14:41:22 +10:00
bkaradzic
1da64571d9 Fixed MinGW build. 2013-08-30 22:31:40 -07:00
bkaradzic
c8ac5690ba Cleanup. 2013-08-16 22:29:55 -07:00
bkaradzic
dfd17b1d79 Fixed clang warning. 2013-08-14 21:18:42 -07:00
bkaradzic
24c894ea90 Shuffling entry stuff. 2013-08-14 21:08:46 -07:00
bkaradzic
e92eb7504b Added SDL2 entry point. 2013-08-12 20:47:41 -07:00
bkaradzic
d265b9b0d4 Examples: Added ability to turn off debug text. 2013-08-09 21:33:28 -07:00
bkaradzic
3e6f682c30 Fixed resource leak in font examples. 2013-08-08 22:18:19 -07:00
bkaradzic
d5bc94454e Don't mess with include order on Linux. 2013-08-07 23:16:30 -07:00
bkaradzic
386323e9a6 Added missing include. 2013-08-07 23:11:20 -07:00
bkaradzic
5a2f097fcc Fixed Linux build. 2013-08-07 23:03:09 -07:00
bkaradzic
2f72afca65 Fixed iOS and OSX builds. 2013-08-07 22:50:01 -07:00
bkaradzic
d07ededcaf Fixed NaCl build. 2013-08-07 22:01:46 -07:00
bkaradzic
4c4c2eb5cb examples-common: Reogranized sources. Added command interpreter and input bindings support. 2013-08-07 21:45:56 -07:00