From 288d4b6ebed85e0d3bf6d3aecf75f2627b70402d Mon Sep 17 00:00:00 2001 From: Sean D'Epagnier Date: Sat, 5 Aug 2006 08:24:29 +0000 Subject: Modularized code into multiple files. Added gamemode stubs, iconify support, joystick stubs. Fixed color index mode, added 8 bit alpha blending, enabled cmaps even with 15, 16, 24, and 32 depths as some fbdev drivers need this. Fixed compiling with -ansi Using SIGIO for keyboard input, so that vt switching is enabled even if the program is locked. Fixed numerous small bugs. --- src/glut/fbdev/overlay.c | 56 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 src/glut/fbdev/overlay.c (limited to 'src/glut/fbdev/overlay.c') diff --git a/src/glut/fbdev/overlay.c b/src/glut/fbdev/overlay.c new file mode 100644 index 0000000000..8bd207155c --- /dev/null +++ b/src/glut/fbdev/overlay.c @@ -0,0 +1,56 @@ +/* + * Mesa 3-D graphics library + * Version: 6.5 + * Copyright (C) 1995-2006 Brian Paul + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the Free + * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +/* + * Library for glut using mesa fbdev driver + * + * Written by Sean D'Epagnier (c) 2006 + */ + +#include + +void glutEstablishOverlay(void) +{ + exit(0); +} + +void glutUseLayer(GLenum layer) +{ +} + +void glutRemoveOverlay(void) +{ +} + +void glutPostOverlayRedisplay(void) +{ +} + +void glutPostWindowOverlayRedisplay(int win) +{ +} + +void glutShowOverlay(void) +{ +} + +void glutHideOverlay(void) +{ +} -- cgit v1.2.3