Commit Graph

1409 Commits

Author SHA1 Message Date
beuc
375d4f7e66 fg_geometry: test indices presence with vertIdxs!=NULL rather than numEdgePerFace==3
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1207 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-24 21:26:54 +00:00
beuc
f0754e0273 fg_geometry:
- added a comment insisting on vertex+normal unicity,
- added 'GLsizei numVertIdxs' as a parameter,
- called 'fghDrawGeometrySolid' with:
  numVertices,numVertIdxs => nameCaps##_VERT_PER_OBJ,nameCaps##_VERT_PER_OBJ_TRI



git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1206 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-24 19:57:54 +00:00
beuc
972da1fe62 fg_geometry: add a couple comments
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1205 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-24 11:47:10 +00:00
beuc
2c61e8cd17 Keep fg_geometry in normal builds\!
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1204 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-23 19:03:56 +00:00
beuc
6fa04424fe Remove glutWireTeapot/glutSolidTeapot from gles_stubs because these are conditionaly compiled already
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1203 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-23 19:01:05 +00:00
beuc
2e4ec574ff Don't alter glutWireTeapot and glutSolidTeapot prototypes, since we didn't modify these functions yet (thanks Diederick)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1202 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-23 01:07:48 +00:00
beuc
0d92390463 - Document what works with GLES1 and GLES2 as of now
- Conditionaly disable what doesn't work
  so that libfreeglut can be compiled as-is for GLES1 and GLES2
  (Android and Mesa EGL)
- These #ifdef's are meant to disappear as more functions are implemented for GLES



