亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? glut.h.svn-base

?? 通用GPU計(jì)算越來越受歡迎了
?? SVN-BASE
?? 第 1 頁 / 共 2 頁
字號:
#ifndef __glut_h__
#define __glut_h__

/* Copyright (c) Mark J. Kilgard, 1994, 1995, 1996, 1998. */

/* This program is freely distributable without licensing fees  and is
   provided without guarantee or warrantee expressed or  implied. This
   program is -not- in the public domain. */

#if defined(_WIN32)

/* GLUT 3.7 now tries to avoid including <windows.h>
   to avoid name space pollution, but Win32's <GL/gl.h> 
   needs APIENTRY and WINGDIAPI defined properly. */
# if 0
   /* This would put tons of macros and crap in our clean name space. */
#  define  WIN32_LEAN_AND_MEAN
#  include <windows.h>
# else
   /* XXX This is from Win32's <windef.h> */
#  ifndef APIENTRY
#   define GLUT_APIENTRY_DEFINED
#   if (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED) || defined(__BORLANDC__) || defined(__LCC__)
#    define APIENTRY    __stdcall
#   else
#    define APIENTRY
#   endif
#  endif
   /* XXX This is from Win32's <winnt.h> */
#  ifndef CALLBACK
#   if (defined(_M_MRX000) || defined(_M_IX86) || defined(_M_ALPHA) || defined(_M_PPC)) && !defined(MIDL_PASS) || defined(__LCC__)
#    define CALLBACK __stdcall
#   else
#    define CALLBACK
#   endif
#  endif
   /* XXX Hack for lcc compiler.  It doesn't support __declspec(dllimport), just __stdcall. */
#  if defined( __LCC__ )
#   undef WINGDIAPI
#   define WINGDIAPI __stdcall
#  else
   /* XXX This is from Win32's <wingdi.h> and <winnt.h> */
#   ifndef WINGDIAPI
#    define GLUT_WINGDIAPI_DEFINED
#    define WINGDIAPI __declspec(dllimport)
#   endif
#  endif
   /* XXX This is from Win32's <ctype.h> */
#  ifndef _WCHAR_T_DEFINED
typedef unsigned short wchar_t;
#   define _WCHAR_T_DEFINED
#  endif
# endif

/* To disable automatic library usage for GLUT, define GLUT_NO_LIB_PRAGMA
   in your compile preprocessor options. */
# if !defined(GLUT_BUILDING_LIB) && !defined(GLUT_NO_LIB_PRAGMA)
#  pragma comment (lib, "winmm.lib")      /* link with Windows MultiMedia lib */
/* To enable automatic SGI OpenGL for Windows library usage for GLUT,
   define GLUT_USE_SGI_OPENGL in your compile preprocessor options.  */
#  ifdef GLUT_USE_SGI_OPENGL
#   pragma comment (lib, "opengl.lib")    /* link with SGI OpenGL for Windows lib */
#   pragma comment (lib, "glu.lib")       /* link with SGI OpenGL Utility lib */
#   pragma comment (lib, "glut.lib")      /* link with Win32 GLUT for SGI OpenGL lib */
#  else
#   pragma comment (lib, "opengl32.lib")  /* link with Microsoft OpenGL lib */
#   pragma comment (lib, "glu32.lib")     /* link with Microsoft OpenGL Utility lib */
#   pragma comment (lib, "glut32.lib")    /* link with Win32 GLUT lib */
#  endif
# endif

/* To disable supression of annoying warnings about floats being promoted
   to doubles, define GLUT_NO_WARNING_DISABLE in your compile preprocessor
   options. */
# ifndef GLUT_NO_WARNING_DISABLE
#  pragma warning (disable:4244)  /* Disable bogus VC++ 4.2 conversion warnings. */
#  pragma warning (disable:4305)  /* VC++ 5.0 version of above warning. */
# endif

/* Win32 has an annoying issue where there are multiple C run-time
   libraries (CRTs).  If the executable is linked with a different CRT
   from the GLUT DLL, the GLUT DLL will not share the same CRT static
   data seen by the executable.  In particular, atexit callbacks registered
   in the executable will not be called if GLUT calls its (different)
   exit routine).  GLUT is typically built with the
   "/MD" option (the CRT with multithreading DLL support), but the Visual
   C++ linker default is "/ML" (the single threaded CRT).

   One workaround to this issue is requiring users to always link with
   the same CRT as GLUT is compiled with.  That requires users supply a
   non-standard option.  GLUT 3.7 has its own built-in workaround where
   the executable's "exit" function pointer is covertly passed to GLUT.
   GLUT then calls the executable's exit function pointer to ensure that
   any "atexit" calls registered by the application are called if GLUT
   needs to exit.

   Note that the __glut*WithExit routines should NEVER be called directly.
   To avoid the atexit workaround, #define GLUT_DISABLE_ATEXIT_HACK. */

