miniglut
19 months agobackported fixes from deeprunner master
John Tsiombikas [Thu, 18 May 2023 03:29:56 +0000 (06:29 +0300)]
backported fixes from deeprunner

 - fixed window resize dimensions on windows
 - fixed glutWarpPointer on windows
 - fixed incorrect keycode for enter on X11

20 months agoadd auto-build files for github
John Tsiombikas [Sun, 2 Apr 2023 22:00:39 +0000 (01:00 +0300)]
add auto-build files for github

20 months agoimplemeted glutWarpPointer (untested on win32)
John Tsiombikas [Sat, 1 Apr 2023 20:29:47 +0000 (23:29 +0300)]
implemeted glutWarpPointer (untested on win32)

2 years agopreparing release 0.5
John Tsiombikas [Sun, 4 Sep 2022 15:24:07 +0000 (18:24 +0300)]
preparing release 0.5

2 years agoremoved the warn() function, not necessary
John Tsiombikas [Sun, 4 Sep 2022 15:04:15 +0000 (18:04 +0300)]
removed the warn() function, not necessary

2 years agowindows: fixed indexed color support, build on msvc6, and rgb palette
John Tsiombikas [Sun, 4 Sep 2022 14:59:18 +0000 (17:59 +0300)]
windows: fixed indexed color support, build on msvc6, and rgb palette

2 years agoimplemented glutSetColor/glutGetColor on win32
John Tsiombikas [Sun, 4 Sep 2022 09:30:19 +0000 (12:30 +0300)]
implemented glutSetColor/glutGetColor on win32

2 years agoremoved extra comma at the end of enum
John Tsiombikas [Tue, 23 Aug 2022 22:26:23 +0000 (01:26 +0300)]
removed extra comma at the end of enum

2 years agoimplemented colormap management on X11 (glutSetColor etc).
John Tsiombikas [Tue, 23 Aug 2022 22:12:39 +0000 (01:12 +0300)]
implemented colormap management on X11 (glutSetColor etc).

2 years agolowered the acceptable zbuffer bits to unacceptable levels
John Tsiombikas [Tue, 23 Aug 2022 11:22:24 +0000 (14:22 +0300)]
lowered the acceptable zbuffer bits to unacceptable levels

2 years agouse display lists in the example program and add fps measurement
John Tsiombikas [Mon, 22 Aug 2022 12:43:41 +0000 (15:43 +0300)]
use display lists in the example program and add fps measurement

2 years agofixed build on IRIX, and reduced the minimum acceptable RGB color bits
John Tsiombikas [Thu, 11 Aug 2022 07:17:01 +0000 (10:17 +0300)]
fixed build on IRIX, and reduced the minimum acceptable RGB color bits
to allow 8bit visuals common on low end workstations.

2 years agowin32: fixed missing VKEY translations for VK_OEM_*
John Tsiombikas [Tue, 24 May 2022 10:39:03 +0000 (13:39 +0300)]
win32: fixed missing VKEY translations for VK_OEM_*

2 years agopreparing for release 0.4
John Tsiombikas [Fri, 31 Dec 2021 12:12:22 +0000 (14:12 +0200)]
preparing for release 0.4

2 years agofixed bugs in windows context creation, which would result in some times
John Tsiombikas [Fri, 31 Dec 2021 12:03:52 +0000 (14:03 +0200)]
fixed bugs in windows context creation, which would result in some times
choosing non-accelerated pixel formats:
 - forgot to add the (WGL_ACCELERATION, WGL_FULL_ACCELERATION) pair to
   the attributes passed to wglChoosePixelFormat.
 - fixed attributes in the beginning of the list were overwritten by the
   addition of extra attributes due to init flags.

3 years agofixed small memory leaks (missing XFree calls after XGetProperty/XGetWMName)
John Tsiombikas [Mon, 11 Oct 2021 12:19:09 +0000 (15:19 +0300)]
fixed small memory leaks (missing XFree calls after XGetProperty/XGetWMName)

3 years agoadded glutIgnoreKeyRepeat and glutSetKeyRepeat functions
John Tsiombikas [Mon, 27 Sep 2021 18:02:09 +0000 (21:02 +0300)]
added glutIgnoreKeyRepeat and glutSetKeyRepeat functions

4 years agofixed glutFullScreen regression
John Tsiombikas [Sun, 6 Dec 2020 17:46:52 +0000 (19:46 +0200)]
fixed glutFullScreen regression

4 years agolet's avoid int32_t since we don't use libc
John Tsiombikas [Fri, 7 Aug 2020 12:35:54 +0000 (15:35 +0300)]
let's avoid int32_t since we don't use libc

4 years agopreparing release 0.3
John Tsiombikas [Thu, 6 Aug 2020 23:19:51 +0000 (02:19 +0300)]
preparing release 0.3

4 years agochanged readme logo url
John Tsiombikas [Thu, 6 Aug 2020 22:50:24 +0000 (01:50 +0300)]
changed readme logo url

4 years agoadded glutWireTeapot
John Tsiombikas [Thu, 6 Aug 2020 22:47:39 +0000 (01:47 +0300)]
added glutWireTeapot

4 years agoadded Utah teapot
John Tsiombikas [Thu, 6 Aug 2020 22:46:44 +0000 (01:46 +0300)]
added Utah teapot

4 years agologo in the readme
John Tsiombikas [Mon, 27 Jul 2020 16:03:15 +0000 (19:03 +0300)]
logo in the readme

4 years agoMerge branch 'master' of github.com:jtsiomb/miniglut
John Tsiombikas [Wed, 17 Jun 2020 04:34:22 +0000 (07:34 +0300)]
Merge branch 'master' of github.com:jtsiomb/miniglut

