beuc
260c71b27e
android: implement fgPlatformSetCursor/fgPlatformWarpPointer
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1279 7f0cb862-5218-0410-a997-914c9d46530a
2012-05-02 14:49:15 +00:00
beuc
ae35d72efd
fg_geometry: GL2 fixed: glDrawElements' indices is byte offset, not element offset
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1278 7f0cb862-5218-0410-a997-914c9d46530a
2012-05-01 22:16:33 +00:00
beuc
9b1a6ab1dd
fg_geometry: pass number of vertices to fgDrawWire*; start adapting GL2 code to recent GL1 changes (GL2 code doesn't produce proper results yet)
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1277 7f0cb862-5218-0410-a997-914c9d46530a
2012-05-01 21:28:28 +00:00
beuc
628d9b7a7e
Detect sinf/cosf/sqrtf presence with CMake (instead of relying on __cpluscplus)
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1276 7f0cb862-5218-0410-a997-914c9d46530a
2012-05-01 14:14:54 +00:00
beuc
0629737fa2
Initialize OpenGL 2.0 after OpenGL context is created (otherwise initialization fails under mswin)
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1275 7f0cb862-5218-0410-a997-914c9d46530a
2012-05-01 13:13:14 +00:00
beuc
104a238a57
fg_geometry: remove GLES-specific #ifdefs (in code and headers), update Android test-case. GL2 code compiles but does not work yet.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1274 7f0cb862-5218-0410-a997-914c9d46530a
2012-05-01 10:37:06 +00:00
beuc
dad750d1df
Android: reference android library dependencies, needed for shared libs builds
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1273 7f0cb862-5218-0410-a997-914c9d46530a
2012-05-01 09:33:05 +00:00
dcnieho
45b71f41a9
now using the Koch Snowflake (from fractals.dat) instead of Cantor dust
...
for fractals and fractals_random demo (changed built-in data).
Looks better
Also removed copying of fractals.dat to build dir from CMake file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1272 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-30 15:19:59 +00:00
dcnieho
c04a82ac47
drawing code for solid and wired now shared for all objects
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1271 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-29 04:16:07 +00:00
dcnieho
b739e1a281
cleanup
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1270 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-28 17:03:29 +00:00
dcnieho
a01a0426e7
torus ported. All shapes drawn with glDrawArrays and glDrawElements now.
...
Next is to use the same drawing functions for all shapes, all those with
circles still have their own now
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1269 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-28 17:01:44 +00:00
dcnieho
93e05f42de
less repetition of vertices for triangle strip
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1268 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-28 16:35:39 +00:00
dcnieho
21268d0831
Wire Torus now ported
...
solid torus now as triangle strips, but still need to finish port
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1267 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-28 13:29:49 +00:00
dcnieho
fe89b94fc4
porting torus: split off vertex generation
...
fixed drawing to work with this
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1266 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-28 10:57:40 +00:00
beuc
5fbbc35cb5
Mention we can have a look at Pygame Subset for Android
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1265 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-22 17:35:14 +00:00
dcnieho
8bd75d7761
added 'r' toggle to shapes demo to also animate rotation around object
...
x-axis, to get a better view of the model
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1264 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-22 16:39:47 +00:00
dcnieho
b5cfa418b6
one more small cleanup
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1263 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-22 16:32:29 +00:00
dcnieho
98ca02122b
cylinder also ported
...
little bit of cleanup in Cone and Sphere code (fixed normals of top of
cone, no longer generating too many indices for wire frame)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1262 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-22 16:30:19 +00:00
beuc
97a9318a81
Eventually tracked down nasty Android bug
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1260 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-21 20:19:31 +00:00
beuc
d554cb9ab1
Fix a few more compiler warnings
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1259 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-21 19:04:02 +00:00
beuc
46fd1bbdf5
Fix more compiler warnings
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1258 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-21 18:22:24 +00:00
dcnieho
49922f9a8a
glutCones now refreshed too
...
little edits on glutSphere too, nothign affecting functionality
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1257 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-21 18:05:56 +00:00
beuc
c0fceb37bb
Fix compiler warnings
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1256 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-21 17:40:25 +00:00
beuc
e2f3f6181e
Add more compiler checks for GCC
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1255 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-21 16:53:57 +00:00
beuc
5c09863775
README.android: typo
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1254 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-21 16:50:38 +00:00
beuc
77d621e304
fg_gl2: Use GLES2 functions directly
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1253 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-21 16:45:46 +00:00
beuc
41c8a0c66b
fg_geometry: really uninitialized variables
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1252 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-21 16:20:19 +00:00
beuc
2da5cd2a9a
Really fix tabs->space
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1251 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-21 15:49:46 +00:00
beuc
9585336ff3
Really fix tabs->space (Dee's replacement was assuming 4-spaces tabs instead of 8)
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1250 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-21 15:02:00 +00:00
dcnieho
b66ef56d4b
solid sphere now done with only triangle strips.
...
All shapes should be doable with only triangle strips, so this allows
code reuse later ...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1249 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-20 11:25:42 +00:00
dcnieho
6a17bac02a
converted all tabs to spaces, hate if they are mixed...
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1248 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-20 10:55:00 +00:00
beuc
9cd6041e4c
More GLES documentation
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1247 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-19 21:12:32 +00:00
beuc
716701e477
Add 'shapes' test for GLES1 (Android and Mesa EGL), as an independent CMake sample app
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1246 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-19 21:10:59 +00:00
beuc
54961248f7
README.android: suggest Debug build + tidy CMake build directories naming
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1244 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-19 20:53:47 +00:00
beuc
f8979fafb9
EGL: Declare fgPlatformSetWindow earlier to fix C warning
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1243 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-19 20:52:55 +00:00
beuc
b954aa8212
Fix regressions from previous commits
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1242 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-15 19:08:26 +00:00
beuc
69d4dabb9b
Android: fix/upgrade paths in README
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1241 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-15 18:47:07 +00:00
beuc
c49fb151da
Remove a couple printf's
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1240 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-15 18:46:38 +00:00
beuc
aef742b7c3
EGL: reuse fgPlatformSetWindow for calling eglMakeCurrent
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1239 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-15 18:45:54 +00:00
beuc
782974c8cf
Fix eglInitialize check
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1238 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-15 18:44:17 +00:00
beuc
56742b2bbd
__ANDROID__ is defined in the Android build environment; no need for an extra -DANDROID
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1237 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-09 18:35:25 +00:00
fayjf
9d024e63ab
Removing the build errors from MSVC 6.0 version
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1236 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-07 02:28:55 +00:00
beuc
b33e1bbffe
Fix return values for stubs
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1235 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-02 22:58:07 +00:00
beuc
7e5af9b5b5
fg_gl2: Fix typo
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1234 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-02 22:43:23 +00:00
beuc
86545861dc
Use different names for GLES1 and GLES2 libraries, to allow parallel install
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1233 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-02 22:22:33 +00:00
beuc
53c5a0c8c6
Start webpage about GLES
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1232 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-02 22:08:06 +00:00
fayjf
c85f5937dd
Removing the build errors and a build warning that crept in for MSVC 6.0. There remain the undefined functions "sinf" and "cosf".
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1231 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-01 20:09:51 +00:00
beuc
3123ddca88
README.android status section points to new android.php webpage
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1230 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-01 20:00:08 +00:00
beuc
83ef66f398
Start page about Android
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1229 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-01 19:59:28 +00:00
beuc
2707583c09
A few more stubs for Android
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1228 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-01 15:42:47 +00:00
beuc
a0643b8c0c
README.android: use separate build dirs + minor fixes
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1227 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-01 15:40:23 +00:00
beuc
4349a9ec2d
GLsizei: ptrdiff_t -> int (like GLEW); add missing FGH_ prefix for OpenGL 2.0 prototype typedef's
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1226 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-01 13:39:12 +00:00
beuc
6b02c619e7
Fix OpenGL 2.0 declarations so code builds on Windows & Android
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1225 7f0cb862-5218-0410-a997-914c9d46530a
2012-04-01 12:55:39 +00:00
beuc
40c07d20e5
fg_geometry: Enable supported geometry functions for GLES2
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1224 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-31 21:50:55 +00:00
beuc
3da140426f
Fix previous commit, I made a confusion when merging my changes with the trunk
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1223 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-31 21:43:06 +00:00
beuc
6d98aacd0d
fg_geometry: add OpenGL 2.0 version fghDrawGeometryWire/fghDrawGeometrySolid, and a wrapper to go choose 1.1 or 2.0 version. Common code (glDrawElements) is very small and is copy/pasted in both functions.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1222 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-31 21:24:45 +00:00
beuc
ba5e48ebcb
OpenGL 2.0: add 2 user-defined, per-context vertex attributes for coordinates and normals (e.g. for use in fg_geometry)
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1221 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-31 20:52:48 +00:00
beuc
63ca031e62
Declare OpenGL 2.0 dynamically-loaded functions for internal use
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1220 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-31 20:21:16 +00:00
beuc
1dae162bb0
fg_geometry: sphere: GL_UNSIGNED_INT->GL_UNSIGNED_SHORT for OpenGL ES 1.0 support
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1219 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-31 20:03:01 +00:00
jtsiomb
4c7a212acb
added an option (GLUT_SKIP_STALE_MOTION_EVENTS) to ignore all but the last
...
MotionNotify event in the queue.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1218 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-31 13:34:32 +00:00
dcnieho
207411c39b
added todo
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1217 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-30 00:55:51 +00:00
dcnieho
afdd121473
cleanup up make up of geometry function docs a bit
...
added glutCylinder (description TODO)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1216 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-26 16:14:27 +00:00
dcnieho
c7016dc648
added not about wrong winding of teapot vertices, as is in the original
...
glut manpages
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1215 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-26 13:51:15 +00:00
beuc
299390347d
EGL: implement fgPlatformGetProcAddress
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1214 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-25 17:13:14 +00:00
beuc
6e8d6a3f36
Indentation fix
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1213 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-25 17:09:42 +00:00
dcnieho
0f713eaaba
bit of preparation for porting cone and cylinder: yes, both can be done
...
with triangle strips (and then special treatment of cone tip isn't
needed)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1212 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-25 14:53:41 +00:00
beuc
f39a3f055e
Restore non-corrupted images from website
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1211 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-25 13:56:00 +00:00
dcnieho
92f52b5f41
ported sphere. Drawing code is still in the sphere function, that and
...
the vertex index generating code can hopefully be abstracted away. But
first need to port the other shapes so I have a better idea of the
overlap. (sorry Sylvain! Just don't touch the sphere for now)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1209 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-25 10:13:52 +00:00
dcnieho
9de1264e80
correcting a few typos i made earlier in the comments
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1208 7f0cb862-5218-0410-a997-914c9d46530a
2012-03-25 06:13:47 +00:00
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
fayjf
7e3e81f7f8
Reducing the initial menu window size from 100x100 pixels to 1x1 pixel so that it doesn't "flash" on the screen as the menu is being created. Reference to e-mail by Jason Wilkins dated 2/22/2011 11:43 AM.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@895 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-14 02:59:17 +00:00
fayjf
3364c70ee6
Fixing a bug in the game mode refresh rate specification, in the case in which an exact match is not found in the available display modes. Reference to e-mail from Diederick C. Niehorster dated 1/26/2011, 11:59 PM
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@894 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-13 21:19:00 +00:00
fayjf
45305abdcb
Fixing game mode in X11 so that it doesn't override unspecified settings per e-mail from John F. Fay dated March 13, 2011 around 4:09 PM. I think this addresses bug report 3112718.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@893 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-13 21:11:18 +00:00
fayjf
4f556f9516
Fixing game mode in Windows so that it doesn't override unspecified settings per e-mail from Diederick C. Niehorster, 1/25/2011, 11:09 PM. I think this addresses bug report 3112718.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@892 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-13 21:00:37 +00:00
fayjf
f86a562414
Fixing bug 3048705 -- "fgOpenWindow should only return after the window opens". This is a *nix change and I am building on Windows, so somebody else needs to test this change.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@891 7f0cb862-5218-0410-a997-914c9d46530a
2011-01-25 05:56:38 +00:00
fayjf
4a9a84130a
Fixing bug report 3104860 -- setting the accumulator bits to one if GLUT_ACCUM is set (Windows code only)
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@890 7f0cb862-5218-0410-a997-914c9d46530a
2011-01-25 05:47:56 +00:00
fayjf
ad3899e6a1
Fixing bug 3105058. There is a possibly substantial change on line 783, where the "window->Window.Device" is replaced with "hDC" rather than "current_hDC" which was assigned to its value earlier.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@889 7f0cb862-5218-0410-a997-914c9d46530a
2011-01-25 05:43:37 +00:00
fayjf
dc9123210d
Fixing bug report 3021598 by modifying "glutSetWindow" under Windows so that it only releases and gets the device context if the window is being set to a new window
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@888 7f0cb862-5218-0410-a997-914c9d46530a
2011-01-25 05:17:12 +00:00
fayjf
b542912840
Fixing bug report 2952457 -- modifying the "FREEGLUT_EXIT_IF_NO_WINDOW" macro so that it does not exit if the user has specified "GLUT_ACTION_CONTINUE_EXECUTION".
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@887 7f0cb862-5218-0410-a997-914c9d46530a
2011-01-23 22:30:13 +00:00
fayjf
d8c52fb066
Fixing bug 2946386 -- typo in 'configure.ac'
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@886 7f0cb862-5218-0410-a997-914c9d46530a
2011-01-23 22:19:16 +00:00
fayjf
21c78935f7
Fixing bug 3058389, typo in Open Watcom Makefile.wat. Thank you, Kasper.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@885 7f0cb862-5218-0410-a997-914c9d46530a
2011-01-23 19:12:30 +00:00
fayjf
707dedd131
Part one of fixing bug 3058987 -- the 'freeglut_patch_visual_info.diff' changes
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@884 7f0cb862-5218-0410-a997-914c9d46530a
2011-01-23 18:58:54 +00:00
fayjf
62dc997e85
Adding support to Solaris courtesy of Dagobert Michelsen, bug report 3077828 (thank you, Dagobert).
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@883 7f0cb862-5218-0410-a997-914c9d46530a
2011-01-23 14:29:47 +00:00
fayjf
5bdbf8739d
Removing a bunch of Windows line endings -- see bug report 3077828
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@882 7f0cb862-5218-0410-a997-914c9d46530a
2011-01-23 14:18:25 +00:00
fayjf
51d3ffb2e6
Fixing bug report 3106347, 'Incorrect normals for glutSolidCone' -- thank you Nigel.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@881 7f0cb862-5218-0410-a997-914c9d46530a
2011-01-23 04:25:33 +00:00
fayjf
28fbb2e489
Adding Visual Studio 2010 support and moving Visual Studio 2008 support from two separate directories into a single "VisualStudio" directory.
...
Use of the project files in the "VisualStudio2008" or "VisualStudio2008Static" directories is now DEPRECATED.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@880 7f0cb862-5218-0410-a997-914c9d46530a
2011-01-23 03:47:05 +00:00
fayjf
91da82f05a
Adding a 'README.mac' file to capture Nicholas Panayis' experience -- see e-mail on freeglut-developer dated 11/9/2010 at 10:03 PM
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@879 7f0cb862-5218-0410-a997-914c9d46530a
2011-01-23 02:45:42 +00:00
fayjf
84097816a1
Fixing typo in a comment per e-mail from Arvin Schnell dated 11/19/10 4:55 AM
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@878 7f0cb862-5218-0410-a997-914c9d46530a
2010-11-20 13:40:25 +00:00
fayjf
e5e5aebedf
Addressing feature request 2116152 -- adding an fgError exit callback routine -- patch from Chris Marshall in e-mail dated 10/30/2010 2:06 PM
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@877 7f0cb862-5218-0410-a997-914c9d46530a
2010-11-01 04:13:54 +00:00
fayjf
c7aaa1bc6b
Fixing "fgDestroyWindow" error per e-mail from John Tsiombikas dated Wed, 26 May 2010 13:16:28 +0200
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@876 7f0cb862-5218-0410-a997-914c9d46530a
2010-05-29 02:07:21 +00:00
fayjf
142e76b216
Allowing recent change to build on older versions of MSVC per e-mail from Eero Pajarre dated 1/31/10 at 10:00 AM
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@875 7f0cb862-5218-0410-a997-914c9d46530a
2010-02-01 03:02:44 +00:00
fayjf
70d3a84fbb
Putting the definition of "HAVE_VFPRINTF" back in (and adding the errant "F") per e-mail from Eero Pajarre dated 1/29/2010 at 7:51 AM
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@874 7f0cb862-5218-0410-a997-914c9d46530a
2010-01-30 00:54:59 +00:00
fayjf
600f6d5a8f
Adding a more comprehensive warning message if "CreateDC" failed, per e-mail from Eero Pajarre dated 1/29/10, 5:26 AM
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@873 7f0cb862-5218-0410-a997-914c9d46530a
2010-01-30 00:03:48 +00:00
fayjf
e20faf7c03
Implementing Windows multiple-display patch per e-mail from Eero Paharre dated 1/25/10, 11:54 AM
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@872 7f0cb862-5218-0410-a997-914c9d46530a
2010-01-29 05:05:14 +00:00
fayjf
c907da58a6
Making all Windows include file names lower-case for better *nix compatibility per e-mail from Martin Payne vintage 1/22/2010 6:15 AM.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@871 7f0cb862-5218-0410-a997-914c9d46530a
2010-01-25 03:57:50 +00:00
fayjf
c152b70c81
Checking for a window before we try to refer to it (see e-mail by Eero Pajarre dated 1/10/2010 at 2:48 PM).
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@870 7f0cb862-5218-0410-a997-914c9d46530a
2010-01-11 01:41:38 +00:00
fayjf
cc885020fd
Fixing a typo in a comment
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@869 7f0cb862-5218-0410-a997-914c9d46530a
2010-01-04 16:31:17 +00:00
fayjf
4942803265
Implementing feature request #2840239 : Windows special keys added (ctrl, shift and alt)
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@868 7f0cb862-5218-0410-a997-914c9d46530a
2010-01-04 04:44:34 +00:00
fayjf
860aa2a786
Implementing feature request 2824176: detection of X11 special keys: SHIFT, CTRL, ALT
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@867 7f0cb862-5218-0410-a997-914c9d46530a
2010-01-04 04:07:03 +00:00
fayjf
89054dd9a7
Rearranged some of the configuration-dependent code with an eye to simplifying it.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@866 7f0cb862-5218-0410-a997-914c9d46530a
2009-12-24 04:05:46 +00:00
fayjf
9b9809432d
Adding Solaris and OSX to the *nix/X11 cursor support and adding a comment to the spaceball file
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@865 7f0cb862-5218-0410-a997-914c9d46530a
2009-12-24 03:06:22 +00:00
fayjf
eff908883c
Adding a check for Solaris in the "freeglut_internal.h" code to avoid duplication
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@864 7f0cb862-5218-0410-a997-914c9d46530a
2009-12-21 01:50:35 +00:00
fayjf
726c395f33
Having the library poll joysticks only if there is an active joystick callback enabled per e-mail exchange titled "overjoyed" on December 10-13, 2009
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@863 7f0cb862-5218-0410-a997-914c9d46530a
2009-12-13 13:47:20 +00:00
fayjf
81d921ae4c
Fixing another errant "HAVE_ERRNO_H" preprocessor definition
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@862 7f0cb862-5218-0410-a997-914c9d46530a
2009-12-13 13:46:20 +00:00
fayjf
e2a89d2678
Checking in the 'build patch' from Jeremy Huddleston vintage 11/19/09 -- everything except the 'configure.ac' changes which break my Cygwin build
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@861 7f0cb862-5218-0410-a997-914c9d46530a
2009-12-13 05:06:44 +00:00
fayjf
ab90771c87
Replacing a needed function in the cursor code -- the previous SVN commit broke the build.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@860 7f0cb862-5218-0410-a997-914c9d46530a
2009-12-12 13:37:57 +00:00
fayjf
f2e555b6e6
Simplifying the system-dependent conditional code in "freeglut_cursor.c"
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@859 7f0cb862-5218-0410-a997-914c9d46530a
2009-12-05 14:58:24 +00:00
fayjf
439af1ae86
Adding Martin Payne's changes to the web source per e-mail dated 11/30/09, 5:31 AM
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@858 7f0cb862-5218-0410-a997-914c9d46530a
2009-12-03 13:06:07 +00:00
fayjf
cf68c85c42
Diederick Niehorster's web page changes as listed in an e-mail dated 11/29/09, 8:35 PM
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@857 7f0cb862-5218-0410-a997-914c9d46530a
2009-12-03 04:12:54 +00:00
fayjf
51c968449c
Uploading spaceball/set-window patch per e-mail from John Tsiombikas dated 1:34 PM, 12/2/09
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@856 7f0cb862-5218-0410-a997-914c9d46530a
2009-12-03 03:21:12 +00:00
fayjf
e5e1e7df6c
Bumping the version number up to 2.7.0 -- we are now into the new "unstable" build for the next go-around
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@855 7f0cb862-5218-0410-a997-914c9d46530a
2009-12-02 12:08:37 +00:00
fayjf
103563ac3b
See e-mail from Martin Payne dated 11/30/09 at 5:51 AM. These changes include changing "HAVE_ERRNO" to "HAVE_ERRNO_H" globally, modifying "configure.ac" to check for "errno.h", and modifying the "vcproj" files to suppress spurious warnings.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@854 7f0cb862-5218-0410-a997-914c9d46530a
2009-12-02 03:56:05 +00:00
fayjf
7efa887c37
Updating the web page
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@853 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-30 01:08:32 +00:00
fayjf
ff2ef131b4
Making the "smooth_opengl3" typedefs to be Windows only per a discussion on the developers' list over the last several days.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@851 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-19 12:51:58 +00:00
fayjf
4aeba03641
Adding Mac OSX to the list of platforms covered by the X11 support. This is a stopgap measure so we can get something out the door; I would prefer native OSX support. See e-mail from Paul Martz at 3:25 PM, 11/16/09 for some thoughts on this. Apparently this allows the library to build but the demos do not work.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@850 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-18 12:29:05 +00:00
fayjf
ee3f0e0680
Putting in the "glutFullScreen" support for Gnome and other X window managers per e-mail with patch file from John Tsiombikas dated 2:14 AM, 11/16/09
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@849 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-18 01:52:13 +00:00
fayjf
77dda48064
Fixing the "freeglutdll.def" for real per e-mail from Martin Payne dated 12:58 PM, 11/14/09
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@848 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-14 19:11:21 +00:00
fayjf
52e7f764cc
Removing a set of deprecated joystick functions from "freeglutdll.def" per e-mail thread with Martin Payne on "Release Candidate 2 status", one entry of which is dated 1:03 AM, 11/14/09
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@847 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-14 18:43:07 +00:00
fayjf
acb7e60c1f
Fixing bug 2862668, "freeglut 2.6.0 RC1 fails to build on FreeBSD", submitted by Alexis Ballier ( aballier ) - 2009-09-20 09:44 (thank you, Alexis)
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@846 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-14 04:31:39 +00:00
fayjf
aaaac4abe3
Making the spaceball demo a bit more elegant per e-mail from John Tsiombikas dated 8:45 PM, 11/10/09.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@845 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-11 03:30:06 +00:00
fayjf
0be6f5a309
Getting the "spaceball" demo to build properly in Windows
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@844 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-11 01:21:41 +00:00
fayjf
11adf5e005
Adding the "freeglut_spaceball.c" file to the MSVC6 project files
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@843 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-11 00:59:50 +00:00
fayjf
7eb5301e0e
Adding "freeglut_spaceball.c" to the VS2008 project files per e-mail from Diederick Niehorster dated 12:13 AM, 11/9/09
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@841 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-09 13:08:37 +00:00
fayjf
c2557f0a19
Adding "freeglut_spaceball" to the "Makefile.wat" file to (I hope) allow it to build using OpenWATCOM
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@840 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-08 02:58:49 +00:00
fayjf
e84e92b56d
Converting tab characters to spaces in the source code ...
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@839 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-08 02:00:17 +00:00
fayjf
e9ad401d84
Removing spurious warning message from new freeglut spaceball support per e-mail from John Tsiombikas dated 11/06/09 12:19 PM
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@838 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-07 02:16:38 +00:00
fayjf
803c4f86a2
First attempt at adding John Tsiombikas' spaceball support for X11. It compiles under Windows but the demo program does not. See e-mail from John Tsiombikas dated 10/15/2009 9:43 AM.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@837 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-06 13:26:16 +00:00
fayjf
755316c21d
Implementing "glutEntryFunc" for Windows properly. I also moved the menu highlight code so that needs checking.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@836 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-05 13:45:52 +00:00
fayjf
23c2780aab
Adding a check for mingw64 in "freeglut_cursor.c" per e-mail from Sisyphus dated Thu, 29 Oct 2009 13:13:18 +1100
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@835 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-04 00:38:55 +00:00
fayjf
0027c2521f
Protecting "errno" in case it is not defined per e-mail from Vincent R dated 5:37 AM, October 3, 2009.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@834 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-03 13:45:32 +00:00
fayjf
2bebcfa23f
Protecting some preprocessor symbols that are not defined in OpenGL-ES per e-mail from Vincent R dated 5:37 AM, October 3, 2009.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@833 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-02 13:42:23 +00:00
spanne
baf772ecb7
Added support for sRGB framebuffers via the GLX_ARB_framebuffer_sRGB /
...
WGL_ARB_framebuffer_sRGB extensions. Added support for context profiles via the
new parts of the GLX_ARB_create_context / WGL_ARB_create_context extensions.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@832 7f0cb862-5218-0410-a997-914c9d46530a
2009-08-10 18:39:58 +00:00
spanne
5c6071fa45
Unbreak the build for non-Windows platforms, fixing obviously untested
...
recent commits.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@831 7f0cb862-5218-0410-a997-914c9d46530a
2009-07-23 19:07:34 +00:00
fayjf
f0d06b2fe6
Making the #ifdef's around "__glutExitFunc" consistent so Cygwin will build
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@830 7f0cb862-5218-0410-a997-914c9d46530a
2009-07-12 14:29:16 +00:00
fayjf
ecd59d13e2
Adding the Cygwin/mingw documentation from Jean-Seb (see e-mail dated Thu 7/9/2009 5:51 PM)
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@829 7f0cb862-5218-0410-a997-914c9d46530a
2009-07-12 14:07:19 +00:00
fayjf
d59ab1c02e
Making the "AT_EXIT" hack look a bit less like a copy-and-paste
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@828 7f0cb862-5218-0410-a997-914c9d46530a
2009-07-10 16:18:06 +00:00
fayjf
d011e8dc74
Changing the OpenWatCom support per e-mail from Paul Blew dated Thu 6/11/2009 3:35 AM
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@827 7f0cb862-5218-0410-a997-914c9d46530a
2009-06-22 18:54:41 +00:00
spanne
22ea7171fe
Disable the ATEXIT_HACK for Watcom, their "exit" function has a different
...
calling convention, leading to compilation errors.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@826 7f0cb862-5218-0410-a997-914c9d46530a
2009-06-11 08:25:25 +00:00
fayjf
a5f5c71bac
Improving the stroke fonts per e-mail from Fliran Echtler dated Sun 5/31/2009 3:56 AM
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@825 7f0cb862-5218-0410-a997-914c9d46530a
2009-05-31 13:00:44 +00:00
spanne
3ba47f5708
Move all files related to Visual Studio 2008 into 2 directories, one for the normal DLL build, and one for the static build. We should do this for other IDEs, too.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@824 7f0cb862-5218-0410-a997-914c9d46530a
2009-05-24 12:31:43 +00:00
spanne
ad2f613a10
Put static library stuff into its own solution. This way, a rather uncommon way doesn't clutter up our normal solution, which is DLL-based.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@823 7f0cb862-5218-0410-a997-914c9d46530a
2009-05-23 12:50:37 +00:00
spanne
9ca59bae38
Normalized VC 2008 project, making the configurations more general.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@821 7f0cb862-5218-0410-a997-914c9d46530a
2009-05-23 12:20:07 +00:00
spanne
8e840f9c61
Added missing guard to deactivate ATEXIT_HACK on non-Windows platforms
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@820 7f0cb862-5218-0410-a997-914c9d46530a
2009-05-22 16:51:26 +00:00
spanne
2bf156719b
Avoid warnings when the ATEXIT_HACK is used with GCC, making the hack even uglier.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@819 7f0cb862-5218-0410-a997-914c9d46530a
2009-05-22 15:50:24 +00:00
spanne
f3de81ff34
Added the ugly ATEXIT_HACK from GLUT 3.7, making freeglut binary compatible with the GLUT DLLs out in the wild.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@818 7f0cb862-5218-0410-a997-914c9d46530a
2009-05-22 15:20:03 +00:00
spanne
2fe5703d54
Use our module definition file, so we get undecorated names in the resulting DLL, just like the classic GLUT DLL from Nate Robins.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@817 7f0cb862-5218-0410-a997-914c9d46530a
2009-05-22 14:15:49 +00:00
spanne
5cd12c9355
Use our module definition file, so we get undecorated names in the resulting DLL, just like the classic GLUT DLL from Nate Robins.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@816 7f0cb862-5218-0410-a997-914c9d46530a
2009-05-22 14:15:10 +00:00
spanne
ac426def6d
Removed obsolete lines. Fixed version number.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@815 7f0cb862-5218-0410-a997-914c9d46530a
2009-05-22 14:12:30 +00:00
spanne
68b0bc11aa
We are at version 2.6.0 now.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@813 7f0cb862-5218-0410-a997-914c9d46530a
2009-04-05 13:50:17 +00:00
spanne
a733f57992
Added more project/workspace/... files to distribution.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@812 7f0cb862-5218-0410-a997-914c9d46530a
2009-04-05 13:13:31 +00:00
spanne
3e265117c6
Removed remnants of CVS.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@811 7f0cb862-5218-0410-a997-914c9d46530a
2009-04-05 12:47:32 +00:00