Commit Graph

1682 Commits

Author SHA1 Message Date
jtsiomb
7229171bf4 Applied Daniel Macks' patch to use ${CMAKE_INSTALL_LIBDIR} instead of
hardcoding lib for the installation directory of libraries, with the
additional modification of installing the pkg-config files there too.
closing bug #217


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1743 7f0cb862-5218-0410-a997-914c9d46530a
2015-02-18 00:37:05 +00:00
jtsiomb
3d4b5a78a9 pkgconfig files should go to $(PREFIX)/lib, not $(PREFIX)/share. Closing bug #216
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1742 7f0cb862-5218-0410-a997-914c9d46530a
2015-01-03 11:55:09 +00:00
dcnieho
9f44b39ca0 add todo: don't deinitialize option
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1741 7f0cb862-5218-0410-a997-914c9d46530a
2015-01-02 16:39:56 +00:00
dcnieho
0fb590f83a todo: handling user typing non-western script
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1740 7f0cb862-5218-0410-a997-914c9d46530a
2015-01-02 16:39:41 +00:00
dcnieho
96f344f263 high DPI awareness todo
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1739 7f0cb862-5218-0410-a997-914c9d46530a
2015-01-02 16:39:27 +00:00
dcnieho
5b152532af more todo updating
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1738 7f0cb862-5218-0410-a997-914c9d46530a
2015-01-02 16:39:13 +00:00
dcnieho
4675a5039a adding void* callbacks todo to website feature planning page
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1737 7f0cb862-5218-0410-a997-914c9d46530a
2015-01-02 16:08:54 +00:00
jtsiomb
af5f03497e added rc2 to the main page
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1736 7f0cb862-5218-0410-a997-914c9d46530a
2014-12-26 18:14:59 +00:00
dcnieho
4ccfe206f1 updated list of cmake switches in README.cmake
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1734 7f0cb862-5218-0410-a997-914c9d46530a
2014-12-25 14:35:17 +00:00
dcnieho
19edce36b2 CMake: FREEGLUT_REPLACE_GLUT option should not be visible on windows
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1733 7f0cb862-5218-0410-a997-914c9d46530a
2014-12-25 14:35:09 +00:00
jtsiomb
f0f7dc61ab brought back the option to build either as "glut" or "freeglut": FREEGLUT_REPLACE_GLUT
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1732 7f0cb862-5218-0410-a997-914c9d46530a
2014-12-24 21:23:29 +00:00
dcnieho
9e72134ab6 typofixes - https://github.com/vlajos/misspell_fixer
(cherry picked from commit c85ed83b84)

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1731 7f0cb862-5218-0410-a997-914c9d46530a
2014-12-22 16:27:02 +00:00
jtsiomb
081efa33c4 include standard UNIX header fcntl.h in fg_joystick_x11.c, since fcntl() is called conditionally in there (bug #192).
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1730 7f0cb862-5218-0410-a997-914c9d46530a
2014-12-02 05:22:12 +00:00
jtsiomb
4fc11e3285 - changed the minor so version for the new release to 3.10.0 (fg2.8.1 was 3.9.0)
- made the so version numbers more prominent in the cmake file to make sure they're not forgotten in future releases


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1729 7f0cb862-5218-0410-a997-914c9d46530a
2014-11-04 11:47:27 +00:00
dcnieho
84695da2d0 Added support for minimizing window.
Fixed issue where reshape callback would be called multiple times due to conflicting window size messages on keyboard closure.
Fixed issue where changing orientation with the keyboard open would cause multiple reshape events.

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1728 7f0cb862-5218-0410-a997-914c9d46530a
2014-11-03 04:19:10 +00:00
dcnieho
9089d1c682 Added missing glutStrokeWidthf and glutStrokeLengthf for mobile support.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1727 7f0cb862-5218-0410-a997-914c9d46530a
2014-11-03 04:18:51 +00:00
dcnieho
c9c7ef6b84 announcing 3.0.0 RC1 on website
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1726 7f0cb862-5218-0410-a997-914c9d46530a
2014-11-01 14:14:46 +00:00
jtsiomb
83552a5fdc removed all HAVE_ERRNO checks
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1724 7f0cb862-5218-0410-a997-914c9d46530a
2014-10-20 15:27:04 +00:00
jtsiomb
1186d43a25 removed vfprintf and checking from CMakeLists.txt, and all the fallbacks from
vfprintf to the obscure _doprnt function



git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1723 7f0cb862-5218-0410-a997-914c9d46530a
2014-10-20 15:22:29 +00:00
jtsiomb
d778f6fc64 fixed the unreachable GL error check in getAttribOrUniformLocation in demos/shapes/shapes.c as noted by Kevin Morgan
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1722 7f0cb862-5218-0410-a997-914c9d46530a
2014-10-19 23:22:53 +00:00
jtsiomb
b9ee7f2cd4 added missing newlines at the ends of two files as reported by Kevin Morgan.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1721 7f0cb862-5218-0410-a997-914c9d46530a
2014-10-19 23:13:54 +00:00
dcnieho
a069a66084 small simplification
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1720 7f0cb862-5218-0410-a997-914c9d46530a
2014-10-18 16:22:39 +00:00
dcnieho
714b3d2246 documenting glutStrokeWidthf and glutStrokeLengthf
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1719 7f0cb862-5218-0410-a997-914c9d46530a
2014-10-17 16:38:40 +00:00
dcnieho
3b634a941a adding glutStrokeWidthf and glutStrokeLengthf from GLUT 3.8
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1718 7f0cb862-5218-0410-a997-914c9d46530a
2014-10-17 16:28:24 +00:00
dcnieho
9af2382e14 renamed all references to freeglut_xxx files (their old names) to fg_xxx
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1717 7f0cb862-5218-0410-a997-914c9d46530a
2014-10-17 16:09:00 +00:00
dcnieho
3bd2a31b9a be more careful about closing menus when focus changes. Only do so when new focus window is not ANY of the open menus and when it is not the menu's parent window (all open menus are guaranteed to have the same parent in my reading of the code)
Also simplified situation in which menus are SW_SHOWed... if a gamemode window is open, it must the parent of any active windows as there can be no other windows open on top of the gamemode window.

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1716 7f0cb862-5218-0410-a997-914c9d46530a
2014-10-16 17:43:22 +00:00
dcnieho
f16d04cfd1 forgot to document GLUT_ACTION_GLUTMAINLOOP_RETURNS when discussing glutLeaveMainLoop in api docs
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1715 7f0cb862-5218-0410-a997-914c9d46530a
2014-10-13 14:17:01 +00:00
dcnieho
adce03d8ab more cleanup: config.h include never needed in demo
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1714 7f0cb862-5218-0410-a997-914c9d46530a
2014-10-13 13:54:44 +00:00
dcnieho
ee1de6feda Tidy-up: config.h included via fg_internal.h no deep to duplicate.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1713 7f0cb862-5218-0410-a997-914c9d46530a
2014-10-13 13:54:27 +00:00
dcnieho
c23c2e827e some cleanup, correctness in naming, correctness in type (those ATOM should be BOOL)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1712 7f0cb862-5218-0410-a997-914c9d46530a
2014-10-12 09:50:19 +00:00
dcnieho
977d52522c change some initializer use that some compilers choke on (even that technically may a bug in the compiler, I think)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1711 7f0cb862-5218-0410-a997-914c9d46530a
2014-10-12 06:37:00 +00:00
dcnieho
2e45756a33 Fixed bug identified by Kevin. If pollrate is larger than elapsedtime, we'd wrap, and joystick would never get polled
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1710 7f0cb862-5218-0410-a997-914c9d46530a
2014-10-12 06:21:32 +00:00
dcnieho
635ca451cb removed debug code I forgot to clean up
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1709 7f0cb862-5218-0410-a997-914c9d46530a
2014-10-12 04:49:22 +00:00
jtsiomb
ff3e93d95c fixed a printf format specifier (was %i instead of %lu while printing an unsigned long)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1708 7f0cb862-5218-0410-a997-914c9d46530a
2014-10-11 17:20:19 +00:00
jtsiomb
c1e80f3ddf fixed build on MSVC6
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1707 7f0cb862-5218-0410-a997-914c9d46530a
2014-10-11 17:15:33 +00:00
dcnieho
1d3212b883 progress page on website:
updated discussion of making font rendering GL2+ and GLES 1/2 clean
added unicode support as todo note (its frequently requested)

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1706 7f0cb862-5218-0410-a997-914c9d46530a
2014-10-06 16:32:46 +00:00
dcnieho
f1df2e76d1 drawing join dots on stroke fonts is now optional (and default off)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1705 7f0cb862-5218-0410-a997-914c9d46530a
2014-09-28 04:04:08 +00:00
dcnieho
804a62ab58 now using _NET_FRAME_EXTENTS if available to get size of window decorations
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1704 7f0cb862-5218-0410-a997-914c9d46530a
2014-08-29 00:41:03 +00:00
dcnieho
b0288518d1 X11: implemented borderless and captionless window style using motif hints
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1703 7f0cb862-5218-0410-a997-914c9d46530a
2014-08-27 16:02:03 +00:00
dcnieho
80c07e8b65 note on what GLUT_WINDOW_BORDER_HEIGHT is
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1702 7f0cb862-5218-0410-a997-914c9d46530a
2014-08-27 13:42:59 +00:00
dcnieho
9141845a49 glutGet window position should be relative to parent
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1701 7f0cb862-5218-0410-a997-914c9d46530a
2014-08-27 11:45:58 +00:00
dcnieho
b0811138cc caption height should include the width of the border atop the window
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1700 7f0cb862-5218-0410-a997-914c9d46530a
2014-08-27 10:14:44 +00:00
dcnieho
f57980927a resizer demo:
some breaks missing in keyboard switch
added instruction text for which buttons can be pressed

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1699 7f0cb862-5218-0410-a997-914c9d46530a
2014-08-27 05:47:05 +00:00
dcnieho
a894e63bdd For builds not using cmake, generate fg_version.h to match cmake-specified version number.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1696 7f0cb862-5218-0410-a997-914c9d46530a
2014-08-18 02:00:40 +00:00
jtsiomb
2ed4ed5b52 changed the X11 gamemode code policy. Falling back to xf86vm when xrandr fails
was problematic when passing invalid modes. Now instead, if xrandr is
available, we use that, and only that. XF86VM is now only used when XR&R is not
supported at all.

I also added a set of env vars to artificially disable one or the other, or
both. If FREEGLUT_NO_XRANDR is set we completely ignore XR&R, and if
FREEGLUT_NO_XF86VM is set, we completely ignore XF86VidMode. Obviously if both
are defined or missing, game mode can't switch resolutions at all any more, but
that's a nice debugging aid, and may be useful to allow the user to pick which
extension he'd rather use for mode switching.



git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1695 7f0cb862-5218-0410-a997-914c9d46530a
2014-08-18 00:52:53 +00:00
dcnieho
c12f6173db Updated BlackBerry references to make note of the change from FREEGLUT_GLES2/1 to FREEGLUT_GLES.
Updated BlackBerry toolchain to support building with Dinkum and to support OS 10.3 and GCC 4.8.2
Updated BlackBerry fg_window_blackberry so that window usages aren't hardcoded based on compile information, since it is now controlled by glutInitContextVersion.
EGL window setup now supports EGL 1.5, Renderable type for ES3, and using the minor version from glutInitContextVersion to have more exact control over which version of OpenGL ES is used (requires EGL 1.5)

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1694 7f0cb862-5218-0410-a997-914c9d46530a
2014-06-24 07:03:16 +00:00
dcnieho
89cfab41fc updated api doc
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1693 7f0cb862-5218-0410-a997-914c9d46530a
2014-06-02 13:25:25 +00:00
beuc
c93af8dfea Provide Android binaries for testers
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1692 7f0cb862-5218-0410-a997-914c9d46530a
2014-06-01 13:55:34 +00:00
beuc
364d6a4cff Clarify the problem with Raspberry PI
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1691 7f0cb862-5218-0410-a997-914c9d46530a
2014-06-01 13:37:17 +00:00
beuc
f2a534098c Rewrite EGL attributes using our ATTRIB/ATTRIB_VAL macros
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1690 7f0cb862-5218-0410-a997-914c9d46530a
2014-06-01 11:04:09 +00:00
beuc
7fee3a3bb3 Update GLES instructions
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1689 7f0cb862-5218-0410-a997-914c9d46530a
2014-06-01 10:43:01 +00:00
beuc
13416c05d6 EGL is always double-buffered
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1688 7f0cb862-5218-0410-a997-914c9d46530a
2014-06-01 09:48:51 +00:00
beuc
25be478938 Unify GLES1 and GLES2 (libraries are compatible and can be co-linked)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1687 7f0cb862-5218-0410-a997-914c9d46530a
2014-06-01 09:24:47 +00:00
dcnieho
693b4b8de8 add menu to opengl 3 demo. Should work as menu windows have their own classic context
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1686 7f0cb862-5218-0410-a997-914c9d46530a
2014-06-01 03:50:51 +00:00
beuc
5051e40380 android: update documentation with gles1/gles2 unification
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1685 7f0cb862-5218-0410-a997-914c9d46530a
2014-05-31 22:47:17 +00:00
beuc
c4d5ab086d Update GLES2 status and instructions
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1684 7f0cb862-5218-0410-a997-914c9d46530a
2014-05-31 10:38:44 +00:00
dcnieho
98d0182357 KEY_EVENT macro exists in windows 8.1 API: renamed it. Also renamed KEY macro to be safe.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1683 7f0cb862-5218-0410-a997-914c9d46530a
2014-05-14 22:02:41 +00:00
jtsiomb
bca59c67ef Using the -pedantic flag with gcc uncovered a series of warnings about
non-standard C constructs in the code. This commit fixes them.



git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1682 7f0cb862-5218-0410-a997-914c9d46530a
2014-05-14 18:31:58 +00:00
jtsiomb
ff6255810d Compiling with -ansi makes a lot of important POSIX (standard UNIX) facilities
unavailable. This was masked until recently by an incorrect conditional in the
CMakeLists.txt file, that looked like it would use -ansi on anything other than
android, but it didn't actually use it anywhere. As soon as that was fixed, and
-ansi started being used, build broke on linux.

The intention of the -ansi flag was to help catch portability-reducing mistakes
in the code, so instead of removing it completely I used -pedantic in its place,
which produces a lot of warnings for not strictly ISO/ANSI compliant code that
relies on compiler-specific features.



git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1681 7f0cb862-5218-0410-a997-914c9d46530a
2014-05-14 18:28:53 +00:00
dcnieho
18718163db XPutBackEvent copies an XEvent internally, so the pointer passed in must
point to an actual XEvent object, not an XConfigureEvent, which is
smaller. This avoids an invalid stack read.

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1680 7f0cb862-5218-0410-a997-914c9d46530a
2014-04-11 13:41:49 +00:00
dcnieho
d0c5d990d7 Docs update related to BlackBerry 10
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1679 7f0cb862-5218-0410-a997-914c9d46530a
2014-03-09 03:49:43 +00:00
dcnieho
2c025ce66d Fix issues with context lost on Android
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1678 7f0cb862-5218-0410-a997-914c9d46530a
2014-03-05 01:40:18 +00:00
dcnieho
aff8412f26 Added comments about GLES 3.0 support with 2.0 references.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1677 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:35:48 +00:00
dcnieho
8c6c71d29d 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

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1676 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:35:35 +00:00
dcnieho
47945e4119 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
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1675 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:35:22 +00:00
dcnieho
4c37b66f1e 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
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1674 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:35:05 +00:00
dcnieho
e8cc20621f 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
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1673 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:34:49 +00:00
dcnieho
c5201e73ef Hardcoded the RGB bitdepths for EGL surface creation.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1672 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:34:32 +00:00
dcnieho
d8f19f2481 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
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1671 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:34:17 +00:00
dcnieho
eb835cc833 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
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1670 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:33:57 +00:00
dcnieho
b817a1d976 Added (though commented out) support for setting window position
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1669 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:33:38 +00:00
dcnieho
f3f7e54713 Placeholder for window sizes Prevent navigator event 0x0 to show as unknown (though it is unknown... it's not defined in navigator.h)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1668 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:33:23 +00:00
dcnieho
2f2185d930 Added full support for WindowStatus App status is now based on actual app status instead of window visibility
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1667 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:33:07 +00:00
dcnieho
318f0d5ad9 Fixed bug where if statement didn't have parenthesis, causing it to just exit
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1666 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:32:52 +00:00
dcnieho
52db42d186 Implemented a small work around for no current window being set while executing the event handler
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1665 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:32:39 +00:00
dcnieho
54bc3439c4 Added support for the scroll wheel when using the simulator
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1664 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:29:59 +00:00
dcnieho
8fbcdd5aa9 Forgot to reset modifiers once done with modifiers.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1663 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:29:44 +00:00
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
dcnieho
9b0e63e8da -sync command line option now causes X server to operate in synchronized/blocking mode
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1643 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-23 02:28:02 +00:00
dcnieho
f6a11225ad should be using GetKeyState not GetAsyncKeyState to check for modifier keys as we care which modifiers were active at the time of the key/mouse press we are processing
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1642 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-22 12:06:59 +00:00
dcnieho
e8d8bdf9e3 implement handling of GLDebugSwitch: we use glutReportErrors to check for errors in each iteration of the glut mainloop if requested
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1641 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-22 10:09:57 +00:00
jtsiomb
2b5292bb4f Applied Bruce Merry's patch fixing bug #206 (segfault on shutdown in the AMD/ATI fglrx driver).
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1640 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-21 10:52:53 +00:00