4 years agoimplemented glutSetCursor(GLUT_CURSOR_NONE) on X11
John Tsiombikas [Tue, 16 Jun 2020 21:50:30 +0000 (00:50 +0300)]
implemented glutSetCursor(GLUT_CURSOR_NONE) on X11

4 years agofixed makefile, older GNU make versions do not support "else ifeq" chains.
John Tsiombikas [Mon, 1 Jun 2020 17:20:20 +0000 (20:20 +0300)]
fixed makefile, older GNU make versions do not support "else ifeq" chains.

4 years agopreparing release v0.2
John Tsiombikas [Sat, 30 May 2020 13:01:40 +0000 (16:01 +0300)]
preparing release v0.2

4 years agofixed win32 srgb/multisample context creation
John Tsiombikas [Sat, 30 May 2020 12:48:29 +0000 (15:48 +0300)]
fixed win32 srgb/multisample context creation

4 years agowin32 support for multisampling and sRGB
John Tsiombikas [Sat, 30 May 2020 12:19:55 +0000 (15:19 +0300)]
win32 support for multisampling and sRGB

4 years agovc project
John Tsiombikas [Sat, 30 May 2020 09:07:36 +0000 (12:07 +0300)]
vc project

4 years agorecreated the msvc project to build a static library
John Tsiombikas [Sat, 30 May 2020 08:35:44 +0000 (11:35 +0300)]
recreated the msvc project to build a static library

4 years agofixed mingw build
John Tsiombikas [Sat, 30 May 2020 08:02:04 +0000 (11:02 +0300)]
fixed mingw build

4 years agomakefile rules to build as static library and install/uninstall
John Tsiombikas [Sat, 30 May 2020 07:45:10 +0000 (10:45 +0300)]
makefile rules to build as static library and install/uninstall

4 years agospaceball support on X11
John Tsiombikas [Sat, 30 May 2020 07:33:35 +0000 (10:33 +0300)]
spaceball support on X11

4 years agofinished the MWM fullscreen implementation
John Tsiombikas [Sat, 30 May 2020 03:02:21 +0000 (06:02 +0300)]
finished the MWM fullscreen implementation

4 years agofixed makefile to build on IRIX by auto-detecting it needs to link with
John Tsiombikas [Fri, 29 May 2020 15:01:09 +0000 (18:01 +0300)]
fixed makefile to build on IRIX by auto-detecting it needs to link with
libc and disable the inline assembly hacks

4 years ago- fixed the detection of EHWM _NET_STATE_FULLSCREEN support
John Tsiombikas [Fri, 29 May 2020 14:33:29 +0000 (17:33 +0300)]
- fixed the detection of EHWM _NET_STATE_FULLSCREEN support
- reordered the functions in miniglut.c

4 years agoglutFullScreen() implemented on X11
John Tsiombikas [Thu, 28 May 2020 16:23:25 +0000 (19:23 +0300)]
glutFullScreen() implemented on X11

4 years agofixed keyboard handling on windows
John Tsiombikas [Thu, 28 May 2020 08:37:14 +0000 (11:37 +0300)]
fixed keyboard handling on windows

4 years agowindows glutFullScreen implementation
John Tsiombikas [Thu, 28 May 2020 07:48:11 +0000 (10:48 +0300)]
windows glutFullScreen implementation

4 years agoclient rect adjustment (windows)
John Tsiombikas [Wed, 27 May 2020 17:38:27 +0000 (20:38 +0300)]
client rect adjustment (windows)

4 years agoaddes special key enumerations and translation
John Tsiombikas [Wed, 27 May 2020 13:22:19 +0000 (16:22 +0300)]
addes special key enumerations and translation

4 years agoadded watcom makefile for windows
John Tsiombikas [Wed, 27 May 2020 09:07:48 +0000 (12:07 +0300)]
added watcom makefile for windows

4 years agoprepare release 0.1
John Tsiombikas [Wed, 27 May 2020 07:19:49 +0000 (10:19 +0300)]
prepare release 0.1

4 years agomore msvc trash in .gitignore
John Tsiombikas [Wed, 27 May 2020 07:13:38 +0000 (10:13 +0300)]
more msvc trash in .gitignore

4 years agomade the header compatible with C++
John Tsiombikas [Wed, 27 May 2020 07:02:11 +0000 (10:02 +0300)]
made the header compatible with C++

4 years ago- added animation in the test program to test timers
John Tsiombikas [Wed, 27 May 2020 06:57:27 +0000 (09:57 +0300)]
- added animation in the test program to test timers
- added cross-compile rules in the makefile
- clarified and expanded the README
- added the option to avoid linking with winmm on windows
- removed the GCC builtins as they were pulling math library symbols

4 years agowindows port
John Tsiombikas [Wed, 27 May 2020 05:19:25 +0000 (08:19 +0300)]
windows port

4 years agoremoved X Window parameters to cross-platform functions
John Tsiombikas [Wed, 27 May 2020 03:05:06 +0000 (06:05 +0300)]
removed X Window parameters to cross-platform functions

4 years agoinline assembly for msvc and watcom (untested)
John Tsiombikas [Wed, 27 May 2020 02:59:30 +0000 (05:59 +0300)]
inline assembly for msvc and watcom (untested)

4 years agoprimitives
John Tsiombikas [Tue, 26 May 2020 03:47:44 +0000 (06:47 +0300)]
primitives

4 years agoMiniGLUT initial commit
John Tsiombikas [Mon, 25 May 2020 14:55:00 +0000 (17:55 +0300)]
MiniGLUT initial commit