git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1201 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-23 01:02:57 +00:00
beuc
45a5e59f94 Geometry: Use 'double' instead of 'GLdouble' in include/GL/*.h, fixing temporary GLES work-around and getting consistent with latest changes in fg_geometry.c
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1200 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-22 23:25:13 +00:00
dcnieho
940bc0ac45 internally in fg_geometry, GLfloat used everywhere
external facing functions now take double instead of GLdouble, which
isn't defined on GLES platforms


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1199 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-21 05:09:19 +00:00
dcnieho
1d91d09834 simplified check for whether opengl 2.1+ context is requested.
Flags or profile set are now ignored unless opengl 2.1+ context is
requested


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1198 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-19 00:31:00 +00:00
beuc
468a43416d Add missing new _glx files
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1197 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-18 14:54:33 +00:00
beuc
5d6c1b44f4 Add support for X11+EGL.
The changes are made with minimalism and clarity in mind:
- Either the functions are common and are kept in _x11.c files
- Either the functions have small differences and dealt with #ifdef
- Either the functions are largely different, and split in:
  - Specialized portable code in egl/
  - Specialized GLX code in _x11_glx.c files

Using EGL or GLX is decided at compile time
(CMake FREEGLUT_GLES1 or FREEGLUT_GLES2 option enabled)..



git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1196 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-18 12:38:07 +00:00
beuc
8c0ae8bfb6 Remove left-over printf
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1195 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-18 12:25:29 +00:00
beuc
76e2c3ed3f pkg-config: add -lm to static libraries
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1194 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-18 10:25:19 +00:00
beuc
265e1cc378 Define PKG_CONFIG_PATH in client instructions
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1193 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-18 10:24:21 +00:00
dcnieho
c00c3d67a0 All doubles now GLdoubles (important for GLES later)
Other general cleanup in prep for porting geometry code involving
circles.
no longer computing a larger circle table when only need half of it


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1192 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-18 10:02:54 +00:00
dcnieho
3e21108d4f teapot header not in list of files (so doesn't show up in IDE)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1191 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-18 09:59:50 +00:00
dcnieho
b171a73282 per old glut manpages, glutTeapot calls generate clockwise frontfacing
polygons. Following recommendations in these manpages, updated the
shapes demo by surrounding calls with glFrontFace(GL_CW); and
glFrontFace(GL_CCW);


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1190 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-18 07:37:08 +00:00
dcnieho
8ab33e935f added a message when new context creation was silently ignored due to
wglCreateContextAttribsARB not available, similar as is done for x11
with glxCreateContextAttribsARB


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1189 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-18 05:13:16 +00:00
beuc
95d74d15c0 Identify more precisly where GLdouble->GLfloat is needed in freeglut header
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1188 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-17 22:13:58 +00:00
beuc
ef9c4e1361 Rename fghChooseConfigEGL -> fghChooseConfig (not a specialization of an existing function)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1187 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-17 19:29:49 +00:00
beuc
7a42e4527e Fix library for GLES1
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1186 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-17 16:26:00 +00:00
beuc
b42288155e Removed fgPlatformGlutLayerGet to match other ports (thanks Diederick)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1185 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-17 16:12:31 +00:00
dcnieho
70046e0145 got rid of edgeflags as I now draw all wire frames face-by-face using
line loops. Split wire and solid drawing in two separate functions
Now doing polygon to triangle decomposition using vertex indices that
are passed to glDrawElements, saves on memory, executes more efficient,
and makes wireframe drawing a piece of cake.
This should be GLES1 compatible too, hope so!


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1184 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-17 16:11:06 +00:00
beuc
604018bc92 Implement EGL fgPlatformGlutGetModeValues and partial/reusable fgPlatformGlutGet
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1183 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-17 15:36:25 +00:00
beuc
a729bc608f EGL: implement fgPlatformSetWindow
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1182 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-17 14:24:42 +00:00
beuc
2a3295e970 Add 2 more temporary stubs
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1181 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-17 14:18:33 +00:00
beuc
6bc5a5c401 Remove Android-specific code (logging) in fg_display_egl
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1180 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-17 14:14:01 +00:00
beuc
af95cbdafe Context can be used for a menu rather than the current window
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1179 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-17 13:29:51 +00:00
beuc
3ce776e21e EGL: more code reusability
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1178 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-17 12:34:22 +00:00
beuc
b4115920d4 fghChooseConfigEGL returns 1/0 if found/not found
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1177 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-17 11:39:45 +00:00
beuc
6a05cd0a10 Move tagSFG_PlatformWindowState from EGL to Android
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1176 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-17 11:21:56 +00:00
beuc
04e3e33ad7 Move OpenGL ES stubs out of Android
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1175 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-17 10:33:28 +00:00
beuc
5149d43941 EGL: make more code reusable - less Android-specific
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1174 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-17 10:30:31 +00:00
beuc
40db28bb94 EGL: separate config and context code
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1173 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-17 10:09:19 +00:00
beuc
8b779d66dd Copy documentation about FREEGLUT_GLES2 and FREEGLUT_GLES1 from CMakefile.txt to freeglut_std.h (a.k.a. don't use them)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1172 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-17 07:05:25 +00:00
dcnieho
b38c9bc3ee that definition is FREEGLUT_GLES1, not FREEGLUT_GLES
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1171 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-17 04:00:13 +00:00
dcnieho
da52865ab3 little bit of cleanup
added code for GLES1 (though only tested on OpenGL 2, non-ES context)


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1170 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-17 03:58:26 +00:00
dcnieho
99cd253ea3 oops, that was a bit sloppy. Also added a missing free
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1169 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-17 02:23:03 +00:00
dcnieho
1b5b24155d check for every malloc call if memory was allocated successfully
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1168 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-17 02:21:19 +00:00
dcnieho
5818920c5c Need to also set glDisable(GL_CULL_FACE) when drawing wireframe to match what was
produced before


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1167 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-17 02:11:49 +00:00
dcnieho
445fd29338 Done dodecahedron. Nice, this just worked!
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1166 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-17 02:06:21 +00:00
dcnieho
c4e7f30fae removing some debug code
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1165 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-17 01:36:08 +00:00
dcnieho
b043205853 was still trying to draw RhombicDodecahedron as GL_QUAD, of course it
doesn't work
Made internal draw macro for case with edge flags


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1164 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-17 01:35:11 +00:00
dcnieho
41ce6d6860 implemented scheme for automatic square and pentagon decomposition and
edgeflag generation
Works for cube, RhombicDodecahedron temporarily broken (probably due to
incorrect vertex order for decomposition method)


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1163 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-17 00:32:08 +00:00
dcnieho
9f437ed383 corrected data type (its a demo after all, better be precise)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1162 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-17 00:21:40 +00:00
beuc
31e0027e09 Move EGL fields to a separate structure for reusability (e.g. upcoming Mesa X11 EGL support)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1161 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-16 23:23:19 +00:00
beuc
cb3dea2183 CMake: Declare OPTIONS higher in the file so they can be used to conditionaly include source files
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1160 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-16 21:39:37 +00:00
beuc
f6111f49ac GLES1 and GLES2 versions are now compiled with -DFREEGLUT_GLES1 and -DFREEGLUT_GLES2 to cleanly bootstrap headers inclusion
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1159 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-16 21:30:26 +00:00
beuc
ea875680a5 CMake: use same test for referencing and generating freeglutdll.def
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1158 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-16 20:43:29 +00:00
dcnieho
977a9f1e6b cube now done with triangles, internal edges on each face hidden with
edge flag


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1157 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-16 11:06:23 +00:00
dcnieho
b95ed51118 RhombicDodecahedron moved to glVertexPointer
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1156 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-16 08:46:13 +00:00
dcnieho
ade8e6e8ef icosahedron also done
wrote for easy declaring of interface functions


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1155 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-16 08:36:48 +00:00
dcnieho
b6f616f685 made some macros to reduce code duplication
made naming completely consistent now


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1154 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-16 07:55:12 +00:00
dcnieho
4f9c00faa7 octahedron also done
another pass at making all variable types consistent
added some direct mode drawing code for debugging


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1153 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-16 07:24:34 +00:00
dcnieho
5bb67c1c82 now a toggle for perspective/orthogonal projection in shapes demo
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1152 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-16 06:05:33 +00:00
dcnieho
f692084300 outer radius parameter in shapes demo now doubles as size for all the
other objects that support a size (luckily many don't, just glScale!)
moved text a bit more to corner of screen so its more out of the way



git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1151 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-16 05:08:39 +00:00
dcnieho
92b1d69dd4 dSize parameter of Cube now works correctly again
Fixed some inconsistent Macro naming and variable types


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1150 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-16 05:06:31 +00:00
dcnieho
0eb4534962 now using one function to generate geometry from the lists of vertices,
normals and vertex indices
Geometry lists now stored in 1D arrays


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1149 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-16 04:49:17 +00:00
dcnieho
fe5c7db449 got one fo the cube's normals wrong
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1148 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-16 04:23:48 +00:00
dcnieho
eb95f57fa6 array size second dim is simply 3...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1147 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-16 04:22:34 +00:00
dcnieho
40e7dfa35c I have these nice variables indicating whether the geometry cache for a
certain object was already filled, but i never set them to true...


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1146 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-16 03:17:37 +00:00
dcnieho
833166240f Cube also moved to glDrawElements
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1145 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-16 03:14:23 +00:00
dcnieho
d3550b00d9 also did Sierpinski sponge
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1144 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-16 02:01:59 +00:00
dcnieho
19a3927adc initial start at rewrite of fg_geometry functions, using glDrawArrays.
Tetrahedon done as example (seems to work well, but further comments
pending)
Done restructuring of the file as well


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1143 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-16 00:40:15 +00:00
beuc
bae0c12952 Add pkg-config script (cmake changes added by mistake in previous commit)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1142 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-15 20:51:24 +00:00
beuc
02880439ed CMake: Move -DANDROID in the toolchain script, to ease reuse of this file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1141 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-15 20:48:32 +00:00
beuc
41c6d2ada6 A few fixes in cygwin docs
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1140 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-15 20:37:41 +00:00
beuc
e74cb052f0 Error handling for eglSwapBuffers
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1139 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-15 19:52:16 +00:00
dcnieho
792977034a no need for a message on MSVC that we hide insecure CRT warnings
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1138 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-15 03:07:57 +00:00
dcnieho
cb228b70f0 oops, generating freeglutdll.def was not specific to MSVC
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1137 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-15 03:06:42 +00:00
dcnieho
0cfd678fda converted all tabs to spaces for CMake file, eases editing and indenting
in diffs looks right


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1136 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-15 02:34:33 +00:00
dcnieho
7bd8533032 FreeGLUT version number is now only defined in CMake file. All other
files containing a version number are now automatically generated upon
configure


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1135 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-15 02:30:50 +00:00
dcnieho
005fa934ae and again some more documentation of what kind of version is referred to
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1134 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-15 02:24:06 +00:00
dcnieho
4d7086a873 added a bit more doc
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1133 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-15 02:15:54 +00:00
dcnieho
394f2c0538 just a typo
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1132 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-15 01:50:44 +00:00
jtsiomb
39b2e08b7f removed the obsolete GPL copyright statement templates
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1131 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-14 14:57:05 +00:00
dcnieho
b83545263c removed parts from readme that are definately outdated. The rest is
useful and will need to be massaged into a helpful text before 3.0
release


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1130 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-14 03:50:59 +00:00
jtsiomb
e5c97b977a - forgot to remove autogen.sh previously along with the rest of the autotools
stuff
- removed other random build files that have accumulated over time. Kdevelop
project files, microsoft nmake files, etc.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1128 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-13 19:36:28 +00:00
jtsiomb
03dc75a452 Removed autotools build files (I think I got all of them, did I?)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1127 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-13 19:24:01 +00:00
jtsiomb
15e9bb8752 Added a few more details to README.cmake
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1126 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-13 19:05:32 +00:00
dcnieho
01f323da92 removed VC6 files
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1125 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-13 11:13:06 +00:00
dcnieho
64fb938163 Removed VS2008 and VS2010 files
set ignore for my /build directory, removed ignore for config.h.in


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1124 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-13 11:08:26 +00:00
dcnieho
ed02f5da91 found both SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin)
and SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin) were used,
removed the second (deprecated) commands
This results in shared libraries being build in /bin on windows, but not
other platforms, obviating the need to copy dlls to /bin. Documented
this
the copy of fractals.dat should now work on all platforms (hopefully)


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1123 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-13 11:03:23 +00:00
dcnieho
41283a36c5 added a quick tut for using cmake, adapted from http://mash-project.eu/wiki/index.php/CMake:_Quick_Start_Guide
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1122 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-13 08:24:20 +00:00
dcnieho
b6e8aa6776 moved glutTimerFunc in timer demo
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1121 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-12 16:33:46 +00:00
dcnieho
19095d15bf added to CMake a setup to copy shared lib (MSVC only right now) and
fractals.dat to demo binary folder if demos are built


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1120 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-12 15:41:39 +00:00
dcnieho
b16eb164ca cleaneup \machine setting for MSVC, now only for 64bit static libs, only
onwe for which needed. Added a comment showing why its needed


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1119 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-12 07:26:37 +00:00
dcnieho
b2159329f2 .def and .rc file were appended to source list AFTER target was defined,
so moved them up in the file
now setting target machine for linker, or we get in trouble at least
with static libs on x64


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1118 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-12 05:07:35 +00:00
dcnieho
d3496a2968 now only setting FREEGLUT_EXPORTS and FREEGLUT_STATIC for the shared and
static dll/lib respectively, instead of globally defining those for all
targets
That revealed the static build of the demos is broken, needed to add the
FREEGLUT_STATIC definition there too
Not including .def file on windows if 64 bit build.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1117 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-12 04:24:40 +00:00
dcnieho
fe9b63c890 now use unsigned __int64 for time type when on MSVC, that is supported
down to at least MSVC6 (thanks Sisyphus!)
Also, type present checks are not done if stdint or inttypes headers are
found, no need for them then.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1116 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-12 03:32:53 +00:00
dcnieho
83672b987c HAVE_ULONG_LONG now only defined when unsigned long long is available
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1115 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-11 23:35:11 +00:00
beuc
2930d1d941 Rename Android and EGL files
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1114 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-11 16:01:29 +00:00
dcnieho
2549248d0c Need for our XParseGeometry implementation now detected by CMake
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1113 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-11 15:26:01 +00:00
dcnieho
b66e4bfa9d and some more renames
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1112 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-11 15:14:33 +00:00
dcnieho
ed993a1882 moved common files back to src root
renamed (a bunch of) the freeglut_ prefixes to fg_
did the necessary edits of the source files (I hope)


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1111 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-11 14:59:56 +00:00
dcnieho
e78202b0af timers internally now use 64bit unsigned int, if available
External timer info (glutGet) unchanged.
Some work to do to improve Windows timers beyond what it is now...


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1110 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-11 13:03:14 +00:00
beuc
49bfb6bd84 CMake: add precision about version-info / soname
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1109 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-11 09:53:22 +00:00
beuc
5280ea4f52 Add development progress status for Android
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1108 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-11 09:45:20 +00:00
beuc
8b09e1ff0d autotools: Android port
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1106 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-11 09:34:30 +00:00
beuc
5ed946ec5d CMake: Android port
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1105 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-11 09:31:44 +00:00
beuc
402c9871eb Support GLES headers
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1104 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-11 09:30:51 +00:00
beuc
eb37483010 Android documentation
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1103 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-11 09:18:53 +00:00
beuc
70e2afb9cc CMake: option to build with OpenGL ES
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1102 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-11 09:18:15 +00:00
beuc
c8a8d03fc5 Add base Android and EGL code
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1101 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-11 08:55:24 +00:00
jtsiomb
cf7613066d added the timer demo
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1100 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-10 14:55:50 +00:00
dcnieho
0c5025cc85 added not about soversion for those not knowledgable (like me). Thanks
Sylvain!


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1099 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-10 12:53:50 +00:00
dcnieho
5cc61b4c30 CMake updates:
- no longer trying to link with m.lib (tht maths for linux)
- now building demos for static and for shared library, depending on
  which libraries are created
- TARGET_LINK_LIBRARIES statement conditional on whether the relevant
  shared/static library is built


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1098 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-10 11:08:44 +00:00
dcnieho
429507ee23 in freeglut_init set gamemode defaults to -1 (no change from current
display mode) so that it is not attempted to change the display mode
to some arbitrary default when entering gamemode (only applies if
glutGameModeString is never called)


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1097 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-10 03:17:55 +00:00
dcnieho
ec322806c9 moved some windows only code from common to windows specific
got rid of fgPlatformGlutLayerGet as we'll never implement layer support
(added some notes too)
added note about implementability of glutGetModeValues
Moved joystick function from misc to Joystick code file



git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1096 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-10 03:07:13 +00:00
dcnieho
8197972757 XParseGeometry include now compiles with windows (VS2010, didn't touch
cmake)
Various typos in comments
Some other cleanup and formatting
glutInitDisplayString now understands "borderless"


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1095 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-10 02:03:32 +00:00
beuc
4ce337a008 Include xparsegeometry_repl.h header on non-X11 targets
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1094 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-09 21:02:20 +00:00
beuc
d06a04e27e Make XParseGeometry reusable by several ports (3)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1093 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-09 20:54:03 +00:00
beuc
3ab598b0fb Make XParseGeometry reusable by several ports (2)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1092 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-09 20:48:03 +00:00
beuc
426ce85a73 Make XParseGeometry reusable by several ports
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1091 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-09 20:46:15 +00:00
beuc
11a4f362e1 Add CMake toolchain script for mingw32/64 compilation, and update documentation
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1090 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-09 20:34:51 +00:00
beuc
e3c597fe0d Specify libraries for windows static compilation
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1089 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-09 20:33:54 +00:00
beuc
208fc83528 CMake now defines HAVE_VFPRINTF for windows; suppress redefinition warning
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1088 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-09 20:29:58 +00:00
beuc
132ca5afcb Detect vfprintf (used in fgError/fgWarning)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1087 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-09 20:20:20 +00:00
beuc
d93aff53ec Fix .so dependencies: reference -lGL and -lm; only reference -lGLU for demos (Resizer)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1086 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-09 20:02:30 +00:00
beuc
cd204c47f8 Properly add maths library for demos
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1085 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-09 19:49:49 +00:00
beuc
fb34e2f593 Add maths library for demos
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1084 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-09 19:24:57 +00:00
beuc
d0a550b30a Fix X86vmode library detection
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1083 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-09 19:17:37 +00:00
dcnieho
deb9971814 updated resource file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1082 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-08 02:31:00 +00:00
dcnieho
6f04edd242 just a bit of formatting, mostly to test out my SVN commit access
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1081 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-08 02:23:21 +00:00
fayjf
2774b223ff A bit of comment clean-up per e-mail from Diederick Niehorster dated 2/5/12 at 9:26 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1080 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-25 06:06:52 +00:00
fayjf
9c6c6850d0 Implementing the monotonic clock if available, per e-mail from Phil Vandry dated 2/17/12 at 5:08 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1079 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-25 05:47:57 +00:00
fayjf
84d7d3bf86 Checking for "gettimeofday" per e-mail from John Tsiombikas dated 2/23/12 at 9:29 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1078 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-25 05:34:24 +00:00
fayjf
2f7431648d Moving some Windows-specific preprocessor stuff and a prototype from "freeglut_init.c" to the Windows header file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1077 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-12 04:41:32 +00:00
fayjf
3eca89fc14 Setting the line endings and keywords on a bunch of new text files
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1076 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-08 02:39:29 +00:00
fayjf
b40d212cfb Putting in many 'CMakeLists.txt' fixes per e-mail from John Tsiombikas dated February 6, 2012 at 4:38 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1075 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-07 01:56:50 +00:00
fayjf
d0446f782e Fixing a build warning in OpenSUSE about control reaching the end of a non-void function; see e-mail from Johannes Obermayr dated February 6, 2012 at 9:40 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1074 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-07 01:52:10 +00:00
fayjf
4ed29b6832 Fixing confusion over the name of "fgPlatformGetGLUTProcAddress"
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1073 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-06 02:26:18 +00:00
fayjf
55d47574bb Fixing the rest of the "EXTRA_DIST" bug per e-mail from Sylvain dated Feb 5, 2012 at 2:10 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1072 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 20:21:42 +00:00
fayjf
87d49928cf Adding a bit of documentation for MinGW that was left off the previous SVN commit
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1071 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 19:36:27 +00:00
fayjf
f46f59d7e3 Fixing the MinGW build and updating the "omitted files" per e-mail from Sylvain dated February 5, 2012 at 12:33 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1070 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 19:34:08 +00:00
fayjf
beada8854a Fixing call to "fghGetProcAddress" by giving the new name of the function
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1069 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 19:00:31 +00:00
fayjf
dc3a3dd8ee Fixing X11 "unterminated #if" build error
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1068 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 18:54:52 +00:00
fayjf
57992745fb Splitting the X11-specific "freeglut_cursor.c" code into its own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1067 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 14:04:48 +00:00
fayjf
76c04a50f6 Moving the platform dependencies from the "freeglut_menu.c" file to the platform-specific header files
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1066 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 14:01:34 +00:00
fayjf
a20f647aa4 Removing an extraneous "#if TARGET_HOST"
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1065 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 13:53:31 +00:00
fayjf
44b2dd8c3b Moving an X11-specific function call to destroy a context to the X11-specific file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1064 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 13:53:00 +00:00
fayjf
1bcc27f30c Splitting the X11-specific stuff out of "freeglut_internal.h" into its own file per e-mail from Diederick Niehorster dated 2/4/12 at 11:31 PM (he sent it on 2/5/12)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1063 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 05:54:30 +00:00
fayjf
a370bd34d2 Removing an extraneous "#if TARGET_HOST_POSIX_X11" and putting the path into the "#include" statements for "freeglut_internal.h"
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1062 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 04:21:26 +00:00
fayjf
1077bc750d Splitting the X11-specific "freeglut_structure.c" code into its own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1061 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 04:18:13 +00:00
fayjf
935f9af513 Splitting the X11-specific "freeglut_ext.c" code into its own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1060 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 04:16:37 +00:00
fayjf
ba766a7ef0 Splitting the X11-specific "freeglut_joystick.c" code into its own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1059 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 04:13:31 +00:00
fayjf
d895defd48 Removing an extraneous "#if" from "freeglut_xinput_x11.c"
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1058 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 04:08:55 +00:00
fayjf
205e95320b Splitting the X11-specific "freeglut_spaceball.c" code into its own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1057 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 04:04:28 +00:00
fayjf
9f0610a457 Splitting the X11-specific "freeglut_main.c" code into its own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1056 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 03:44:03 +00:00
fayjf
a200464a1a Splitting the X11-specific "freeglut_state.c" code into its own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1055 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 03:34:09 +00:00
fayjf
7757664f12 Fixing the header comments of a couple of X11-specific files
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1054 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 03:21:45 +00:00
fayjf
0ca9111452 Splitting the X11-specific "freeglut_gamemode.c" code into its own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1053 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 03:16:52 +00:00
fayjf
9cd991f3c7 Splitting the X11-specific "freeglut_window.c" code into its own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1052 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 03:05:30 +00:00
fayjf
0884264cd5 Trying to fix a screen freezing bug reported by Shane "tech at saxon digital" in e-mail dated 2/4/12 at 3:15 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1051 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 01:41:20 +00:00
fayjf
3f963c6c1a Fixing the "fghGetProcAddress" bug also noted by Evan Felix in e-mail dated 2/4/12 at 1:16 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1050 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 00:56:06 +00:00
fayjf
fb55e0df4f Putting in changes recommended by Evan Felix to fix the X11 build per e-mail dated 2/4/12 at 1:16 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1049 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-05 00:52:55 +00:00
fayjf
cf4fb42ef1 Moving X11-specific code from "freeglut_display.c" into its own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1048 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-04 17:11:50 +00:00
fayjf
9633f12a5b Moving the X11-specific code from "freeglut_menu.c" into its own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1047 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-04 16:47:46 +00:00
fayjf
2aa1b9aa83 Moving all the X11-specific "fgDisplay" structure fields into their substructure. I can't see how the X11 build succeeded before this.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1046 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-04 14:35:46 +00:00
fayjf
e9d4340061 Changing a bunch of platform-specific "fgDisplay" fields to "fgDisplay.pDisplay" -- I can't see how the X11 version built before this.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1045 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-04 14:29:34 +00:00
fayjf
8c452d5b4d Splitting the X11-specific code from "freeglut_init.c" into its own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1044 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-04 14:28:32 +00:00
fayjf
65a86cf9b7 Moving the X11-specific code from "freeglut_input_devices.c" into its own file (thank you, Evan Felix)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1043 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-04 14:14:04 +00:00
fayjf
8ec894e4a2 Deleting the now-empty "freeglut_glutfont_definitions.c" file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1042 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-04 14:05:22 +00:00
fayjf
69be7aaf80 Removing the "freeglut_glutfont_definitions.c" dependency from the VX 2008 and 2010 project files
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1041 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-04 13:46:31 +00:00
fayjf
8174572da7 Fixing the "glutGetProcAddress" snafu -- thank you, Evan Felix, for finding this
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1040 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-04 13:37:52 +00:00
fayjf
64953686de Removing the "freeglut_glutfont_definitions.c" dependency from the Windows part of the "cmake" input and from the MSVC 6.0 files
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1039 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-04 05:23:24 +00:00
fayjf
a524fa4397 git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1038 7f0cb862-5218-0410-a997-914c9d46530a 2012-02-04 05:22:33 +00:00
fayjf
2172da8a6a Removing extraneous directories from the base "Makefile.am" file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1037 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-04 05:21:57 +00:00
fayjf
79007d8cac Fixing "cmake" with the new location of the "freeglut_xinput_x11.c" file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1036 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-04 05:10:51 +00:00
fayjf
a61a8d8cf7 Moving the "\freeglut_xinput.c" file from the Common directory to the x11 directory and adding the "_x11" to the end of the file name
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1035 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-04 05:01:29 +00:00
fayjf
1543325eeb Adding the X11-specific source files to the Makefile input
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1034 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-04 04:57:44 +00:00
fayjf
af95912407 Moving some header-style joystick code from "freeglut_joystick.c" to "freeglut_internal.h" to allow the code to build on X11
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1033 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-01 01:51:40 +00:00
fayjf
ee0807ed33 Changing the version number since we're making some rather extensive changes to the code
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1032 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-31 04:56:12 +00:00
fayjf
412df6db71 Fixing a bug I introduced into the "...ATEXIT" hack
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1031 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-30 03:34:22 +00:00
fayjf
89d7b12018 Moving the platform-specific window state fields into their own substructure
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1030 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 19:17:18 +00:00
fayjf
dbc94b3d56 Moving more Windows-specific header stuff over to the Windows-specific header file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1029 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 13:14:08 +00:00
fayjf
d526869dee Moving the Windows-specific includes into the Windows-specific header file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1028 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 13:11:30 +00:00
fayjf
fb4798198c Moving the Windows-specific "__glutCreateMenuWIthExit" function to the Windows-specific file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1027 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 13:06:54 +00:00
fayjf
7a945281b1 Moving the Windows-specific joystick definitions into the Windows-specific header file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1026 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 05:26:54 +00:00
fayjf
ce296d938e Moved the platform-specific variables in the Joystick structure into their own platform-specific substructure.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1025 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 05:25:10 +00:00
fayjf
71de22bf85 Removing the Windows-specific "includes" from "freeglut_joystick.c"
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1024 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 04:46:29 +00:00
fayjf
8ab31e17c0 Splitting the platform-specific joystick "Raw Read" code into its own functions
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1023 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 04:45:17 +00:00
fayjf
74bd5d3da6 Splitting the platform-specific "fgSystemTime" code into its own functions
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1022 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 04:32:41 +00:00
fayjf
807a310099 Moving non-Windows platform-specific code lower in the file again to avoid declaration problems and splitting out the platform-specific fghJoystickOpen code
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1021 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 04:25:56 +00:00
fayjf
266e1b8bb9 Splitting out the platform-specific code from "fghJoystickInit"
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1020 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 04:01:24 +00:00
fayjf
3f41b865c4 Moving the definition of the "fgJoystick" structure type to the header file so I can use it across source code files
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1019 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 03:51:12 +00:00
fayjf
0f68653742 Moving the platform-specific code (non-Windows) farther up in the freeglut_joystick.c file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1018 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 03:42:57 +00:00
fayjf
310d40d945 Splitting platform-specific code out of "fgJoystickClose" function
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1017 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 03:38:11 +00:00
fayjf
1c8c92fa89 Moving the Windows-specific "glutInitWithExit" function to a Windows-specific file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1016 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 03:25:31 +00:00
fayjf
d59e23ba2e Moving the "glutCreateWindowWithExit" and its associated variable to the Windows-specific files
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1015 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 03:22:28 +00:00
fayjf
d918fca3c0 Moving the platform-specific FBConfig and device context variables into platform-specific parts of the code
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1014 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 03:15:41 +00:00
fayjf
9d8d27aa4f Moving the platform-specific window handle and context type definitions into platform-specific code regions
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1013 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 03:04:35 +00:00
fayjf
137cc6d75c Moving the Windows platform-specific "SwapBuffers" calls into a Windows platform-specific file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1012 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 02:52:21 +00:00
fayjf
ab2e6057aa Moving platform-specific fields in "SFG_Display" into a substructure
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1011 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 02:45:04 +00:00
fayjf
488cd6ed75 Fixing the previous commit so we don't have a circular include. Under the new regime, the "freeglut_internal_mswin.h(platform).h" file will have only platform-specific definitions in it and will be included at the top of "freeglut_internal.h".
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1010 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 02:29:16 +00:00
fayjf
ccfdd2eb5f Adding the platform-specific includes to "freeglut_internal.h" in preparation for some more major changes
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1009 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 02:22:56 +00:00
fayjf
a7d02bb52d Removing some Windows-specific function prototypes from "freeglut_internal.h"
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1008 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-24 04:07:10 +00:00
fayjf
8389adce0b Removing a bunch of "static" declarations from the "fgPlatform" function definitions to remove a raft of Linux errors
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1007 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-24 03:48:12 +00:00
fayjf
2b2e9a9644 Fixing the Linux directory paths in which the "automake" looks for source code
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1006 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-24 03:30:19 +00:00
fayjf
7c9b1f6d0d Putting in Diederick Niehorster's patch from e-mail dated 1/23/12 at 6:48 AM to fix the "WM_TOUCH" bugs inserted in the recent code changes
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1005 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-24 00:09:40 +00:00
fayjf
c8a0264fc4 Fixing a preprocessor typo
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1004 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-23 05:46:18 +00:00
fayjf
cec64541a5 Splitting the rest of the Windows-specific "freeglut_window.c" functions into their own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1003 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-23 05:44:18 +00:00
fayjf
4c2d8597d3 Splitting some Windows-specific "freeglut_window.c" functions into their own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1002 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-23 05:24:34 +00:00
fayjf
00b83f5488 Moving some function prototypes into the source files where they are found and out of the "freeglut_internal.h" file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1001 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-23 05:06:58 +00:00
fayjf
d36338f9f1 Rationalizing the names of the platform-specific functions so that they begin with "fgPlatform"
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1000 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-23 05:01:37 +00:00
fayjf
2b9a6f6732 Splitting Windows-specific "freeglut_structure.c" code into its own file (there isn't any)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@999 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-23 04:42:31 +00:00
fayjf
7331abf64a Splitting the other "glutGet" Windows-specific code into its own function
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@998 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-23 04:37:06 +00:00
fayjf
c9e93c29b3 Moving Windows-specific "glutGet" code into its own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@997 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-23 04:06:48 +00:00
fayjf
80f6707bf4 Splitting a little Windows-specific menu code into its own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@996 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-23 02:46:16 +00:00
fayjf
b5938bf572 Splitting the rest of the Windows-specific code from "freeglut_main.c" into its own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@995 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-22 19:25:56 +00:00
fayjf
d75a397b78 Moving some Windows-specific code out of "freeglut_main.c" into the Windows-specific file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@994 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-22 06:21:50 +00:00
fayjf
df4390f600 Splitting out more Windows-specific code in "freeglut_init.c"
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@993 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-22 01:48:15 +00:00
fayjf
e0b5c3f20a Splitting the Windows-specific input device code into its own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@992 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-22 01:42:57 +00:00
fayjf
cc36c34c2a Correcting a header comment
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@991 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-22 01:32:31 +00:00
fayjf
301df8e9f4 Moving the command-line parsing into its own function in preparation for splitting out platform-specific code
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@990 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-20 04:38:09 +00:00
fayjf
b5c63cdad2 Removing more duplicate code ... need to be more careful.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@989 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-20 04:21:42 +00:00
fayjf
c449ab244c Removing some duplicate code from "freeglut_init.c" and its Windows version
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@988 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-20 04:20:28 +00:00
fayjf
93b2137e8f Moving some Windows-specific "freeglut_init.c" helper functions into their own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@987 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-20 04:10:00 +00:00
fayjf
2b3c51b0bd Moving some Windows-specific code from "freeglut_gamemode.c" into its own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@986 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-20 03:51:15 +00:00
fayjf
c28372cd99 Moving more Windows-specific code from "freeglut_ext.c" to the windows-specific file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@985 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-20 03:44:03 +00:00
fayjf
a625fdf807 Moving some Windows-specific code from "freeglut_ext.c" into its own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@984 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-20 03:38:05 +00:00
fayjf
0417074499 Making "freeglut_internal_mswin.h" part of the MSVC 6.0 projects
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@983 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-19 23:35:57 +00:00
fayjf
f565d17162 Splitting out the Windows-specific cursor code into its own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@982 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-19 23:33:47 +00:00
fayjf
95a4d59bc8 Adding the platform-specific files to Visual Studio 2008 and 2010 per e-mail from Diederick Niehorster dated 1/19/12 at 3:00 AM.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@981 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-19 23:07:37 +00:00
fayjf
6ac5889df6 Putting the platform-specific files into the "Cmake" input
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@980 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-17 04:36:09 +00:00
fayjf
fddcc52a66 Adding /one more/ blank platform-specific file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@979 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-16 01:31:19 +00:00
fayjf
e8d77f14c5 Adding empty files for platform-specific Windows and Posix/X11 code to be placed in.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@978 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-16 01:27:55 +00:00
fayjf
132f622a2a Moving the source code files from 'src' to 'src/Common' as a first step towards separating out the platform-specific code. This builds in MSVC 6.0 and I tried to catch all the other build systems, but I'm sure I broke *something*.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@976 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-10 03:49:12 +00:00
fayjf
2331ec9b19 Adding header files to the "freeglut" projects per e-mail from Paul Martz dated 1/9/12 at 1:22 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@975 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-10 02:05:59 +00:00
fayjf
f4e9f3aa31 Making the building of demo programs optional, but enabled by default per e-mail from Paul Martz dated 1/9/12 at 8:56 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@974 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-10 02:01:19 +00:00
fayjf
49a72751ed Adding further comments to the removal of the "atexit" call from the Windows build, per e-mail from Diederick Niehorster dated 1/8/12 at 10:06 PM.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@973 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-09 04:35:20 +00:00
fayjf
2adc0ddf75 Fixing the "cmake" inputs to build the "spaceball" demo properly per e-mail from Paul Martz dated 1/8/12 at 12:03 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@972 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-08 19:25:33 +00:00
fayjf
9510d7557c Getting "cmake" to work on MSVC 6.0. Instructions are in e-mail from David Brown dated 1/3/2012 at 11:43 PM.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@971 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-08 04:59:13 +00:00
fayjf
d031a5c93f Adding the first step towards "cmake" support. It does not work with MSVC 6.0 yet.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@970 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-08 04:37:34 +00:00
fayjf
78f090f23b Modifying the web pages to give news of the new release
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@969 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-02 13:37:46 +00:00
fayjf
82ba0308b9 Updating the web page for RC 4
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@963 7f0cb862-5218-0410-a997-914c9d46530a
2011-12-22 04:05:50 +00:00
fayjf
d8b86185c7 Fixing the "xrandr" refresh rate per e-mail from John Tsiombikas dated 12/19/11 at 7:14 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@962 7f0cb862-5218-0410-a997-914c9d46530a
2011-12-20 03:30:00 +00:00
fayjf
4007f4ba93 Fixing ambiguous parentheses (possibly incorrect?) and a grammatical error in a comment in "freeglut_gamemode.c" per e-mail from John Tsiombikas dated 12/19/11 at 7:14 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@961 7f0cb862-5218-0410-a997-914c9d46530a
2011-12-20 03:26:29 +00:00
fayjf
4dbbd19e46 Leave game mode on "deinitialization" if we entered it, per e-mail from John Tsiombikas dated 12/19/11 at 7:07 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@960 7f0cb862-5218-0410-a997-914c9d46530a
2011-12-20 03:21:25 +00:00
fayjf
7540c81b88 Fixing the "fgDeinitialize" call properly per e-mail from John Tsiombikas dated 12/19/11 at 7:07 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@959 7f0cb862-5218-0410-a997-914c9d46530a
2011-12-20 03:18:11 +00:00
fayjf
74a3090e96 Updating the web page to show 2.8.0 Release Candidate 3
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@958 7f0cb862-5218-0410-a997-914c9d46530a
2011-12-19 02:35:25 +00:00
fayjf
a705abd462 Removing the "atexit ( fgDeinitialize )" call from the Windows code per e-mail trail culminating in a message from Martin Payne dated 12/17/11 at 4:43 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@956 7f0cb862-5218-0410-a997-914c9d46530a
2011-12-17 13:19:25 +00:00
fayjf
681299bdf1 Making the check for a current window in "glutPostRedisplay" more stringent
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@955 7f0cb862-5218-0410-a997-914c9d46530a
2011-12-17 13:10:59 +00:00
fayjf
ae998b54d5 Fixing a memory leak in the "fgHintPresent" function per e-mail from John Tsiombikas dated 12/13/11 6:22 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@954 7f0cb862-5218-0410-a997-914c9d46530a
2011-12-14 03:40:52 +00:00
fayjf
be2e5e2ff9 Undoing changeset 949 as it breaks the Linux build, per e-mail from John Tsiombikas dated 12/13/11 6:41 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@953 7f0cb862-5218-0410-a997-914c9d46530a
2011-12-14 03:35:07 +00:00
fayjf
33d23d40ab Deleting project directories that were deprecated last January and are now redundant and out of date
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@952 7f0cb862-5218-0410-a997-914c9d46530a
2011-12-13 05:40:10 +00:00
fayjf
8caccb7d26 Adding four new functions to the DLL export definition so that they will be exported without decoration, per e-mail from Martin Payne dated 12/12/11 at 3:16 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@951 7f0cb862-5218-0410-a997-914c9d46530a
2011-12-13 04:02:26 +00:00
fayjf
a1f12724d0 Updating copyright and version information in "freeglut.rc" file per suggestion from Martin Payne in e-mail dated 12/12/11, 3:16 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@950 7f0cb862-5218-0410-a997-914c9d46530a
2011-12-13 03:59:58 +00:00
fayjf
7225768c0b Adding an error message code to the "smooth_opengl3" demo per e-mail from Diederick Niehorster dated 12/9/2011 as 12:22 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@949 7f0cb862-5218-0410-a997-914c9d46530a
2011-12-13 03:48:26 +00:00
fayjf
2f61654254 Putting the message on the web site that we are testing 2.8.0 Release Candidate 2
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@948 7f0cb862-5218-0410-a997-914c9d46530a
2011-11-07 04:22:54 +00:00
fayjf
2533806c55 Updating the 64-bit builds for Visual Studio 2008 and 2010, per e-mail from Diederick Niehorster dated 11/2/11 10:05 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@945 7f0cb862-5218-0410-a997-914c9d46530a
2011-11-06 20:18:26 +00:00
fayjf
46c318c429 Patching to fix "glXCreateContextAttribsARB not found" problem per e-mail from John Tsiombikas dated 11/3/2011 7:02 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@943 7f0cb862-5218-0410-a997-914c9d46530a
2011-11-06 13:54:43 +00:00
fayjf
747517066a FreeBSD patch per e-mail from John Tsiombikas vintage 9/27/11, 10:37 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@942 7f0cb862-5218-0410-a997-914c9d46530a
2011-09-28 01:37:26 +00:00
fayjf
9b112ded4d Giving credit where credit is due (I think -- let me know if I've overlooked you)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@941 7f0cb862-5218-0410-a997-914c9d46530a
2011-09-28 01:24:32 +00:00
fayjf
9b77f45700 Addressing Ubuntu bug 686312 reported as freeglut bug 3407093 -- adding '-lm' to the Lorenz and Spaceball demos
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@940 7f0cb862-5218-0410-a997-914c9d46530a
2011-09-28 01:06:39 +00:00
fayjf
cdde1ea3d4 Addressing Ubuntu bug 686315 reported as freeglut bug 3407093 -- rearranging the 'Makefile.am' loader flags
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@939 7f0cb862-5218-0410-a997-914c9d46530a
2011-09-28 01:04:17 +00:00
fayjf
32eeed5042 Fixing build warnings on OpenSUSE (and probably other Linux distros) by enclosing some function prototypes within an "ifdef" checking for Windows per e-mail from Johannes Obermayr dated 8/8/2011 at 1:05 PM (thank you, Johannes)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@938 7f0cb862-5218-0410-a997-914c9d46530a
2011-09-10 12:53:06 +00:00
fayjf
b9d2d7a189 Addressing bug report 3368139 about warnings under OpenSUSE. I added two explicit casts and an initialization.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@937 7f0cb862-5218-0410-a997-914c9d46530a
2011-09-05 17:26:30 +00:00
fayjf
1cbc89e7f0 Putting in Diederick Niehorster's documentation updates per e-mail dated 9/5/2011 at 1:26 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@936 7f0cb862-5218-0410-a997-914c9d46530a
2011-09-05 13:07:43 +00:00
fayjf
65b30abf59 Fixing the "XRANDR" version testing in "freeglut_gamemode.c", addressing bug 3383843. Thanks to Diederick Niehorster for pointing it out.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@935 7f0cb862-5218-0410-a997-914c9d46530a
2011-09-05 12:56:50 +00:00
fayjf
aacc1b36a2 Whoops, I missed one.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@934 7f0cb862-5218-0410-a997-914c9d46530a
2011-09-05 04:59:32 +00:00
fayjf
267487614e Cleaning up the MS VS2008 and VS2010 project files--removing some specifications that are already default and removing debug info generation from the release versions
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@933 7f0cb862-5218-0410-a997-914c9d46530a
2011-09-05 04:48:42 +00:00
fayjf
57039867b7 Final patch on full screen fix per e-mail from Diederick Niehorster dated 10/4/11 at 10:19 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@932 7f0cb862-5218-0410-a997-914c9d46530a
2011-09-05 03:35:35 +00:00
fayjf
440b6ad83b Adding the "patch_demo" patch per e-mail from Diederick Niehorster vintage 6/9/11 at 11:57 PM. Please check that I got them right; they are quite confusing.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@931 7f0cb862-5218-0410-a997-914c9d46530a
2011-09-04 20:30:48 +00:00
fayjf
8c65b376ac Fixing the build after Diederick Niehorster's full screen fixes: they are only valid for WINVER >= 0x0500.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@930 7f0cb862-5218-0410-a997-914c9d46530a
2011-09-04 19:58:20 +00:00
fayjf
cf91891cf8 Putting in Diederick Niehorster's fullstreen patch per e-mail from him dated 6/9/2011, updated 9/4/2011 with modified patch.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@929 7f0cb862-5218-0410-a997-914c9d46530a
2011-09-04 19:38:32 +00:00
fayjf
42235dfaa1 Fixing freeglut's desire to initialize the spaceball every time a window is checked. Now it tries once the first time a spaceball function is called and after that if it fails it doesn't try any more. This is per an e-mail from Diederick Niehorster vintage 6/8/11 at 3:17 AM, referring to feature request 3190319.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@928 7f0cb862-5218-0410-a997-914c9d46530a
2011-09-04 03:49:11 +00:00
fayjf
36bdaa9a43 Fixing bug 3292122 from Nigel Stewart (thanks, Nigel) so that "freeglut" will build on Ubuntu, per e-mail from Diederick Niehorster vintage 6/8/2011 at 3:07 AM. There was a problem with variables being declared only with an X extension but being used for all of X.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@927 7f0cb862-5218-0410-a997-914c9d46530a
2011-09-04 03:35:29 +00:00
fayjf
679e603ffc Fixing a null argument to 'strdup' per e-mail from Eero Pajarre dated 6/8/2011 4:15 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@926 7f0cb862-5218-0410-a997-914c9d46530a
2011-06-10 03:53:12 +00:00
fayjf
f979d866ea Adding a multitouch patch from Eero Pajarre per e-mail dated 6/8/2011 1:14 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@925 7f0cb862-5218-0410-a997-914c9d46530a
2011-06-10 03:50:27 +00:00
fayjf
248df90aef Patch for new Visual Studios to fix typos and quiet warnings per e-mail from Diederick C. Niehorster dated 6/5/2011 at 9:23 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@924 7f0cb862-5218-0410-a997-914c9d46530a
2011-06-10 03:47:11 +00:00
fayjf
ef4424524a Updating the MSVC 2010 project file for the "subwin" demo, courtesy of an e-mail from Diederick Niehorster dated 6/5/2011 at 9:32 PM.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@923 7f0cb862-5218-0410-a997-914c9d46530a
2011-06-10 03:36:14 +00:00
fayjf
f106c8b1e8 Fixing a 'gamemode at_exit' bug courtesy of Diederick Niehorster per e-mail dated 6/1/11 1:50 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@922 7f0cb862-5218-0410-a997-914c9d46530a
2011-06-01 11:44:00 +00:00
fayjf
3a5a72436b Adding support for partial mouse wheel turns as requested by Jason Wilkins in an e-mail dated 5/27/11 10:34 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@921 7f0cb862-5218-0410-a997-914c9d46530a
2011-05-27 20:37:31 +00:00
fayjf
25edeabab4 Adding "MouseWheelTicks" to the "fgState" structure as a first step towards supporting fractional mouse wheel ticks
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@920 7f0cb862-5218-0410-a997-914c9d46530a
2011-05-27 20:27:04 +00:00
fayjf
409b0c9f78 Fixing multitouch for Windows per e-mail from Florian Echtler dated 5/3/11 10:33 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@919 7f0cb862-5218-0410-a997-914c9d46530a
2011-05-27 20:17:34 +00:00
fayjf
7b62a4fb84 Fixing 'glutGet' processing for 'GLUT_BORDERLESS' on Windows per e-mail from Eero Pajarre dated 4/24/2011 10:17 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@918 7f0cb862-5218-0410-a997-914c9d46530a
2011-05-27 20:12:02 +00:00
fayjf
849856388a Fixing 'GLUT_BORDERLESS' on Windows per e-mail from Eero Pajarre dated 4/24/2011 9:19 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@917 7f0cb862-5218-0410-a997-914c9d46530a
2011-05-27 20:10:13 +00:00
fayjf
5fac63e885 Updating the VS 2010 solution file per e-mail from Diederick Niehorster dated 5/27/11 at 3:59 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@916 7f0cb862-5218-0410-a997-914c9d46530a
2011-05-27 20:03:10 +00:00
fayjf
d6a686cad3 Adding the "subwin" demo to the MSVC 6.0 workspace, in both static and dynamic configurations
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@915 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-26 18:10:27 +00:00
fayjf
81fdcb4328 Fixing the build on *nix per e-mail from John Tsiombikas dated 3/22/11 at 2:26 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@914 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-25 02:50:57 +00:00
fayjf
67fa04607e Fixing problems in VS2010 solution and project files per e-mail from Diederick Niehorster dated 3/22/11 11:30 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@913 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-23 12:40:54 +00:00
fayjf
484626fccb Adding the "subwin" demo program to the Visual Studio 2010 build tree per e-mail from Diederick Niehorster dated 3/22/11 at 8:58 AM. I had to hand-jam it with Notepad so please check it for errors.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@912 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-23 04:06:04 +00:00
fayjf
1d25372912 Adding the "subwin" demo program to the Visual Studio 2008 build tree per e-mail from Diederick Niehorster dated 3/22/11 at 8:58 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@911 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-23 03:55:21 +00:00
fayjf
e627bb8e41 Making some constants in the 'subwin' demo floating-point to silence compiler warnings per e-mail from Diederick Niehorster dated 3/22/11 at 8:58 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@910 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-23 03:38:25 +00:00
fayjf
f32f2d2b6c Adding 'invisible messages' patch per e-mail from John Tsiombikas dated 3/18/11 1:24 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@909 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-22 11:53:09 +00:00
fayjf
6c4b6141d7 More game mode patches from John Tsiombikas, from an e-mail vintage 3/18/11 1:24 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@908 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-22 11:51:00 +00:00
fayjf
d77fcbd6ee Adding 'freeglut_xinput.c' to fix the SVN head per e-mail from Floiran Echtler around March 19, 2011
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@907 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-22 11:44:31 +00:00
fayjf
eb247de77f Adding the 'subwinfix.patch' patch to set the focus in the Windows code. Includes a demo program. See e-mail from Evan Felix dated 3/17/11 4:22 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@906 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-18 03:21:56 +00:00
fayjf
c6a776f086 Adding multitouch capability per e-mail from Florian Echtler dated 3/17/11 12:07 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@905 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-18 02:59:22 +00:00
fayjf
4a2f0ca602 Adding more examples to 'one.c' to test the game mode string per e-mail from Diedrick Niehorster dated 3/16/11 11:06 PM.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@904 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-17 04:22:55 +00:00
fayjf
b5bed65086 Adding a warning to an unsuccessful game mode entry per e-mail from Diedrick Niehorster dated 3/16/11 11:06 PM.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@903 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-17 04:21:38 +00:00
fayjf
59cf65ed21 Implementing the 'gamemode-testing_windows.patch' per e-mail from Diederick Niehorster dated 3/16/11 1:06 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@902 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-17 02:55:51 +00:00
fayjf
fb0382908b Fixing the unspecified game mode parameter problem per e-mail from Diederick Niehorster dated 3/16/11 1:06 AM -- putting in both 'gamemode-unspecified' patch files at once
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@901 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-17 02:53:40 +00:00
fayjf
f11acde225 Applying the "readme-win32.patch" patch from Diederick Niehorster in e-mail dated 3/16/11 at 1:06 AM.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@900 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-17 02:49:29 +00:00
fayjf
524888cc10 Applying the "vs2010_project_files.patch" patch from Diederick Niehorster in e-mail dated 3/16/11 at 1:06 AM. It will need checking that I have done it right as I needed to use the text editor to put them in.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@899 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-17 02:46:09 +00:00
fayjf
ca1a3d45cc Implementing John Tsiombikas' missing error demo patch per e-mail dated 3/15/11 8:04 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@898 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-16 03:24:21 +00:00
fayjf
bad5d84e8b Implementing John Tsiombikas' game mode patch per e-mail dated 3/15/11 8:04 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@897 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-16 03:22:49 +00:00
fayjf
b6e66727a9 Fixing a bug which set the "ErrorFunc" field in the call to "glutInitWarningFunc"
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@896 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-14 03:26:15 +00:00