/* XXX This is from Win32's <process.h> */
# if !defined(_MSC_VER) && !defined(__cdecl)
   /* Define __cdecl for non-Microsoft compilers. */
#  define __cdecl
#  define GLUT_DEFINED___CDECL
# endif
# ifndef _CRTIMP
#  ifdef _NTSDK
    /* Definition compatible with NT SDK */
#   define _CRTIMP
#  else
    /* Current definition */
#   ifdef _DLL
#    define _CRTIMP __declspec(dllimport)
#   else
#    define _CRTIMP
#   endif
#  endif
#  define GLUT_DEFINED__CRTIMP
# endif

/* GLUT API entry point declarations for Win32. */
# ifdef GLUT_BUILDING_LIB
#  define GLUTAPI __declspec(dllexport)
# else
#  ifdef _DLL
#   define GLUTAPI __declspec(dllimport)
#  else
#   define GLUTAPI extern
#  endif
# endif

/* GLUT callback calling convention for Win32. */
# define GLUTCALLBACK __cdecl

#endif  /* _WIN32 */

#include <GL/gl.h>
#include <GL/glu.h>

#ifdef __cplusplus
extern "C" {
#endif

#if defined(_WIN32)
# ifndef GLUT_BUILDING_LIB
//extern _CRTIMP void __cdecl exit(int);
#include <stdlib.h>
//Above Line commened out for VS 2k5 compilation. ( XXX Charles Lohr 2008-02-09)
# endif
#else
/* non-Win32 case. */
/* Define APIENTRY and CALLBACK to nothing if we aren't on Win32. */
# define APIENTRY
# define GLUT_APIENTRY_DEFINED
# define CALLBACK
/* Define GLUTAPI and GLUTCALLBACK as below if we aren't on Win32. */
# define GLUTAPI extern
# define GLUTCALLBACK
/* Prototype exit for the non-Win32 case (see above). */
extern void exit(int);
#endif

/**
 GLUT API revision history:
 
 GLUT_API_VERSION is updated to reflect incompatible GLUT
 API changes (interface changes, semantic changes, deletions,
 or additions).
 
 GLUT_API_VERSION=1  First public release of GLUT.  11/29/94

 GLUT_API_VERSION=2  Added support for OpenGL/GLX multisampling,
 extension.  Supports new input devices like tablet, dial and button
 box, and Spaceball.  Easy to query OpenGL extensions.

 GLUT_API_VERSION=3  glutMenuStatus added.

 GLUT_API_VERSION=4  glutInitDisplayString, glutWarpPointer,
 glutBitmapLength, glutStrokeLength, glutWindowStatusFunc, dynamic
 video resize subAPI, glutPostWindowRedisplay, glutKeyboardUpFunc,
 glutSpecialUpFunc, glutIgnoreKeyRepeat, glutSetKeyRepeat,
 glutJoystickFunc, glutForceJoystickFunc (NOT FINALIZED!).
**/
#ifndef GLUT_API_VERSION  /* allow this to be overriden */
#define GLUT_API_VERSION		3
#endif

/**
 GLUT implementation revision history:
 
 GLUT_XLIB_IMPLEMENTATION is updated to reflect both GLUT
 API revisions and implementation revisions (ie, bug fixes).

 GLUT_XLIB_IMPLEMENTATION=1  mjk's first public release of
 GLUT Xlib-based implementation.  11/29/94

 GLUT_XLIB_IMPLEMENTATION=2  mjk's second public release of
 GLUT Xlib-based implementation providing GLUT version 2 
 interfaces.

 GLUT_XLIB_IMPLEMENTATION=3  mjk's GLUT 2.2 images. 4/17/95

 GLUT_XLIB_IMPLEMENTATION=4  mjk's GLUT 2.3 images. 6/?/95

 GLUT_XLIB_IMPLEMENTATION=5  mjk's GLUT 3.0 images. 10/?/95

 GLUT_XLIB_IMPLEMENTATION=7  mjk's GLUT 3.1+ with glutWarpPoitner.  7/24/96

 GLUT_XLIB_IMPLEMENTATION=8  mjk's GLUT 3.1+ with glutWarpPoitner
 and video resize.  1/3/97

 GLUT_XLIB_IMPLEMENTATION=9 mjk's GLUT 3.4 release with early GLUT 4 routines.

 GLUT_XLIB_IMPLEMENTATION=11 Mesa 2.5's GLUT 3.6 release.

 GLUT_XLIB_IMPLEMENTATION=12 mjk's GLUT 3.6 release with early GLUT 4 routines + signal handling.

 GLUT_XLIB_IMPLEMENTATION=13 mjk's GLUT 3.7 beta with GameGLUT support.

 GLUT_XLIB_IMPLEMENTATION=14 mjk's GLUT 3.7 beta with f90gl friend interface.

 GLUT_XLIB_IMPLEMENTATION=15 mjk's GLUT 3.7 beta sync'ed with Mesa <GL/glut.h>
**/
#ifndef GLUT_XLIB_IMPLEMENTATION  /* Allow this to be overriden. */
#define GLUT_XLIB_IMPLEMENTATION	15
#endif

/* Display mode bit masks. */
#define GLUT_RGB			0
#define GLUT_RGBA			GLUT_RGB
#define GLUT_INDEX			1
#define GLUT_SINGLE			0
#define GLUT_DOUBLE			2
#define GLUT_ACCUM			4
#define GLUT_ALPHA			8
#define GLUT_DEPTH			16
#define GLUT_STENCIL			32
#if (GLUT_API_VERSION >= 2)
#define GLUT_MULTISAMPLE		128
#define GLUT_STEREO			256
#endif
#if (GLUT_API_VERSION >= 3)
#define GLUT_LUMINANCE			512
#endif

/* Mouse buttons. */
#define GLUT_LEFT_BUTTON		0
#define GLUT_MIDDLE_BUTTON		1
#define GLUT_RIGHT_BUTTON		2

/* Mouse button  state. */
#define GLUT_DOWN			0
#define GLUT_UP				1

#if (GLUT_API_VERSION >= 2)
/* function keys */
#define GLUT_KEY_F1			1
#define GLUT_KEY_F2			2
#define GLUT_KEY_F3			3
#define GLUT_KEY_F4			4
#define GLUT_KEY_F5			5
#define GLUT_KEY_F6			6
#define GLUT_KEY_F7			7
#define GLUT_KEY_F8			8
#define GLUT_KEY_F9			9
#define GLUT_KEY_F10			10
#define GLUT_KEY_F11			11
#define GLUT_KEY_F12			12
/* directional keys */
#define GLUT_KEY_LEFT			100
#define GLUT_KEY_UP			101
#define GLUT_KEY_RIGHT			102
#define GLUT_KEY_DOWN			103
#define GLUT_KEY_PAGE_UP		104
#define GLUT_KEY_PAGE_DOWN		105
#define GLUT_KEY_HOME			106
#define GLUT_KEY_END			107
#define GLUT_KEY_INSERT			108
#endif

/* Entry/exit  state. */
#define GLUT_LEFT			0
#define GLUT_ENTERED			1

/* Menu usage  state. */
#define GLUT_MENU_NOT_IN_USE		0
#define GLUT_MENU_IN_USE		1

/* Visibility  state. */
#define GLUT_NOT_VISIBLE		0
#define GLUT_VISIBLE			1

/* Window status  state. */
#define GLUT_HIDDEN			0
#define GLUT_FULLY_RETAINED		1
#define GLUT_PARTIALLY_RETAINED		2
#define GLUT_FULLY_COVERED		3

/* Color index component selection values. */
#define GLUT_RED			0
#define GLUT_GREEN			1
#define GLUT_BLUE			2

#if defined(_WIN32)
/* Stroke font constants (use these in GLUT program). */
#define GLUT_STROKE_ROMAN		((void*)0)
#define GLUT_STROKE_MONO_ROMAN		((void*)1)

/* Bitmap font constants (use these in GLUT program). */
#define GLUT_BITMAP_9_BY_15		((void*)2)
#define GLUT_BITMAP_8_BY_13		((void*)3)
#define GLUT_BITMAP_TIMES_ROMAN_10	((void*)4)
#define GLUT_BITMAP_TIMES_ROMAN_24	((void*)5)
#if (GLUT_API_VERSION >= 3)
#define GLUT_BITMAP_HELVETICA_10	((void*)6)
#define GLUT_BITMAP_HELVETICA_12	((void*)7)
#define GLUT_BITMAP_HELVETICA_18	((void*)8)
#endif
#else
/* Stroke font opaque addresses (use constants instead in source code). */
GLUTAPI void *glutStrokeRoman;
GLUTAPI void *glutStrokeMonoRoman;

/* Stroke font constants (use these in GLUT program). */
#define GLUT_STROKE_ROMAN		(&glutStrokeRoman)
#define GLUT_STROKE_MONO_ROMAN		(&glutStrokeMonoRoman)

/* Bitmap font opaque addresses (use constants instead in source code). */
GLUTAPI void *glutBitmap9By15;
GLUTAPI void *glutBitmap8By13;
GLUTAPI void *glutBitmapTimesRoman10;
GLUTAPI void *glutBitmapTimesRoman24;
GLUTAPI void *glutBitmapHelvetica10;
GLUTAPI void *glutBitmapHelvetica12;
GLUTAPI void *glutBitmapHelvetica18;

/* Bitmap font constants (use these in GLUT program). */
#define GLUT_BITMAP_9_BY_15		(&glutBitmap9By15)
#define GLUT_BITMAP_8_BY_13		(&glutBitmap8By13)
#define GLUT_BITMAP_TIMES_ROMAN_10	(&glutBitmapTimesRoman10)
#define GLUT_BITMAP_TIMES_ROMAN_24	(&glutBitmapTimesRoman24)
#if (GLUT_API_VERSION >= 3)
#define GLUT_BITMAP_HELVETICA_10	(&glutBitmapHelvetica10)
#define GLUT_BITMAP_HELVETICA_12	(&glutBitmapHelvetica12)
#define GLUT_BITMAP_HELVETICA_18	(&glutBitmapHelvetica18)
#endif
#endif

/* glutGet parameters. */
#define GLUT_WINDOW_X			((GLenum) 100)
#define GLUT_WINDOW_Y			((GLenum) 101)
#define GLUT_WINDOW_WIDTH		((GLenum) 102)
#define GLUT_WINDOW_HEIGHT		((GLenum) 103)
#define GLUT_WINDOW_BUFFER_SIZE		((GLenum) 104)
#define GLUT_WINDOW_STENCIL_SIZE	((GLenum) 105)
#define GLUT_WINDOW_DEPTH_SIZE		((GLenum) 106)
#define GLUT_WINDOW_RED_SIZE		((GLenum) 107)
#define GLUT_WINDOW_GREEN_SIZE		((GLenum) 108)
#define GLUT_WINDOW_BLUE_SIZE		((GLenum) 109)
#define GLUT_WINDOW_ALPHA_SIZE		((GLenum) 110)

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品影视天天线| 精品视频1区2区3区| 亚洲风情在线资源站| 亚洲精品久久久蜜桃| 国产精品久久三| 国产精品色哟哟网站| 亚洲精品在线免费观看视频| 日韩精品一区二区三区三区免费| 欧美精品色一区二区三区| 欧美日韩一卡二卡| 欧美三电影在线| 91精品国产综合久久精品图片| 欧美日韩三级一区| 欧美电影免费观看完整版 | 26uuu精品一区二区在线观看| 欧美精品免费视频| 精品女同一区二区| 欧美高清在线视频| 亚洲色图一区二区三区| 一区二区三区四区在线播放| 午夜成人免费视频| 国内一区二区视频| 一本色道综合亚洲| 欧美狂野另类xxxxoooo| 日韩女优视频免费观看| 国产农村妇女精品| 一区二区三区四区在线播放| 免费在线看成人av| 东方欧美亚洲色图在线| 在线视频国内一区二区| 日韩一二三区不卡| 中文字幕精品一区二区三区精品| 亚洲欧美日韩在线不卡| 日韩av一区二| 成av人片一区二区| 欧美丰满一区二区免费视频| 国产日韩一级二级三级| 亚洲福利一区二区三区| 国产91精品一区二区| 欧美日韩在线综合| 中日韩av电影| 男人的天堂亚洲一区| eeuss鲁片一区二区三区在线看| 欧美日韩在线不卡| 中文字幕不卡在线观看| 人人狠狠综合久久亚洲| 99久久综合狠狠综合久久| 日韩亚洲欧美成人一区| 亚洲欧美国产三级| 国产福利精品一区| 欧美一区二区视频在线观看| 亚洲男同性视频| 国产激情偷乱视频一区二区三区| 欧美猛男超大videosgay| 欧美高清在线视频| 国产乱人伦偷精品视频不卡| 欧美精品日韩一区| 亚洲主播在线播放| 波多野结衣在线一区| 2024国产精品| 久久精品国产网站| 91精品久久久久久久久99蜜臂 | 色综合欧美在线视频区| 久久久国产一区二区三区四区小说 | 国产一区二区三区精品视频| 在线不卡欧美精品一区二区三区| 日韩免费电影一区| 亚洲综合免费观看高清完整版 | 99久久久国产精品| 精品91自产拍在线观看一区| 日韩av电影天堂| 欧美日韩日本视频| 午夜精品久久久久久| 在线观看亚洲a| 亚洲黄色av一区| 欧美亚洲国产一区二区三区| 亚洲欧美一区二区三区孕妇| 91丨国产丨九色丨pron| 日韩理论电影院| 91在线你懂得| 一区二区视频在线| 欧美羞羞免费网站| 午夜精品久久久| 欧美性色黄大片手机版| 亚洲va中文字幕| 欧美精品 国产精品| 日韩电影在线一区二区| 91麻豆精品国产自产在线| 免费一级欧美片在线观看| 在线播放91灌醉迷j高跟美女| 日韩在线一二三区| 日韩欧美不卡在线观看视频| 国产在线视频精品一区| 中文字幕电影一区| 在线视频国内一区二区| 午夜精品视频在线观看| 精品国产伦一区二区三区观看体验| 看电视剧不卡顿的网站| 国产香蕉久久精品综合网| 成人精品鲁一区一区二区| 综合久久综合久久| 欧美日韩国产在线播放网站| 九九精品视频在线看| 中文字幕久久午夜不卡| 欧美高清性hdvideosex| 九九九久久久精品| 中文字幕一区二区三区av| 欧美日韩三级一区| 国产精品538一区二区在线| 依依成人精品视频| 日韩免费一区二区三区在线播放| 国产成人亚洲综合a∨婷婷图片| 亚洲日本青草视频在线怡红院| 欧美猛男超大videosgay| 国产精品一区二区久久精品爱涩 | 色综合天天综合色综合av| 亚洲第一福利一区| 国产视频一区在线播放| 欧美精品自拍偷拍动漫精品| 丁香一区二区三区| 日韩精品亚洲专区| 亚洲欧美一区二区三区国产精品| 91精品久久久久久久91蜜桃| 亚洲男女一区二区三区| 国产精品亚洲成人| 亚洲色图视频网| 日韩精品中文字幕一区二区三区| 国产美女精品在线| 亚洲电影一级黄| 综合亚洲深深色噜噜狠狠网站| 91精品欧美一区二区三区综合在| 九九热在线视频观看这里只有精品| 欧美激情中文字幕| 欧美色大人视频| 亚洲综合精品久久| 欧美主播一区二区三区| 国产黑丝在线一区二区三区| 日日嗨av一区二区三区四区| 婷婷中文字幕一区三区| 中文字幕一区二区三区av| 久久蜜臀中文字幕| 91精品免费观看| 欧美揉bbbbb揉bbbbb| 91看片淫黄大片一级在线观看| 国产九色sp调教91| 精品伊人久久久久7777人| 午夜精品一区在线观看| 亚洲成a人v欧美综合天堂| 亚洲人快播电影网| 亚洲视频一二区| 亚洲欧洲日韩综合一区二区| 中文字幕av一区二区三区高| 久久色视频免费观看| 日韩欧美色综合| 日韩欧美在线影院| 欧美成人午夜电影| 精品久久人人做人人爱| 精品国一区二区三区| 久久这里只有精品6| 久久免费视频一区| 国产欧美日韩视频在线观看| 中文字幕欧美区| 成人免费在线观看入口| 亚洲免费毛片网站| 亚洲午夜精品一区二区三区他趣| 亚洲综合色丁香婷婷六月图片| 亚洲成av人片在www色猫咪| 亚洲成a人v欧美综合天堂| 日韩电影在线免费看| 久久99热这里只有精品| 国产精品自产自拍| 成人a免费在线看| 欧亚洲嫩模精品一区三区| 欧美三级视频在线播放| 日韩精品中文字幕在线不卡尤物| 久久蜜桃av一区二区天堂 | 一区二区三区精品| 香蕉成人伊视频在线观看| 久久国产精品99久久人人澡| 国产麻豆精品在线观看| 91亚洲国产成人精品一区二区三 | 美国十次综合导航| 国产成人在线免费| 91福利区一区二区三区| 欧美一区二区三区在线视频 | 色综合久久综合中文综合网| 欧美日韩一区二区欧美激情| 亚洲精品一区二区在线观看| 亚洲天堂免费看| 久久精品国产色蜜蜜麻豆| 成a人片亚洲日本久久| 91精品国产色综合久久| 国产日韩欧美综合一区| 午夜欧美视频在线观看| 国产成人免费视频一区| 欧美精品tushy高清| 国产精品免费视频一区| 青青青伊人色综合久久| 成人黄动漫网站免费app| 这里只有精品视频在线观看|