dcnieho
2de675c752
Added support for key modifiers
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1662 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:29:30 +00:00
dcnieho
0d49bc62ac
Added ability to get mouse button count or touch ID count.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1661 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:29:17 +00:00
dcnieho
b6cc0103c8
Added ability to get screen size of display
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1660 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:29:03 +00:00
dcnieho
8d50a81c9e
Restructuring of when screen context and events are started stopped, created and destroyed
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1659 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:28:48 +00:00
dcnieho
4a08e95c50
Added keyboard states for BlackBerry
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1658 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:28:29 +00:00
dcnieho
c41c6b60de
Added two more navigator states (that might be implemented) for BlackBerry
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1657 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:28:14 +00:00
dcnieho
887d9f033e
Prevented case where no window was set when waiting for events.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1656 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:27:59 +00:00
dcnieho
fd1435ccb7
Converted the odd double spaces into 4 space tabs
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1655 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:27:43 +00:00
dcnieho
80d9609256
Minor order change in Android/BlackBerry CMake, one comment for BlackBerry window
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1654 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:27:24 +00:00
dcnieho
9c4f07fcd3
Added a couple event cases for BlackBerry that are common to prevent them being listed as unknown events.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1653 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:27:08 +00:00
dcnieho
ee3500875c
Removed fg_main_blackberry.h. It wasn't needed
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1652 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:26:52 +00:00
dcnieho
5f5513a01e
Made sure that windows created on BlackBerry are registered as fullscreen, for now. Added more logging in fgPlatformProcessSingleEvent on BlackBerry. Better handling of key repeats on BlackBerry by taking into account global and window settings.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1651 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:26:37 +00:00
dcnieho
9999328177
Can use input devices from x11 (serial input... unlikely to ever be used, but you never know) Fixed bug in fg_window_egl:fgPlatformSetWindow where a NULL window may be passed and cause a segfault Fixed bug where navigator events were never started Take into account DisplayMode when creating window buffers Proper fgPlatformSystemTime implementation (from fg_main_x11) Added support for mutlitouch (from fg_main_windows)
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1650 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:26:20 +00:00
dcnieho
6d5f2582ee
Minor change so that OpenGL ES 1.x can be used for BlackBerry
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1649 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:26:00 +00:00
dcnieho
7b34b7be39
Implemented BlackBerry main (initial version)
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1648 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:25:47 +00:00
dcnieho
1357eb9fcf
Final commit before implementing main loop. All other code is implemented to the same level as Android.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1647 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:25:29 +00:00
dcnieho
8dba97d8a1
Implemented fg_window_blackberry.c to initialize and cleanup windows Implemented a BlackBerry specific fg_init so that bps can be started and stopped.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1646 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:25:10 +00:00
dcnieho
51b44c767f
Android and BlackBerry have a fair amount of overlap, for now.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1645 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:24:45 +00:00
dcnieho
11b3e1b393
Initial commit of BlackBerry implementation. It compiles, but doesn't have required functions implemented.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1644 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:24:23 +00:00
Diederick C. Niehorster
390a7ec398
Merge pull request #8 from rcmaniac25/blackberry
...
Added BlackBerry support
2014-01-24 02:22:53 -08:00
Rcmaniac25
a6f0764bd1
Added comments about GLES 3.0 support with 2.0 references.
2014-01-23 22:46:29 -05:00
Rcmaniac25
2083d8cbe6
BlackBerry and Android -Added ability for developer to choose OpenGL ES version (2.0 or 3.0) via glutInitContextVersion (only the major version is used)
...
BlackBerry specific
-Added better documentation on required window bit depth for BlackBerry.
-Modified screen format picking so it will choose either RGBA8888 or RGB565 instead of always using RGBA8888
2014-01-23 22:46:23 -05:00
Rcmaniac25
447b1167d0
Updated toolchain so that it does a more exact check if this is for PlayBook or BlackBerry 10 Fixed bug with keyboard on PlayBook where keyboard heights only occurred on rotation, and resize would occur twice because of it and resize wouldn't happen for keyboard
2014-01-23 22:46:17 -05:00
Rcmaniac25
325873c14e
Added BlackBerry PlayBook support Bug memleak when getting the number of mouse buttons on a non-PlayBook where an appropriate device is found and the value is returned
2014-01-23 22:46:10 -05:00
Rcmaniac25
468e13e958
Info logging only shows in debug compilation Added support for UseCurrentContext flag Updated fghPlatformCloseWindowEGL for performance so that eglMakeCurrent isn't invoked unless it's the current window and that the EGL context isn't destroyed unless no other windows uses
2014-01-23 22:46:04 -05:00
Rcmaniac25
b241816870
Hardcoded the RGB bitdepths for EGL surface creation.
2014-01-23 22:45:54 -05:00
Rcmaniac25
241be47c45
Made glutGet, for window width and height, return width and height determined by device rotation Now handles keyboard open/close (along wit device rotation while the keyboard is open) and resize The "back" operation now returns an ESCAPE key
2014-01-23 22:45:44 -05:00
Rcmaniac25
d97003f08f
Added support for rotation so an app can be rotated and FG will resize and manage the window in the background Additional documentation explaining why certain functions are implemented in the manner they are Changed QNX macro to a non deprecated one
2014-01-23 22:45:14 -05:00
Rcmaniac25
147414033a
Added (though commented out) support for setting window position
2014-01-23 22:45:00 -05:00
Rcmaniac25
80ef2bca8f
Placeholder for window sizes Prevent navigator event 0x0 to show as unknown (though it is unknown... it's not defined in navigator.h)
2014-01-23 22:44:51 -05:00
Rcmaniac25
67354250fc
Added full support for WindowStatus App status is now based on actual app status instead of window visibility
2014-01-23 22:44:45 -05:00
Rcmaniac25
e8c0cc0f71
Fixed bug where if statement didn't have parenthesis, causing it to just exit
2014-01-23 22:44:39 -05:00
Rcmaniac25
84f5249b6e
Implemented a small work around for no current window being set while executing the event handler
2014-01-23 22:44:32 -05:00
Rcmaniac25
e01c7955c6
Added support for the scroll wheel when using the simulator
2014-01-23 22:44:21 -05:00
Rcmaniac25
1fa4c3f5cf
Forgot to reset modifiers once done with modifiers.
2014-01-23 22:44:10 -05:00
Rcmaniac25
13e00879cf
Added support for key modifiers
2014-01-23 22:44:03 -05:00
Rcmaniac25
6293d84f0f
Added ability to get mouse button count or touch ID count.
2014-01-23 22:43:57 -05:00
Rcmaniac25
315007b4d4
Added ability to get screen size of display
2014-01-23 22:43:48 -05:00
Rcmaniac25
9f930856ab
Restructuring of when screen context and events are started stopped, created and destroyed
2014-01-23 22:43:40 -05:00
Rcmaniac25
8c2c8d138c
Added keyboard states for BlackBerry
2014-01-23 22:43:34 -05:00
Rcmaniac25
ed6b434516
Added two more navigator states (that might be implemented) for BlackBerry
2014-01-23 22:43:28 -05:00
Rcmaniac25
ae7fc0ad83
Prevented case where no window was set when waiting for events.
2014-01-23 22:43:22 -05:00
Rcmaniac25
39eb9e3342
Converted the odd double spaces into 4 space tabs
2014-01-23 22:43:14 -05:00
Rcmaniac25
62fa02baf8
Minor order change in Android/BlackBerry CMake, one comment for BlackBerry window
2014-01-23 22:43:07 -05:00
Rcmaniac25
d584d99123
Added a couple event cases for BlackBerry that are common to prevent them being listed as unknown events.
2014-01-23 22:42:58 -05:00
Rcmaniac25
ea948775f9
Removed fg_main_blackberry.h. It wasn't needed
2014-01-23 22:42:47 -05:00
Rcmaniac25
07555eb425
Made sure that windows created on BlackBerry are registered as fullscreen, for now. Added more logging in fgPlatformProcessSingleEvent on BlackBerry. Better handling of key repeats on BlackBerry by taking into account global and window settings.
2014-01-23 22:42:39 -05:00
Rcmaniac25
5ec6164f24
Can use input devices from x11 (serial input... unlikely to ever be used, but you never know) Fixed bug in fg_window_egl:fgPlatformSetWindow where a NULL window may be passed and cause a segfault Fixed bug where navigator events were never started Take into account DisplayMode when creating window buffers Proper fgPlatformSystemTime implementation (from fg_main_x11) Added support for mutlitouch (from fg_main_windows)
2014-01-23 22:42:31 -05:00
Rcmaniac25
b9e26407cb
Minor change so that OpenGL ES 1.x can be used for BlackBerry
2014-01-23 22:42:24 -05:00
Rcmaniac25
f528ec0f25
Implemented BlackBerry main (initial version)
2014-01-23 22:42:18 -05:00