This is the big merge of the gallium-0.2 branch into master. gallium-master-merge was just the staging area for it. Both gallium-0.2 and gallium-master-merge are considered closed now. Conflicts: progs/demos/Makefile src/mesa/main/state.c src/mesa/main/texenvprogram.ctags/mesa_20090313
@@ -0,0 +1,10 @@ | |||
;; -*- emacs-lisp -*- | |||
;; | |||
;; This file is processed by the dirvars emacs package. Each variable | |||
;; setting below is performed when this dirvars file is loaded. | |||
;; | |||
indent-tabs-mode: nil | |||
tab-width: 8 | |||
c-basic-offset: 3 | |||
kde-emacs-after-parent-string: "" | |||
evaluate: (c-set-offset 'inline-open '0) |
@@ -1,8 +1,15 @@ | |||
*.a | |||
*.dll | |||
*.exe | |||
*.ilk | |||
*.o | |||
*.obj | |||
*.pc | |||
*.pdb | |||
*.pyc | |||
*.pyo | |||
*.so | |||
*.sw[a-z] | |||
*.pc | |||
*~ | |||
depend | |||
depend.bak | |||
@@ -14,3 +21,6 @@ aclocal.m4 | |||
config.log | |||
config.status | |||
cscope* | |||
.scon* | |||
config.py | |||
build |
@@ -12,6 +12,8 @@ default: $(TOP)/configs/current | |||
fi \ | |||
done | |||
all: default | |||
doxygen: | |||
cd doxygen && $(MAKE) | |||
@@ -35,7 +37,6 @@ realclean: clean | |||
-name depend -o -name depend.bak ')' -exec rm -f '{}' ';' | |||
install: | |||
@for dir in $(SUBDIRS) ; do \ | |||
if [ -d $$dir ] ; then \ | |||
@@ -103,6 +104,8 @@ irix6-o32-static \ | |||
linux \ | |||
linux-alpha \ | |||
linux-alpha-static \ | |||
linux-cell \ | |||
linux-cell-debug \ | |||
linux-debug \ | |||
linux-directfb \ | |||
linux-dri \ | |||
@@ -111,6 +114,7 @@ linux-dri-x86 \ | |||
linux-dri-x86-64 \ | |||
linux-dri-ppc \ | |||
linux-dri-xcb \ | |||
linux-egl \ | |||
linux-indirect \ | |||
linux-fbdev \ | |||
linux-glide \ | |||
@@ -118,12 +122,14 @@ linux-ia64-icc \ | |||
linux-ia64-icc-static \ | |||
linux-icc \ | |||
linux-icc-static \ | |||
linux-llvm \ | |||
linux-osmesa \ | |||
linux-osmesa16 \ | |||
linux-osmesa16-static \ | |||
linux-osmesa32 \ | |||
linux-ppc \ | |||
linux-ppc-static \ | |||
linux-profile \ | |||
linux-solo \ | |||
linux-solo-x86 \ | |||
linux-solo-ia64 \ | |||
@@ -137,8 +143,10 @@ linux-x86-debug \ | |||
linux-x86-32 \ | |||
linux-x86-64 \ | |||
linux-x86-64-debug \ | |||
linux-x86-64-profile \ | |||
linux-x86-64-static \ | |||
linux-x86-glide \ | |||
linux-x86-profile \ | |||
linux-x86-static \ | |||
netbsd \ | |||
openbsd \ |
@@ -1,88 +0,0 @@ | |||
# Mesa 3-D graphics library | |||
# Version: 4.0 | |||
# | |||
# Copyright (C) 1999 Brian Paul All Rights Reserved. | |||
# | |||
# Permission is hereby granted, free of charge, to any person obtaining a | |||
# copy of this software and associated documentation files (the "Software"), | |||
# to deal in the Software without restriction, including without limitation | |||
# the rights to use, copy, modify, merge, publish, distribute, sublicense, | |||
# and/or sell copies of the Software, and to permit persons to whom the | |||
# Software is furnished to do so, subject to the following conditions: | |||
# | |||
# The above copyright notice and this permission notice shall be included | |||
# in all copies or substantial portions of the Software. | |||
# | |||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS | |||
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | |||
# BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN | |||
# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | |||
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |||
# DOS/DJGPP makefile for Mesa | |||
# | |||
# Author: Daniel Borca | |||
# Email : dborca@users.sourceforge.net | |||
# Web : http://www.geocities.com/dborca | |||
# | |||
# Available options: | |||
# | |||
# Environment variables: | |||
# GLIDE path to Glide3 SDK; used with FX. | |||
# default = $(TOP)/glide3 | |||
# FX=1 build for 3dfx Glide3. Note that this disables | |||
# compilation of most DMesa code and requires fxMesa. | |||
# As a consequence, you'll need the DJGPP Glide3 | |||
# library to build any application. | |||
# default = no | |||
# X86=1 optimize for x86 (if possible, use MMX, SSE, 3DNow). | |||
# default = no | |||
# | |||
# Targets: | |||
# all: build everything | |||
# libgl: build GL | |||
# libglu: build GLU | |||
# libglut: build GLUT | |||
# clean: remove object files | |||
# realclean: remove all generated files | |||
# | |||
.PHONY : all libgl libglu libglut clean realclean | |||
CFLAGS = -Wall -W -pedantic | |||
CFLAGS += -O2 -ffast-math | |||
export CFLAGS | |||
ifeq ($(wildcard $(addsuffix /rm.exe,$(subst ;, ,$(PATH)))),) | |||
UNLINK = del $(subst /,\,$(1)) | |||
else | |||
UNLINK = $(RM) $(1) | |||
endif | |||
all: libgl libglu libglut | |||
libgl: lib | |||
$(MAKE) -f Makefile.DJ -C src/mesa | |||
libglu: lib | |||
$(MAKE) -f Makefile.DJ -C src/glu/sgi | |||
libglut: lib | |||
$(MAKE) -f Makefile.DJ -C src/glut/dos | |||
lib: | |||
mkdir lib | |||
clean: | |||
$(MAKE) -f Makefile.DJ clean -C src/mesa | |||
$(MAKE) -f Makefile.DJ clean -C src/glu/mesa | |||
$(MAKE) -f Makefile.DJ clean -C src/glu/sgi | |||
$(MAKE) -f Makefile.DJ clean -C src/glut/dos | |||
realclean: clean | |||
-$(call UNLINK,lib/*.a) | |||
-$(call UNLINK,lib/*.dxe) |
@@ -1,110 +0,0 @@ | |||
# Mesa 3-D graphics library | |||
# Version: 4.0 | |||
# | |||
# Copyright (C) 1999 Brian Paul All Rights Reserved. | |||
# | |||
# Permission is hereby granted, free of charge, to any person obtaining a | |||
# copy of this software and associated documentation files (the "Software"), | |||
# to deal in the Software without restriction, including without limitation | |||
# the rights to use, copy, modify, merge, publish, distribute, sublicense, | |||
# and/or sell copies of the Software, and to permit persons to whom the | |||
# Software is furnished to do so, subject to the following conditions: | |||
# | |||
# The above copyright notice and this permission notice shall be included | |||
# in all copies or substantial portions of the Software. | |||
# | |||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS | |||
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | |||
# BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN | |||
# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | |||
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |||
# MinGW makefile v1.2 for Mesa | |||
# | |||
# Copyright (C) 2002 - Daniel Borca | |||
# Email : dborca@users.sourceforge.net | |||
# Web : http://www.geocities.com/dborca | |||
# | |||
# Available options: | |||
# | |||
# Environment variables: | |||
# GLIDE path to Glide3 SDK; used with FX. | |||
# default = $(TOP)/glide3 | |||
# FX=1 build for 3dfx Glide3. Note that this disables | |||
# compilation of most WMesa code and requires fxMesa. | |||
# As a consequence, you'll need the Win32 Glide3 | |||
# library to build any application. | |||
# default = no | |||
# ICD=1 build the installable client driver interface | |||
# (windows opengl driver interface) | |||
# default = no | |||
# X86=1 optimize for x86 (if possible, use MMX, SSE, 3DNow). | |||
# default = no | |||
# | |||
# Targets: | |||
# all: build everything | |||
# libgl: build GL | |||
# clean: remove object files | |||
# realclean: remove all generated files | |||
# | |||
# MinGW core makefile updated for Mesa 7.0 | |||
# | |||
# Updated : by Heromyth, on 2007-7-21 | |||
# Email : zxpmyth@yahoo.com.cn | |||
# Bugs : 1) All the default settings work fine. But the setting X86=1 can't work. | |||
# The others havn't been tested yet. | |||
# 2) The generated DLLs are *not* compatible with the ones built | |||
# with the other compilers like VC8, especially for GLUT. | |||
# 3) MAlthough more tests are needed, it can be used individually! | |||
.PHONY : all libgl clean realclean | |||
ifeq ($(ICD),1) | |||
# when -std=c99 mingw will not define WIN32 | |||
CFLAGS = -Wall -Werror | |||
else | |||
# I love c89 | |||
CFLAGS = -Wall -pedantic | |||
endif | |||
CFLAGS += -O2 -ffast-math | |||
export CFLAGS | |||
ifeq ($(wildcard $(addsuffix /rm.exe,$(subst ;, ,$(PATH)))),) | |||
UNLINK = del $(subst /,\,$(1)) | |||
else | |||
UNLINK = $(RM) $(1) | |||
endif | |||
all: libgl libglu libglut example | |||
libgl: lib | |||
$(MAKE) -f Makefile.mgw -C src/mesa | |||
libglu: libgl | |||
$(MAKE) -f Makefile.mgw -C src/glu/sgi | |||
libglut: libglu | |||
$(MAKE) -f Makefile.mgw -C src/glut/glx | |||
example: libglut | |||
$(MAKE) -f Makefile.mgw star -C progs/samples | |||
copy progs\samples\star.exe lib | |||
lib: | |||
mkdir lib | |||
clean: | |||
$(MAKE) -f Makefile.mgw clean -C src/mesa | |||
$(MAKE) -f Makefile.mgw clean -C src/glu/sgi | |||
$(MAKE) -f Makefile.mgw clean -C src/glut/glx | |||
realclean: clean | |||
-$(call UNLINK,lib/*.a) | |||
-$(call UNLINK,lib/*.dll) |
@@ -0,0 +1,167 @@ | |||
####################################################################### | |||
# Top-level SConstruct | |||
# | |||
# For example, invoke scons as | |||
# | |||
# scons debug=1 dri=0 machine=x86 | |||
# | |||
# to set configuration variables. Or you can write those options to a file | |||
# named config.py: | |||
# | |||
# # config.py | |||
# debug=1 | |||
# dri=0 | |||
# machine='x86' | |||
# | |||
# Invoke | |||
# | |||
# scons -h | |||
# | |||
# to get the full list of options. See scons manpage for more info. | |||
# | |||
import os | |||
import os.path | |||
import sys | |||
import common | |||
####################################################################### | |||
# Configuration options | |||
default_statetrackers = 'mesa' | |||
if common.default_platform in ('linux', 'freebsd', 'darwin'): | |||
default_drivers = 'softpipe,failover,i915simple,i965simple,trace' | |||
default_winsys = 'xlib' | |||
elif common.default_platform in ('winddk',): | |||
default_drivers = 'softpipe,i915simple,trace' | |||
default_winsys = 'all' | |||
else: | |||
default_drivers = 'all' | |||
default_winsys = 'all' | |||
opts = Options('config.py') | |||
common.AddOptions(opts) | |||
opts.Add(ListOption('statetrackers', 'state trackers to build', default_statetrackers, | |||
['mesa', 'python'])) | |||
opts.Add(ListOption('drivers', 'pipe drivers to build', default_drivers, | |||
['softpipe', 'failover', 'i915simple', 'i965simple', 'cell', 'trace', 'r300'])) | |||
opts.Add(ListOption('winsys', 'winsys drivers to build', default_winsys, | |||
['xlib', 'intel', 'gdi', 'amd'])) | |||
opts.Add(EnumOption('MSVS_VERSION', 'MS Visual C++ version', None, allowed_values=('7.1', '8.0', '9.0'))) | |||
env = Environment( | |||
options = opts, | |||
tools = ['gallium'], | |||
toolpath = ['#scons'], | |||
ENV = os.environ, | |||
) | |||
Help(opts.GenerateHelpText(env)) | |||
# replicate options values in local variables | |||
debug = env['debug'] | |||
dri = env['dri'] | |||
llvm = env['llvm'] | |||
machine = env['machine'] | |||
platform = env['platform'] | |||
# derived options | |||
x86 = machine == 'x86' | |||
ppc = machine == 'ppc' | |||
gcc = platform in ('linux', 'freebsd', 'darwin') | |||
msvc = platform in ('windows', 'winddk') | |||
Export([ | |||
'debug', | |||
'x86', | |||
'ppc', | |||
'dri', | |||
'llvm', | |||
'platform', | |||
'gcc', | |||
'msvc', | |||
]) | |||
####################################################################### | |||
# Environment setup | |||
# Includes | |||
env.Append(CPPPATH = [ | |||
'#/include', | |||
'#/src/gallium/include', | |||
'#/src/gallium/auxiliary', | |||
'#/src/gallium/drivers', | |||
]) | |||
# Posix | |||
if platform in ('posix', 'linux', 'freebsd', 'darwin'): | |||
env.Append(CPPDEFINES = [ | |||
'_POSIX_SOURCE', | |||
('_POSIX_C_SOURCE', '199309L'), | |||
'_SVID_SOURCE', | |||
'_BSD_SOURCE', | |||
'_GNU_SOURCE', | |||
'PTHREADS', | |||
'HAVE_POSIX_MEMALIGN', | |||
]) | |||
env.Append(CPPPATH = ['/usr/X11R6/include']) | |||
env.Append(LIBPATH = ['/usr/X11R6/lib']) | |||
env.Append(LIBS = [ | |||
'm', | |||
'pthread', | |||
'expat', | |||
'dl', | |||
]) | |||
# DRI | |||
if dri: | |||
env.ParseConfig('pkg-config --cflags --libs libdrm') | |||
env.Append(CPPDEFINES = [ | |||
('USE_EXTERNAL_DXTN_LIB', '1'), | |||
'IN_DRI_DRIVER', | |||
'GLX_DIRECT_RENDERING', | |||
'GLX_INDIRECT_RENDERING', | |||
]) | |||
# LLVM | |||
if llvm: | |||
# See also http://www.scons.org/wiki/UsingPkgConfig | |||
env.ParseConfig('llvm-config --cflags --ldflags --libs backend bitreader engine ipo') | |||
env.Append(CPPDEFINES = ['MESA_LLVM']) | |||
# Force C++ linkage | |||
env['LINK'] = env['CXX'] | |||
# libGL | |||
if platform in ('linux', 'freebsd', 'darwin'): | |||
env.Append(LIBS = [ | |||
'X11', | |||
'Xext', | |||
'Xxf86vm', | |||
'Xdamage', | |||
'Xfixes', | |||
]) | |||
# for debugging | |||
#print env.Dump() | |||
Export('env') | |||
####################################################################### | |||
# Invoke SConscripts | |||
# TODO: Build several variants at the same time? | |||
# http://www.scons.org/wiki/SimultaneousVariantBuilds | |||
SConscript( | |||
'src/SConscript', | |||
variant_dir = env['build'], | |||
duplicate = 0 # http://www.scons.org/doc/0.97/HTML/scons-user/x2261.html | |||
) |
@@ -0,0 +1,366 @@ | |||
#!/usr/bin/env python | |||
########################################################################## | |||
# | |||
# Copyright 2008 Tungsten Graphics, Inc., Cedar Park, Texas. | |||
# All Rights Reserved. | |||
# | |||
# Permission is hereby granted, free of charge, to any person obtaining a | |||
# copy of this software and associated documentation files (the | |||
# "Software"), to deal in the Software without restriction, including | |||
# without limitation the rights to use, copy, modify, merge, publish, | |||
# distribute, sub license, and/or sell copies of the Software, and to | |||
# permit persons to whom the Software is furnished to do so, subject to | |||
# the following conditions: | |||
# | |||
# The above copyright notice and this permission notice (including the | |||
# next paragraph) shall be included in all copies or substantial portions | |||
# of the Software. | |||
# | |||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS | |||
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | |||
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. | |||
# IN NO EVENT SHALL TUNGSTEN GRAPHICS AND/OR ITS SUPPLIERS BE LIABLE FOR | |||
# ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | |||
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | |||
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |||
# | |||
########################################################################## | |||
import os.path | |||
import sys | |||
import struct | |||
import Image # http://www.pythonware.com/products/pil/ | |||
PIPE_FORMAT_LAYOUT_RGBAZS = 0 | |||
PIPE_FORMAT_LAYOUT_YCBCR = 1 | |||
PIPE_FORMAT_LAYOUT_DXT = 2 | |||
PIPE_FORMAT_LAYOUT_MIXED = 3 | |||
PIPE_FORMAT_COMP_R = 0 | |||
PIPE_FORMAT_COMP_G = 1 | |||
PIPE_FORMAT_COMP_B = 2 | |||
PIPE_FORMAT_COMP_A = 3 | |||
PIPE_FORMAT_COMP_0 = 4 | |||
PIPE_FORMAT_COMP_1 = 5 | |||
PIPE_FORMAT_COMP_Z = 6 | |||
PIPE_FORMAT_COMP_S = 7 | |||
PIPE_FORMAT_TYPE_UNKNOWN = 0 | |||
PIPE_FORMAT_TYPE_FLOAT = 1 | |||
PIPE_FORMAT_TYPE_UNORM = 2 | |||
PIPE_FORMAT_TYPE_SNORM = 3 | |||
PIPE_FORMAT_TYPE_USCALED = 4 | |||
PIPE_FORMAT_TYPE_SSCALED = 5 | |||
PIPE_FORMAT_TYPE_SRGB = 6 | |||
PIPE_FORMAT_TYPE_FIXED = 7 | |||
def _PIPE_FORMAT_RGBAZS( SWZ, SIZEX, SIZEY, SIZEZ, SIZEW, EXP2, TYPE ): | |||
return ((PIPE_FORMAT_LAYOUT_RGBAZS << 0) |\ | |||
((SWZ) << 2) |\ | |||
((SIZEX) << 14) |\ | |||
((SIZEY) << 17) |\ | |||
((SIZEZ) << 20) |\ | |||
((SIZEW) << 23) |\ | |||
((EXP2) << 26) |\ | |||
((TYPE) << 29) ) | |||
def _PIPE_FORMAT_SWZ( SWZX, SWZY, SWZZ, SWZW ): | |||
return (((SWZX) << 0) | ((SWZY) << 3) | ((SWZZ) << 6) | ((SWZW) << 9)) | |||
def _PIPE_FORMAT_RGBAZS_1( SWZ, SIZEX, SIZEY, SIZEZ, SIZEW, TYPE ): | |||
return _PIPE_FORMAT_RGBAZS( SWZ, SIZEX, SIZEY, SIZEZ, SIZEW, 0, TYPE ) | |||
def _PIPE_FORMAT_RGBAZS_2( SWZ, SIZEX, SIZEY, SIZEZ, SIZEW, TYPE ): | |||
_PIPE_FORMAT_RGBAZS( SWZ, SIZEX, SIZEY, SIZEZ, SIZEW, 1, TYPE ) | |||
def _PIPE_FORMAT_RGBAZS_8( SWZ, SIZEX, SIZEY, SIZEZ, SIZEW, TYPE ): | |||
return _PIPE_FORMAT_RGBAZS( SWZ, SIZEX, SIZEY, SIZEZ, SIZEW, 3, TYPE ) | |||
def _PIPE_FORMAT_RGBAZS_64( SWZ, SIZEX, SIZEY, SIZEZ, SIZEW, TYPE ): | |||
return _PIPE_FORMAT_RGBAZS( SWZ, SIZEX, SIZEY, SIZEZ, SIZEW, 6, TYPE ) | |||
def _PIPE_FORMAT_MIXED( SWZ, SIZEX, SIZEY, SIZEZ, SIZEW, SIGNX, SIGNY, SIGNZ, SIGNW, NORMALIZED, SCALE8 ): | |||
return ((PIPE_FORMAT_LAYOUT_MIXED << 0) |\ | |||
((SWZ) << 2) |\ | |||
((SIZEX) << 14) |\ | |||
((SIZEY) << 17) |\ | |||
((SIZEZ) << 20) |\ | |||
((SIZEW) << 23) |\ | |||
((SIGNX) << 26) |\ | |||
((SIGNY) << 27) |\ | |||
((SIGNZ) << 28) |\ | |||
((SIGNW) << 29) |\ | |||
((NORMALIZED) << 30) |\ | |||
((SCALE8) << 31) ) | |||
_PIPE_FORMAT_R001 = _PIPE_FORMAT_SWZ( PIPE_FORMAT_COMP_R, PIPE_FORMAT_COMP_0, PIPE_FORMAT_COMP_0, PIPE_FORMAT_COMP_1 ) | |||
_PIPE_FORMAT_RG01 = _PIPE_FORMAT_SWZ( PIPE_FORMAT_COMP_R, PIPE_FORMAT_COMP_G, PIPE_FORMAT_COMP_0, PIPE_FORMAT_COMP_1 ) | |||
_PIPE_FORMAT_RGB1 = _PIPE_FORMAT_SWZ( PIPE_FORMAT_COMP_R, PIPE_FORMAT_COMP_G, PIPE_FORMAT_COMP_B, PIPE_FORMAT_COMP_1 ) | |||
_PIPE_FORMAT_RGBA = _PIPE_FORMAT_SWZ( PIPE_FORMAT_COMP_R, PIPE_FORMAT_COMP_G, PIPE_FORMAT_COMP_B, PIPE_FORMAT_COMP_A ) | |||
_PIPE_FORMAT_ARGB = _PIPE_FORMAT_SWZ( PIPE_FORMAT_COMP_A, PIPE_FORMAT_COMP_R, PIPE_FORMAT_COMP_G, PIPE_FORMAT_COMP_B ) | |||
_PIPE_FORMAT_ABGR = _PIPE_FORMAT_SWZ( PIPE_FORMAT_COMP_A, PIPE_FORMAT_COMP_B, PIPE_FORMAT_COMP_G, PIPE_FORMAT_COMP_R ) | |||
_PIPE_FORMAT_BGRA = _PIPE_FORMAT_SWZ( PIPE_FORMAT_COMP_B, PIPE_FORMAT_COMP_G, PIPE_FORMAT_COMP_R, PIPE_FORMAT_COMP_A ) | |||
_PIPE_FORMAT_1RGB = _PIPE_FORMAT_SWZ( PIPE_FORMAT_COMP_1, PIPE_FORMAT_COMP_R, PIPE_FORMAT_COMP_G, PIPE_FORMAT_COMP_B ) | |||
_PIPE_FORMAT_1BGR = _PIPE_FORMAT_SWZ( PIPE_FORMAT_COMP_1, PIPE_FORMAT_COMP_B, PIPE_FORMAT_COMP_G, PIPE_FORMAT_COMP_R ) | |||
_PIPE_FORMAT_BGR1 = _PIPE_FORMAT_SWZ( PIPE_FORMAT_COMP_B, PIPE_FORMAT_COMP_G, PIPE_FORMAT_COMP_R, PIPE_FORMAT_COMP_1 ) | |||
_PIPE_FORMAT_0000 = _PIPE_FORMAT_SWZ( PIPE_FORMAT_COMP_0, PIPE_FORMAT_COMP_0, PIPE_FORMAT_COMP_0, PIPE_FORMAT_COMP_0 ) | |||
_PIPE_FORMAT_000R = _PIPE_FORMAT_SWZ( PIPE_FORMAT_COMP_0, PIPE_FORMAT_COMP_0, PIPE_FORMAT_COMP_0, PIPE_FORMAT_COMP_R ) | |||
_PIPE_FORMAT_RRR1 = _PIPE_FORMAT_SWZ( PIPE_FORMAT_COMP_R, PIPE_FORMAT_COMP_R, PIPE_FORMAT_COMP_R, PIPE_FORMAT_COMP_1 ) | |||
_PIPE_FORMAT_RRRR = _PIPE_FORMAT_SWZ( PIPE_FORMAT_COMP_R, PIPE_FORMAT_COMP_R, PIPE_FORMAT_COMP_R, PIPE_FORMAT_COMP_R ) | |||
_PIPE_FORMAT_RRRG = _PIPE_FORMAT_SWZ( PIPE_FORMAT_COMP_R, PIPE_FORMAT_COMP_R, PIPE_FORMAT_COMP_R, PIPE_FORMAT_COMP_G ) | |||
_PIPE_FORMAT_Z000 = _PIPE_FORMAT_SWZ( PIPE_FORMAT_COMP_Z, PIPE_FORMAT_COMP_0, PIPE_FORMAT_COMP_0, PIPE_FORMAT_COMP_0 ) | |||
_PIPE_FORMAT_0Z00 = _PIPE_FORMAT_SWZ( PIPE_FORMAT_COMP_0, PIPE_FORMAT_COMP_Z, PIPE_FORMAT_COMP_0, PIPE_FORMAT_COMP_0 ) | |||
_PIPE_FORMAT_SZ00 = _PIPE_FORMAT_SWZ( PIPE_FORMAT_COMP_S, PIPE_FORMAT_COMP_Z, PIPE_FORMAT_COMP_0, PIPE_FORMAT_COMP_0 ) | |||
_PIPE_FORMAT_ZS00 = _PIPE_FORMAT_SWZ( PIPE_FORMAT_COMP_Z, PIPE_FORMAT_COMP_S, PIPE_FORMAT_COMP_0, PIPE_FORMAT_COMP_0 ) | |||
_PIPE_FORMAT_S000 = _PIPE_FORMAT_SWZ( PIPE_FORMAT_COMP_S, PIPE_FORMAT_COMP_0, PIPE_FORMAT_COMP_0, PIPE_FORMAT_COMP_0 ) | |||
def _PIPE_FORMAT_YCBCR( REV ): | |||
return ((PIPE_FORMAT_LAYOUT_YCBCR << 0) |\ | |||
((REV) << 2) ) | |||
def _PIPE_FORMAT_DXT( LEVEL, RSIZE, GSIZE, BSIZE, ASIZE ): | |||
return ((PIPE_FORMAT_LAYOUT_DXT << 0) | \ | |||
((LEVEL) << 2) | \ | |||
((RSIZE) << 5) | \ | |||
((GSIZE) << 8) | \ | |||
((BSIZE) << 11) | \ | |||
((ASIZE) << 14) ) | |||
PIPE_FORMAT_NONE = _PIPE_FORMAT_RGBAZS_1 ( _PIPE_FORMAT_0000, 0, 0, 0, 0, PIPE_FORMAT_TYPE_UNKNOWN ) | |||
PIPE_FORMAT_A8R8G8B8_UNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_ARGB, 1, 1, 1, 1, PIPE_FORMAT_TYPE_UNORM ) | |||
PIPE_FORMAT_X8R8G8B8_UNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_1RGB, 1, 1, 1, 1, PIPE_FORMAT_TYPE_UNORM ) | |||
PIPE_FORMAT_B8G8R8A8_UNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_BGRA, 1, 1, 1, 1, PIPE_FORMAT_TYPE_UNORM ) | |||
PIPE_FORMAT_B8G8R8X8_UNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_BGR1, 1, 1, 1, 1, PIPE_FORMAT_TYPE_UNORM ) | |||
PIPE_FORMAT_A1R5G5B5_UNORM = _PIPE_FORMAT_RGBAZS_1 ( _PIPE_FORMAT_ARGB, 1, 5, 5, 5, PIPE_FORMAT_TYPE_UNORM ) | |||
PIPE_FORMAT_A4R4G4B4_UNORM = _PIPE_FORMAT_RGBAZS_1 ( _PIPE_FORMAT_ARGB, 4, 4, 4, 4, PIPE_FORMAT_TYPE_UNORM ) | |||
PIPE_FORMAT_R5G6B5_UNORM = _PIPE_FORMAT_RGBAZS_1 ( _PIPE_FORMAT_RGB1, 5, 6, 5, 0, PIPE_FORMAT_TYPE_UNORM ) | |||
PIPE_FORMAT_A2B10G10R10_UNORM = _PIPE_FORMAT_RGBAZS_2 ( _PIPE_FORMAT_ABGR, 1, 5, 5, 5, PIPE_FORMAT_TYPE_UNORM ) | |||
PIPE_FORMAT_L8_UNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RRR1, 1, 1, 1, 0, PIPE_FORMAT_TYPE_UNORM ) | |||
PIPE_FORMAT_A8_UNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_000R, 0, 0, 0, 1, PIPE_FORMAT_TYPE_UNORM ) | |||
PIPE_FORMAT_I8_UNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RRRR, 1, 1, 1, 1, PIPE_FORMAT_TYPE_UNORM ) | |||
PIPE_FORMAT_A8L8_UNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RRRG, 1, 1, 1, 1, PIPE_FORMAT_TYPE_UNORM ) | |||
PIPE_FORMAT_L16_UNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RRR1, 2, 2, 2, 0, PIPE_FORMAT_TYPE_UNORM ) | |||
PIPE_FORMAT_YCBCR = _PIPE_FORMAT_YCBCR( 0 ) | |||
PIPE_FORMAT_YCBCR_REV = _PIPE_FORMAT_YCBCR( 1 ) | |||
PIPE_FORMAT_Z16_UNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_Z000, 2, 0, 0, 0, PIPE_FORMAT_TYPE_UNORM ) | |||
PIPE_FORMAT_Z32_UNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_Z000, 4, 0, 0, 0, PIPE_FORMAT_TYPE_UNORM ) | |||
PIPE_FORMAT_Z32_FLOAT = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_Z000, 4, 0, 0, 0, PIPE_FORMAT_TYPE_FLOAT ) | |||
PIPE_FORMAT_S8Z24_UNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_SZ00, 1, 3, 0, 0, PIPE_FORMAT_TYPE_UNORM ) | |||
PIPE_FORMAT_Z24S8_UNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_ZS00, 3, 1, 0, 0, PIPE_FORMAT_TYPE_UNORM ) | |||
PIPE_FORMAT_X8Z24_UNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_0Z00, 1, 3, 0, 0, PIPE_FORMAT_TYPE_UNORM ) | |||
PIPE_FORMAT_Z24X8_UNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_Z000, 3, 1, 0, 0, PIPE_FORMAT_TYPE_UNORM ) | |||
PIPE_FORMAT_S8_UNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_S000, 1, 0, 0, 0, PIPE_FORMAT_TYPE_UNORM ) | |||
PIPE_FORMAT_R64_FLOAT = _PIPE_FORMAT_RGBAZS_64( _PIPE_FORMAT_R001, 1, 0, 0, 0, PIPE_FORMAT_TYPE_FLOAT ) | |||
PIPE_FORMAT_R64G64_FLOAT = _PIPE_FORMAT_RGBAZS_64( _PIPE_FORMAT_RG01, 1, 1, 0, 0, PIPE_FORMAT_TYPE_FLOAT ) | |||
PIPE_FORMAT_R64G64B64_FLOAT = _PIPE_FORMAT_RGBAZS_64( _PIPE_FORMAT_RGB1, 1, 1, 1, 0, PIPE_FORMAT_TYPE_FLOAT ) | |||
PIPE_FORMAT_R64G64B64A64_FLOAT = _PIPE_FORMAT_RGBAZS_64( _PIPE_FORMAT_RGBA, 1, 1, 1, 1, PIPE_FORMAT_TYPE_FLOAT ) | |||
PIPE_FORMAT_R32_FLOAT = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_R001, 4, 0, 0, 0, PIPE_FORMAT_TYPE_FLOAT ) | |||
PIPE_FORMAT_R32G32_FLOAT = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RG01, 4, 4, 0, 0, PIPE_FORMAT_TYPE_FLOAT ) | |||
PIPE_FORMAT_R32G32B32_FLOAT = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RGB1, 4, 4, 4, 0, PIPE_FORMAT_TYPE_FLOAT ) | |||
PIPE_FORMAT_R32G32B32A32_FLOAT = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RGBA, 4, 4, 4, 4, PIPE_FORMAT_TYPE_FLOAT ) | |||
PIPE_FORMAT_R32_UNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_R001, 4, 0, 0, 0, PIPE_FORMAT_TYPE_UNORM ) | |||
PIPE_FORMAT_R32G32_UNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RG01, 4, 4, 0, 0, PIPE_FORMAT_TYPE_UNORM ) | |||
PIPE_FORMAT_R32G32B32_UNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RGB1, 4, 4, 4, 0, PIPE_FORMAT_TYPE_UNORM ) | |||
PIPE_FORMAT_R32G32B32A32_UNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RGBA, 4, 4, 4, 4, PIPE_FORMAT_TYPE_UNORM ) | |||
PIPE_FORMAT_R32_USCALED = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_R001, 4, 0, 0, 0, PIPE_FORMAT_TYPE_USCALED ) | |||
PIPE_FORMAT_R32G32_USCALED = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RG01, 4, 4, 0, 0, PIPE_FORMAT_TYPE_USCALED ) | |||
PIPE_FORMAT_R32G32B32_USCALED = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RGB1, 4, 4, 4, 0, PIPE_FORMAT_TYPE_USCALED ) | |||
PIPE_FORMAT_R32G32B32A32_USCALED = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RGBA, 4, 4, 4, 4, PIPE_FORMAT_TYPE_USCALED ) | |||
PIPE_FORMAT_R32_SNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_R001, 4, 0, 0, 0, PIPE_FORMAT_TYPE_SNORM ) | |||
PIPE_FORMAT_R32G32_SNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RG01, 4, 4, 0, 0, PIPE_FORMAT_TYPE_SNORM ) | |||
PIPE_FORMAT_R32G32B32_SNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RGB1, 4, 4, 4, 0, PIPE_FORMAT_TYPE_SNORM ) | |||
PIPE_FORMAT_R32G32B32A32_SNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RGBA, 4, 4, 4, 4, PIPE_FORMAT_TYPE_SNORM ) | |||
PIPE_FORMAT_R32_SSCALED = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_R001, 4, 0, 0, 0, PIPE_FORMAT_TYPE_SSCALED ) | |||
PIPE_FORMAT_R32G32_SSCALED = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RG01, 4, 4, 0, 0, PIPE_FORMAT_TYPE_SSCALED ) | |||
PIPE_FORMAT_R32G32B32_SSCALED = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RGB1, 4, 4, 4, 0, PIPE_FORMAT_TYPE_SSCALED ) | |||
PIPE_FORMAT_R32G32B32A32_SSCALED = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RGBA, 4, 4, 4, 4, PIPE_FORMAT_TYPE_SSCALED ) | |||
PIPE_FORMAT_R16_UNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_R001, 2, 0, 0, 0, PIPE_FORMAT_TYPE_UNORM ) | |||
PIPE_FORMAT_R16G16_UNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RG01, 2, 2, 0, 0, PIPE_FORMAT_TYPE_UNORM ) | |||
PIPE_FORMAT_R16G16B16_UNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RGB1, 2, 2, 2, 0, PIPE_FORMAT_TYPE_UNORM ) | |||
PIPE_FORMAT_R16G16B16A16_UNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RGBA, 2, 2, 2, 2, PIPE_FORMAT_TYPE_UNORM ) | |||
PIPE_FORMAT_R16_USCALED = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_R001, 2, 0, 0, 0, PIPE_FORMAT_TYPE_USCALED ) | |||
PIPE_FORMAT_R16G16_USCALED = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RG01, 2, 2, 0, 0, PIPE_FORMAT_TYPE_USCALED ) | |||
PIPE_FORMAT_R16G16B16_USCALED = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RGB1, 2, 2, 2, 0, PIPE_FORMAT_TYPE_USCALED ) | |||
PIPE_FORMAT_R16G16B16A16_USCALED = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RGBA, 2, 2, 2, 2, PIPE_FORMAT_TYPE_USCALED ) | |||
PIPE_FORMAT_R16_SNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_R001, 2, 0, 0, 0, PIPE_FORMAT_TYPE_SNORM ) | |||
PIPE_FORMAT_R16G16_SNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RG01, 2, 2, 0, 0, PIPE_FORMAT_TYPE_SNORM ) | |||
PIPE_FORMAT_R16G16B16_SNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RGB1, 2, 2, 2, 0, PIPE_FORMAT_TYPE_SNORM ) | |||
PIPE_FORMAT_R16G16B16A16_SNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RGBA, 2, 2, 2, 2, PIPE_FORMAT_TYPE_SNORM ) | |||
PIPE_FORMAT_R16_SSCALED = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_R001, 2, 0, 0, 0, PIPE_FORMAT_TYPE_SSCALED ) | |||
PIPE_FORMAT_R16G16_SSCALED = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RG01, 2, 2, 0, 0, PIPE_FORMAT_TYPE_SSCALED ) | |||
PIPE_FORMAT_R16G16B16_SSCALED = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RGB1, 2, 2, 2, 0, PIPE_FORMAT_TYPE_SSCALED ) | |||
PIPE_FORMAT_R16G16B16A16_SSCALED = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RGBA, 2, 2, 2, 2, PIPE_FORMAT_TYPE_SSCALED ) | |||
PIPE_FORMAT_R8_UNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_R001, 1, 0, 0, 0, PIPE_FORMAT_TYPE_UNORM ) | |||
PIPE_FORMAT_R8G8_UNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RG01, 1, 1, 0, 0, PIPE_FORMAT_TYPE_UNORM ) | |||
PIPE_FORMAT_R8G8B8_UNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RGB1, 1, 1, 1, 0, PIPE_FORMAT_TYPE_UNORM ) | |||
PIPE_FORMAT_R8G8B8A8_UNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RGBA, 1, 1, 1, 1, PIPE_FORMAT_TYPE_UNORM ) | |||
PIPE_FORMAT_R8G8B8X8_UNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RGB1, 1, 1, 1, 1, PIPE_FORMAT_TYPE_UNORM ) | |||
PIPE_FORMAT_R8_USCALED = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_R001, 1, 0, 0, 0, PIPE_FORMAT_TYPE_USCALED ) | |||
PIPE_FORMAT_R8G8_USCALED = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RG01, 1, 1, 0, 0, PIPE_FORMAT_TYPE_USCALED ) | |||
PIPE_FORMAT_R8G8B8_USCALED = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RGB1, 1, 1, 1, 0, PIPE_FORMAT_TYPE_USCALED ) | |||
PIPE_FORMAT_R8G8B8A8_USCALED = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RGBA, 1, 1, 1, 1, PIPE_FORMAT_TYPE_USCALED ) | |||
PIPE_FORMAT_R8G8B8X8_USCALED = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RGB1, 1, 1, 1, 1, PIPE_FORMAT_TYPE_USCALED ) | |||
PIPE_FORMAT_R8_SNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_R001, 1, 0, 0, 0, PIPE_FORMAT_TYPE_SNORM ) | |||
PIPE_FORMAT_R8G8_SNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RG01, 1, 1, 0, 0, PIPE_FORMAT_TYPE_SNORM ) | |||
PIPE_FORMAT_R8G8B8_SNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RGB1, 1, 1, 1, 0, PIPE_FORMAT_TYPE_SNORM ) | |||
PIPE_FORMAT_R8G8B8A8_SNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RGBA, 1, 1, 1, 1, PIPE_FORMAT_TYPE_SNORM ) | |||
PIPE_FORMAT_R8G8B8X8_SNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RGB1, 1, 1, 1, 1, PIPE_FORMAT_TYPE_SNORM ) | |||
PIPE_FORMAT_B6G5R5_SNORM = _PIPE_FORMAT_RGBAZS_1 ( _PIPE_FORMAT_BGR1, 6, 5, 5, 0, PIPE_FORMAT_TYPE_SNORM ) | |||
PIPE_FORMAT_A8B8G8R8_SNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_BGRA, 1, 1, 1, 1, PIPE_FORMAT_TYPE_SNORM ) | |||
PIPE_FORMAT_X8B8G8R8_SNORM = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RGB1, 1, 1, 1, 1, PIPE_FORMAT_TYPE_SNORM ) | |||
PIPE_FORMAT_R8_SSCALED = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_R001, 1, 0, 0, 0, PIPE_FORMAT_TYPE_SSCALED ) | |||
PIPE_FORMAT_R8G8_SSCALED = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RG01, 1, 1, 0, 0, PIPE_FORMAT_TYPE_SSCALED ) | |||
PIPE_FORMAT_R8G8B8_SSCALED = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RGB1, 1, 1, 1, 0, PIPE_FORMAT_TYPE_SSCALED ) | |||
PIPE_FORMAT_R8G8B8A8_SSCALED = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RGBA, 1, 1, 1, 1, PIPE_FORMAT_TYPE_SSCALED ) | |||
PIPE_FORMAT_R8G8B8X8_SSCALED = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RGB1, 1, 1, 1, 1, PIPE_FORMAT_TYPE_SSCALED ) | |||
PIPE_FORMAT_R32_FIXED = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_R001, 4, 0, 0, 0, PIPE_FORMAT_TYPE_FIXED ) | |||
PIPE_FORMAT_R32G32_FIXED = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RG01, 4, 4, 0, 0, PIPE_FORMAT_TYPE_FIXED ) | |||
PIPE_FORMAT_R32G32B32_FIXED = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RGB1, 4, 4, 4, 0, PIPE_FORMAT_TYPE_FIXED ) | |||
PIPE_FORMAT_R32G32B32A32_FIXED = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RGBA, 4, 4, 4, 4, PIPE_FORMAT_TYPE_FIXED ) | |||
PIPE_FORMAT_L8_SRGB = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RRR1, 1, 1, 1, 0, PIPE_FORMAT_TYPE_SRGB ) | |||
PIPE_FORMAT_A8_L8_SRGB = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RRRG, 1, 1, 1, 1, PIPE_FORMAT_TYPE_SRGB ) | |||
PIPE_FORMAT_R8G8B8_SRGB = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RGB1, 1, 1, 1, 0, PIPE_FORMAT_TYPE_SRGB ) | |||
PIPE_FORMAT_R8G8B8A8_SRGB = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RGBA, 1, 1, 1, 1, PIPE_FORMAT_TYPE_SRGB ) | |||
PIPE_FORMAT_R8G8B8X8_SRGB = _PIPE_FORMAT_RGBAZS_8 ( _PIPE_FORMAT_RGB1, 1, 1, 1, 1, PIPE_FORMAT_TYPE_SRGB ) | |||
PIPE_FORMAT_X8UB8UG8SR8S_NORM = _PIPE_FORMAT_MIXED( _PIPE_FORMAT_1BGR, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1 ) | |||
PIPE_FORMAT_B6UG5SR5S_NORM = _PIPE_FORMAT_MIXED( _PIPE_FORMAT_BGR1, 6, 5, 5, 0, 0, 1, 1, 0, 1, 0 ) | |||
PIPE_FORMAT_DXT1_RGB = _PIPE_FORMAT_DXT( 1, 8, 8, 8, 0 ) | |||
PIPE_FORMAT_DXT1_RGBA = _PIPE_FORMAT_DXT( 1, 8, 8, 8, 8 ) | |||
PIPE_FORMAT_DXT3_RGBA = _PIPE_FORMAT_DXT( 3, 8, 8, 8, 8 ) | |||
PIPE_FORMAT_DXT5_RGBA = _PIPE_FORMAT_DXT( 5, 8, 8, 8, 8 ) | |||
formats = {} | |||
for name, value in globals().items(): | |||
if name.startswith("PIPE_FORMAT_") and isinstance(value, int): | |||
formats[value] = name | |||
def clip(g): | |||
return min(max(g, 0), 255) | |||
def yuv2rgb(y, u, v): | |||
C = y - 16 | |||
D = u - 128 | |||
E = v - 128 | |||
r = clip(( 298 * C + 409 * E + 128) >> 8) | |||
g = clip(( 298 * C - 100 * D - 208 * E + 128) >> 8) | |||
b = clip(( 298 * C + 516 * D + 128) >> 8) | |||
return r, g, b | |||
def translate_r5g6b5(data): | |||
value, = struct.unpack_from("H", data) | |||
r = ((value >> 11) & 0x1f)*0xff/0x1f | |||
g = ((value >> 5) & 0x3f)*0xff/0x3f | |||
b = ((value >> 0) & 0x1f)*0xff/0x1f | |||
a = 255 | |||
return [[(r, g, b, a)]] | |||
def translate_a8r8g8b8(data): | |||
b, g, r, a = struct.unpack_from("BBBB", data) | |||
return [[(r, g, b, a)]] | |||
def translate_x8r8g8b8(data): | |||
b, g, r, x = struct.unpack_from("BBBB", data) | |||
a = 255 | |||
return [[(r, g, b, a)]] | |||
def translate_r8g8b8a8(data): | |||
r, g, b, a = struct.unpack_from("BBBB", data) | |||
return [[(r, g, b, a)]] | |||
def translate_ycbcr(data): | |||
y1, u, y2, v = struct.unpack_from("BBBB", data) | |||
r1, g1, b1 = yuv2rgb(y1, u, v) | |||
r2, g2, b2 = yuv2rgb(y1, u, v) | |||
return [[(r1, g1, b1, 255), (r2, g2, b2, 255)]] | |||
def translate_ycbcr_rev(data): | |||
v, y2, u, y1 = struct.unpack_from("BBBB", data) | |||
r1, g1, b1 = yuv2rgb(y1, u, v) | |||
r2, g2, b2 = yuv2rgb(y1, u, v) | |||
return [[(r1, g1, b1, 255), (r2, g2, b2, 255)]] | |||
def translate_x8z24(data): | |||
value, = struct.unpack_from("I", data) | |||
r = g = b = (value & 0xffffff)*0xff/0xffffff | |||
a = 255 | |||
return [[(r, g, b, a)]] | |||
def translate_s8z24(data): | |||
value, = struct.unpack_from("I", data) | |||
r = (value & 0xffffff)*0xff/0xffffff | |||
g = value >> 24 | |||
b = 0 | |||
a = 255 | |||
return [[(r, g, b, a)]] | |||
translate = { | |||
PIPE_FORMAT_A8R8G8B8_UNORM: (4, 1, 1, translate_a8r8g8b8), | |||
PIPE_FORMAT_X8R8G8B8_UNORM: (4, 1, 1, translate_x8r8g8b8), | |||
PIPE_FORMAT_B8G8R8A8_UNORM: (4, 1, 1, translate_r8g8b8a8), | |||
PIPE_FORMAT_B8G8R8X8_UNORM: (4, 1, 1, translate_r8g8b8a8), | |||
PIPE_FORMAT_A8B8G8R8_SNORM: (4, 1, 1, translate_r8g8b8a8), | |||
PIPE_FORMAT_R5G6B5_UNORM: (2, 1, 1, translate_r5g6b5), | |||
PIPE_FORMAT_YCBCR: (4, 2, 1, translate_ycbcr), | |||
PIPE_FORMAT_YCBCR_REV: (4, 2, 1, translate_ycbcr_rev), | |||
PIPE_FORMAT_S8Z24_UNORM: (4, 1, 1, translate_s8z24), | |||
PIPE_FORMAT_X8Z24_UNORM: (4, 1, 1, translate_x8z24), | |||
} | |||
def read_header(infile): | |||
header_fmt = "IIII" | |||
header = infile.read(struct.calcsize(header_fmt)) | |||
return struct.unpack_from(header_fmt, header) | |||
def process(infilename, outfilename): | |||
sys.stderr.write("%s -> %s\n" % (infilename, outfilename)) | |||
infile = open(infilename, "rb") | |||
format, cpp, width, height = read_header(infile) | |||
sys.stderr.write(" %ux%ux%ubpp %s\n" % (width, height, cpp*8, formats[format])) | |||
outimage = Image.new( | |||
mode='RGB', | |||
size=(width, height), | |||
color=(0,0,0)) | |||
outpixels = outimage.load() | |||
try: | |||
bsize, bwidth, bheight, translate_func = translate[format] | |||
except KeyError: | |||
sys.stderr.write('error: unsupported format %s\n' % formats[format]) | |||
return | |||
for y in range(0, height, bheight): | |||
for x in range(0, width, bwidth): | |||
indata = infile.read(bsize) | |||
outdata = translate_func(indata) | |||
for j in range(bheight): | |||
for i in range(bwidth): | |||
r, g, b, a = outdata[j][i] | |||
outpixels[x+i, y+j] = r, g, b | |||
outimage.save(outfilename, "PNG") | |||
def main(): | |||
if sys.platform == 'win32': | |||
# wildcard expansion | |||
from glob import glob | |||
args = [] | |||
for arg in sys.argv[1:]: | |||
args.extend(glob(arg)) | |||
else: | |||
args = sys.argv[1:] | |||
for infilename in args: | |||
root, ext = os.path.splitext(infilename) | |||
outfilename = root + ".png" | |||
process(infilename, outfilename) | |||
if __name__ == '__main__': | |||
main() |
@@ -0,0 +1,309 @@ | |||
#!/usr/bin/env python | |||
########################################################################## | |||
# | |||
# Copyright 2008 Tungsten Graphics, Inc., Cedar Park, Texas. | |||
# All Rights Reserved. | |||
# | |||
# Permission is hereby granted, free of charge, to any person obtaining a | |||
# copy of this software and associated documentation files (the | |||
# "Software"), to deal in the Software without restriction, including | |||
# without limitation the rights to use, copy, modify, merge, publish, | |||
# distribute, sub license, and/or sell copies of the Software, and to | |||
# permit persons to whom the Software is furnished to do so, subject to | |||
# the following conditions: | |||
# | |||
# The above copyright notice and this permission notice (including the | |||
# next paragraph) shall be included in all copies or substantial portions | |||
# of the Software. | |||
# | |||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS | |||
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | |||
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. | |||
# IN NO EVENT SHALL TUNGSTEN GRAPHICS AND/OR ITS SUPPLIERS BE LIABLE FOR | |||
# ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | |||
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | |||
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |||
# | |||
########################################################################## | |||
import sys | |||
import optparse | |||
import re | |||
import struct | |||
from gprof2dot import Call, Function, Profile | |||
from gprof2dot import CALLS, SAMPLES, TIME, TIME_RATIO, TOTAL_TIME, TOTAL_TIME_RATIO | |||
from gprof2dot import DotWriter, TEMPERATURE_COLORMAP | |||
__version__ = '0.1' | |||
class ParseError(Exception): | |||
pass | |||
class MsvcDemangler: | |||
# http://www.kegel.com/mangle.html | |||
def __init__(self, symbol): | |||
self._symbol = symbol | |||
self._pos = 0 | |||
def lookahead(self): | |||
return self._symbol[self._pos] | |||
def consume(self): | |||
ret = self.lookahead() | |||
self._pos += 1 | |||
return ret | |||
def match(self, c): | |||
if self.lookahead() != c: | |||
raise ParseError | |||
self.consume() | |||
def parse(self): | |||
self.match('?') | |||
name = self.parse_name() | |||
qualifications = self.parse_qualifications() | |||
return '::'.join(qualifications + [name]) | |||
def parse_name(self): | |||
if self.lookahead() == '?': | |||
return self.consume() + self.consume() | |||
else: | |||
name = self.parse_id() | |||
self.match('@') | |||
return name | |||
def parse_qualifications(self): | |||
qualifications = [] | |||
while self.lookahead() != '@': | |||
name = self.parse_id() | |||
qualifications.append(name) | |||
self.match('@') | |||
return qualifications | |||
def parse_id(self): | |||
s = '' | |||
while True: | |||
c = self.lookahead() | |||
if c.isalnum() or c in '_': | |||
s += c | |||
self.consume() | |||
else: | |||
break | |||
return s | |||
def demangle(name): | |||
if name.startswith('_'): | |||
name = name[1:] | |||
idx = name.rfind('@') | |||
if idx != -1 and name[idx+1:].isdigit(): | |||
name = name[:idx] | |||
return name | |||
if name.startswith('?'): | |||
demangler = MsvcDemangler(name) | |||
return demangler.parse() | |||
return name | |||
class Reader: | |||
def __init__(self): | |||
self.symbols = [] | |||
self.symbol_cache = {} | |||
self.base_addr = None | |||
def read_map(self, mapfile): | |||
# See http://msdn.microsoft.com/en-us/library/k7xkk3e2.aspx | |||
last_addr = 0 | |||
last_name = 0 | |||
for line in file(mapfile, "rt"): | |||
fields = line.split() | |||
try: | |||
section_offset, name, addr, type, lib_object = fields | |||
except ValueError: | |||
continue | |||
if type != 'f': | |||
continue | |||
section, offset = section_offset.split(':') | |||
addr = int(offset, 16) | |||
self.symbols.append((addr, name)) | |||
last_addr = addr | |||
last_name = name | |||
# sort symbols | |||
self.symbols.sort(key = lambda (addr, name): addr) | |||
def lookup_addr(self, addr): | |||
try: | |||
return self.symbol_cache[addr] | |||
except KeyError: | |||
pass | |||
tolerance = 4196 | |||
s, e = 0, len(self.symbols) | |||
while s != e: | |||
i = (s + e)//2 | |||
start_addr, name = self.symbols[i] | |||
try: | |||
end_addr, next_name = self.symbols[i + 1] | |||
except IndexError: | |||
end_addr = start_addr + tolerance | |||
if addr < start_addr: | |||
e = i | |||
continue | |||
if addr == end_addr: | |||
return next_name, addr - start_addr | |||
if addr > end_addr: | |||
s = i | |||
continue | |||
return name, addr - start_addr | |||
raise ValueError | |||
def lookup_symbol(self, name): | |||
for symbol_addr, symbol_name in self.symbols: | |||
if name == symbol_name: | |||
return symbol_addr | |||
return 0 | |||
def read_data(self, data): | |||
profile = Profile() | |||
fp = file(data, "rb") | |||
entry_format = "IIII" | |||
entry_size = struct.calcsize(entry_format) | |||
caller = None | |||
caller_stack = [] | |||
while True: | |||
entry = fp.read(entry_size) | |||
if len(entry) < entry_size: | |||
break | |||
caller_addr, callee_addr, samples_lo, samples_hi = struct.unpack(entry_format, entry) | |||
if caller_addr == 0 and callee_addr == 0: | |||
continue | |||
if self.base_addr is None: | |||
ref_addr = self.lookup_symbol('___debug_profile_reference@0') | |||
if ref_addr: | |||
self.base_addr = (caller_addr - ref_addr) & ~(options.align - 1) | |||
else: | |||
self.base_addr = 0 | |||
sys.stderr.write('Base addr: %08x\n' % self.base_addr) | |||
samples = (samples_hi << 32) | samples_lo | |||
try: | |||
caller_raddr = caller_addr - self.base_addr | |||
caller_sym, caller_ofs = self.lookup_addr(caller_raddr) | |||
try: | |||
caller = profile.functions[caller_sym] | |||
except KeyError: | |||
caller_name = demangle(caller_sym) | |||
caller = Function(caller_sym, caller_name) | |||
profile.add_function(caller) | |||
caller[CALLS] = 0 | |||
caller[SAMPLES] = 0 | |||
except ValueError: | |||
caller = None | |||
if not callee_addr: | |||
if caller: | |||
caller[SAMPLES] += samples | |||
else: | |||
callee_raddr = callee_addr - self.base_addr | |||
callee_sym, callee_ofs = self.lookup_addr(callee_raddr) | |||
try: | |||
callee = profile.functions[callee_sym] | |||
except KeyError: | |||
callee_name = demangle(callee_sym) | |||
callee = Function(callee_sym, callee_name) | |||
profile.add_function(callee) | |||
callee[CALLS] = samples | |||
callee[SAMPLES] = 0 | |||
else: | |||
callee[CALLS] += samples | |||
if caller is not None: | |||
try: | |||
call = caller.calls[callee.id] | |||
except KeyError: | |||
call = Call(callee.id) | |||
call[CALLS] = samples | |||
caller.add_call(call) | |||
else: | |||
call[CALLS] += samples | |||
if options.verbose: | |||
if not callee_addr: | |||
sys.stderr.write('%s+%u: %u\n' % (caller_sym, caller_ofs, samples)) | |||
else: | |||
sys.stderr.write('%s+%u -> %s+%u: %u\n' % (caller_sym, caller_ofs, callee_sym, callee_ofs, samples)) | |||
# compute derived data | |||
profile.validate() | |||
profile.find_cycles() | |||
profile.aggregate(SAMPLES) | |||
profile.ratio(TIME_RATIO, SAMPLES) | |||
profile.call_ratios(CALLS) | |||
profile.integrate(TOTAL_TIME_RATIO, TIME_RATIO) | |||
return profile | |||
def main(): | |||
parser = optparse.OptionParser( | |||
usage="\n\t%prog [options] [file] ...", | |||
version="%%prog %s" % __version__) | |||
parser.add_option( | |||
'-a', '--align', metavar='NUMBER', | |||
type="int", dest="align", default=16, | |||
help="section alignment") | |||
parser.add_option( | |||
'-m', '--map', metavar='FILE', | |||
type="string", dest="map", | |||
help="map file") | |||
parser.add_option( | |||
'-b', '--base', metavar='FILE', | |||
type="string", dest="base", | |||
help="base addr") | |||
parser.add_option( | |||
'-n', '--node-thres', metavar='PERCENTAGE', | |||
type="float", dest="node_thres", default=0.5, | |||
help="eliminate nodes below this threshold [default: %default]") | |||
parser.add_option( | |||
'-e', '--edge-thres', metavar='PERCENTAGE', | |||
type="float", dest="edge_thres", default=0.1, | |||
help="eliminate edges below this threshold [default: %default]") | |||
parser.add_option( | |||
'-v', '--verbose', | |||
action="count", | |||
dest="verbose", default=0, | |||
help="verbose output") | |||
global options | |||
(options, args) = parser.parse_args(sys.argv[1:]) | |||
reader = Reader() | |||
if options.base is not None: | |||
reader.base_addr = int(options.base, 16) | |||
if options.map is not None: | |||
reader.read_map(options.map) | |||
for arg in args: | |||
profile = reader.read_data(arg) | |||
profile.prune(options.node_thres/100.0, options.edge_thres/100.0) | |||
output = sys.stdout | |||
dot = DotWriter(output) | |||
colormap = TEMPERATURE_COLORMAP | |||
dot.graph(profile, colormap) | |||
if __name__ == '__main__': | |||
main() | |||
@@ -0,0 +1,67 @@ | |||
####################################################################### | |||
# Common SCons code | |||
import os | |||
import os.path | |||
import sys | |||
import platform as _platform | |||
####################################################################### | |||
# Defaults | |||
_platform_map = { | |||
'linux2': 'linux', | |||
'win32': 'winddk', | |||
} | |||
default_platform = sys.platform | |||
default_platform = _platform_map.get(default_platform, default_platform) | |||
_machine_map = { | |||
'x86': 'x86', | |||
'i386': 'x86', | |||
'i486': 'x86', | |||
'i586': 'x86', | |||
'i686': 'x86', | |||
'ppc' : 'ppc', | |||
'x86_64': 'x86_64', | |||
} | |||
if 'PROCESSOR_ARCHITECTURE' in os.environ: | |||
default_machine = os.environ['PROCESSOR_ARCHITECTURE'] | |||
else: | |||
default_machine = _platform.machine() | |||
default_machine = _machine_map.get(default_machine, 'generic') | |||
if default_platform in ('linux', 'freebsd', 'darwin'): | |||
default_dri = 'yes' | |||
elif default_platform in ('winddk', 'windows', 'wince'): | |||
default_dri = 'no' | |||
else: | |||
default_dri = 'no' | |||
####################################################################### | |||
# Common options | |||
def AddOptions(opts): | |||
try: | |||
from SCons.Options.BoolOption import BoolOption | |||
except ImportError: | |||
from SCons.Variables.BoolVariable import BoolVariable as BoolOption | |||
try: | |||
from SCons.Options.EnumOption import EnumOption | |||
except ImportError: | |||
from SCons.Variables.EnumVariable import EnumVariable as EnumOption | |||
opts.Add(BoolOption('debug', 'debug build', 'no')) | |||
opts.Add(BoolOption('profile', 'profile build', 'no')) | |||
#opts.Add(BoolOption('quiet', 'quiet command lines', 'no')) | |||
opts.Add(EnumOption('machine', 'use machine-specific assembly code', default_machine, | |||
allowed_values=('generic', 'ppc', 'x86', 'x86_64'))) | |||
opts.Add(EnumOption('platform', 'target platform', default_platform, | |||
allowed_values=('linux', 'cell', 'windows', 'winddk', 'wince'))) | |||
opts.Add(EnumOption('toolchain', 'compiler toolchain', 'default', | |||
allowed_values=('default', 'crossmingw', 'winddk'))) | |||
opts.Add(BoolOption('llvm', 'use LLVM', 'no')) | |||
opts.Add(BoolOption('dri', 'build DRI drivers', default_dri)) | |||
@@ -62,11 +62,17 @@ LIB_DIR = @LIB_DIR@ | |||
SRC_DIRS = @SRC_DIRS@ | |||
GLU_DIRS = @GLU_DIRS@ | |||
DRIVER_DIRS = @DRIVER_DIRS@ | |||
GALLIUM_AUXILIARY_DIRS = @GALLIUM_AUXILIARY_DIRS@ | |||
GALLIUM_DRIVER_DIRS = @GALLIUM_DRIVER_DIRS@ | |||
GALLIUM_WINSYS_DIRS = @GALLIUM_WINSYS_DIRS@ | |||
GALLIUM_AUXILIARIES = $(foreach DIR,$(GALLIUM_AUXILIARY_DIRS),$(TOP)/src/gallium/auxiliary/$(DIR)/lib$(DIR).a) | |||
GALLIUM_DRIVERS = $(foreach DIR,$(GALLIUM_DRIVER_DIRS),$(TOP)/src/gallium/drivers/$(DIR)/lib$(DIR).a) | |||
# Which subdirs under $(TOP)/progs/ to enter: | |||
PROGRAM_DIRS = @PROGRAM_DIRS@ | |||
# Driver specific build vars | |||
DRI_DIRS = @DRI_DIRS@ | |||
#DRI_DIRS = @DRI_DIRS@ | |||
WINDOW_SYSTEM = @WINDOW_SYSTEM@ | |||
USING_EGL = @USING_EGL@ | |||
@@ -26,8 +26,8 @@ ifeq ($(CPU), x86) | |||
-DUSE_3DNOW_ASM \ | |||
-DUSE_SSE_ASM | |||
ASM_SOURCES = $(X86_SOURCES) | |||
ASM_API = $(X86_API) | |||
MESA_ASM_SOURCES = $(X86_SOURCES) | |||
GLAPI_ASM_SOURCES = $(X86_API) | |||
CC = gcc | |||
CXX = g++ | |||
@@ -90,7 +90,7 @@ else | |||
endif | |||
# Directories | |||
SRC_DIRS = mesa glu glut/beos | |||
SRC_DIRS = gallium mesa glu glut/beos glew | |||
GLU_DIRS = sgi | |||
DRIVER_DIRS = beos | |||
PROGRAM_DIRS = beos samples redbook demos tests |
@@ -47,7 +47,7 @@ GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -L$(INSTALL_DIR)/$(LIB_DIR) -lX11 | |||
APP_LIB_DEPS = -L$(TOP)/lib -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -L$(INSTALL_DIR)/$(LIB_DIR) -lX11 -lXmu -lXt -lXi -lm | |||
# omit glw lib for now: | |||
SRC_DIRS = glx/x11 mesa glu glut/glx | |||
SRC_DIRS = glx/x11 mesa glu glut/glx glew | |||
GLU_DIRS = sgi | |||
DRIVER_DIRS = osmesa | |||
#DRIVER_DIRS = dri |
@@ -0,0 +1,33 @@ | |||
# Configuration for Darwin / MacOS X, making dynamic libs | |||
include $(TOP)/configs/default | |||
CONFIG_NAME = darwin | |||
# Compiler and flags | |||
CC = cc | |||
CXX = cc | |||
CFLAGS = -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk \ | |||
-I/usr/X11R6/include -O3 -fPIC -fno-common -ffast-math -funroll-loops -fexpensive-optimizations -no-cpp-precomp -dynamic -Ddarwin | |||
CXXFLAGS = -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk \ | |||
-I/usr/X11R6/include -O3 -fPIC -fno-common -ffast-math -funroll-loops -fexpensive-optimizations -no-cpp-precomp -dynamic -Ddarwin | |||
MKLIB_OPTIONS = -archopt "-isysroot /Developer/SDKs/MacOSX10.4u.sdk" | |||
# Library names (actual file names) | |||
GL_LIB_NAME = libGL.dylib | |||
GLU_LIB_NAME = libGLU.dylib | |||
GLUT_LIB_NAME = libglut.dylib | |||
GLW_LIB_NAME = libGLw.dylib | |||
OSMESA_LIB_NAME = libOSMesa.dylib | |||
GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread | |||
OSMESA_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -lGL | |||
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -lGL | |||
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -lGL -lGLU -L/usr/X11R6/lib -lX11 -lXmu -lXi -lXext | |||
GLW_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXt $(TOP)/lib/GL.dylib | |||
APP_LIB_DEPS = -L$(TOP)/lib -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm | |||
# omit glw lib for now: | |||
SRC_DIRS = gallium mesa glu glut/glx glew | |||
@@ -19,11 +19,16 @@ DRM_SOURCE_PATH=$(TOP)/../drm | |||
# Compiler and flags | |||
CC = cc | |||
CXX = CC | |||
HOST_CC = $(CC) | |||
CFLAGS = -O | |||
CXXFLAGS = -O | |||
LDFLAGS = | |||
GLU_CFLAGS = | |||
# Compiler for building demos/tests/etc | |||
APP_CC = $(CC) | |||
APP_CXX = $(CXX) | |||
# Misc tools and flags | |||
SHELL = /bin/sh | |||
MKLIB = $(SHELL) $(TOP)/bin/mklib | |||
@@ -43,6 +48,7 @@ INDENT_FLAGS = -i4 -nut -br -brs -npcs -ce -T GLubyte -T GLbyte -T Bool | |||
GL_LIB = GL | |||
GLU_LIB = GLU | |||
GLUT_LIB = glut | |||
GLEW_LIB = GLEW | |||
GLW_LIB = GLw | |||
OSMESA_LIB = OSMesa | |||
@@ -51,6 +57,7 @@ OSMESA_LIB = OSMesa | |||
GL_LIB_NAME = lib$(GL_LIB).so | |||
GLU_LIB_NAME = lib$(GLU_LIB).so | |||
GLUT_LIB_NAME = lib$(GLUT_LIB).so | |||
GLEW_LIB_NAME = lib$(GLEW_LIB).a | |||
GLW_LIB_NAME = lib$(GLW_LIB).so | |||
OSMESA_LIB_NAME = lib$(OSMESA_LIB).so | |||
@@ -62,7 +69,7 @@ GLW_LIB_GLOB = $(GLW_LIB_NAME)* | |||
OSMESA_LIB_GLOB = $(OSMESA_LIB_NAME)* | |||
# Optional assembly language optimization files for libGL | |||
ASM_SOURCES = | |||
MESA_ASM_SOURCES = | |||
# GLw widget sources (Append "GLwMDrawA.c" here and add -lXm to GLW_LIB_DEPS in | |||
# order to build the Motif widget too) | |||
@@ -72,20 +79,34 @@ MOTIF_CFLAGS = -I/usr/include/Motif1.2 | |||
# Directories to build | |||
LIB_DIR = lib | |||
SRC_DIRS = mesa glu glut/glx glw | |||
SRC_DIRS = mesa gallium egl gallium/winsys glu glut/glx glew glw | |||
GLU_DIRS = sgi | |||
DRIVER_DIRS = x11 osmesa | |||
# Which subdirs under $(TOP)/progs/ to enter: | |||
PROGRAM_DIRS = demos redbook samples glsl xdemos | |||
# EGL directories | |||
EGL_DRIVERS_DIRS = demo | |||
# Gallium directories and | |||
GALLIUM_DIRS = auxiliary drivers state_trackers | |||
GALLIUM_AUXILIARY_DIRS = draw translate cso_cache pipebuffer tgsi sct rtasm util indices | |||
GALLIUM_AUXILIARIES = $(foreach DIR,$(GALLIUM_AUXILIARY_DIRS),$(TOP)/src/gallium/auxiliary/$(DIR)/lib$(DIR).a) | |||
GALLIUM_DRIVER_DIRS = softpipe i915simple i965simple nv04 nv10 nv20 nv30 nv40 nv50 failover trace | |||
GALLIUM_DRIVERS = $(foreach DIR,$(GALLIUM_DRIVER_DIRS),$(TOP)/src/gallium/drivers/$(DIR)/lib$(DIR).a) | |||
GALLIUM_WINSYS_DIRS = xlib egl_xlib | |||
GALLIUM_WINSYS_DRM_DIRS = | |||
GALLIUM_STATE_TRACKERS_DIRS = glx | |||
# Library dependencies | |||
#EXTRA_LIB_PATH ?= | |||
GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lm -lpthread | |||
OSMESA_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) | |||
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm | |||
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) $(EXTRA_LIB_PATH) -lX11 -lXmu -lXi -lm | |||
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) $(EXTRA_LIB_PATH) -lXt -lX11 | |||
GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lm -lpthread | |||
OSMESA_LIB_DEPS = $(EXTRA_LIB_PATH) -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) | |||
GLU_LIB_DEPS = $(EXTRA_LIB_PATH) -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm | |||
GLUT_LIB_DEPS = $(EXTRA_LIB_PATH) -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lXmu -lXi -lm | |||
GLW_LIB_DEPS = $(EXTRA_LIB_PATH) -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lXt -lX11 | |||
APP_LIB_DEPS = $(EXTRA_LIB_PATH) -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm | |||
# Program dependencies - specific GL/glut libraries added in Makefiles | |||
APP_LIB_DEPS = -lm |
@@ -27,6 +27,7 @@ CFLAGS += -fno-strict-aliasing | |||
CXXFLAGS += -fno-strict-aliasing | |||
ASM_SOURCES = | |||
MESA_ASM_SOURCES = | |||
# Library/program dependencies | |||
LIBDRM_CFLAGS = `pkg-config --cflags libdrm` | |||
@@ -40,7 +41,7 @@ GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/local/lib -lGL -lXt -lX11 | |||
# Directories | |||
SRC_DIRS = glx/x11 mesa glu glut/glx glw | |||
SRC_DIRS = glx/x11 gallium mesa glu glut/glx glew glw | |||
DRIVER_DIRS = dri | |||
PROGRAM_DIRS = | |||
WINDOW_SYSTEM=dri |
@@ -6,5 +6,5 @@ include $(TOP)/configs/freebsd-dri | |||
CONFIG_NAME = freebsd-dri-x86-64 | |||
ASM_FLAGS = -DUSE_X86_64_ASM | |||
ASM_SOURCES = $(X86-64_SOURCES) | |||
ASM_API = $(X86-64_API) | |||
MESA_ASM_SOURCES = $(X86-64_SOURCES) | |||
GLAPI_ASM_SOURCES = $(X86-64_API) |
@@ -9,5 +9,5 @@ CONFIG_NAME = freebsd-dri-x86 | |||
PIC_FLAGS = | |||
ASM_FLAGS = -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM | |||
ASM_SOURCES = $(X86_SOURCES) | |||
ASM_API = $(X86_API) | |||
MESA_ASM_SOURCES = $(X86_SOURCES) | |||
GLAPI_ASM_SOURCES = $(X86_API) |
@@ -0,0 +1,64 @@ | |||
# linux-cell (non-debug build) | |||
include $(TOP)/configs/default | |||
CONFIG_NAME = linux-cell | |||
# Omiting other gallium drivers: | |||
GALLIUM_DRIVER_DIRS = cell softpipe trace | |||
# Compiler and flags | |||
CC = ppu32-gcc | |||
CXX = ppu32-g++ | |||
HOST_CC = gcc | |||
APP_CC = gcc | |||
APP_CXX = g++ | |||
OPT_FLAGS = -O3 | |||
# Cell SDK location | |||
## For SDK 2.1: (plus, remove -DSPU_MAIN_PARAM_LONG_LONG below) | |||
#SDK = /opt/ibm/cell-sdk/prototype/sysroot/usr | |||
## For SDK 3.0: | |||
SDK = /opt/cell/sdk/usr | |||
CFLAGS = $(OPT_FLAGS) -Wall -Winline -Wmissing-prototypes \ | |||
-fPIC -m32 -std=c99 -mabi=altivec -maltivec \ | |||
-I. -I$(SDK)/include \ | |||
-DGALLIUM_CELL -DUSE_XSHM -D_BSD_SOURCE | |||
CXXFLAGS = $(CFLAGS) | |||
# Omitting glw here: | |||
SRC_DIRS = gallium mesa gallium/winsys glu glut/glx glew | |||
MKDEP_OPTIONS = -fdepend -Y | |||
GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lm -lpthread \ | |||
-L$(SDK)/lib -m32 -Wl,-m,elf32ppc -R$(SDK)/lib -lspe2 | |||
CELL_SPU_LIB = $(TOP)/src/gallium/drivers/cell/spu/g3d_spu.a | |||
### SPU stuff | |||
SPU_CC = spu-gcc | |||
SPU_CFLAGS = $(OPT_FLAGS) -W -Wall -Winline -Wmissing-prototypes -Wno-main \ | |||
-I. -I$(SDK)/spu/include -I$(TOP)/src/mesa/ $(INCLUDE_DIRS) \ | |||
-DSPU_MAIN_PARAM_LONG_LONG \ | |||
-include spu_intrinsics.h | |||
SPU_LFLAGS = -L$(SDK)/spu/lib -Wl,-N -lmisc -lm | |||
SPU_AR = ppu-ar | |||
SPU_AR_FLAGS = -qcs | |||
SPU_EMBED = ppu32-embedspu | |||
SPU_EMBED_FLAGS = -m32 |
@@ -0,0 +1,10 @@ | |||
# linux-cell-debug | |||
include $(TOP)/configs/linux-cell | |||
# just override name and OPT_FLAGS here: | |||
CONFIG_NAME = linux-cell-debug | |||
OPT_FLAGS = -g -DDEBUG | |||
@@ -21,12 +21,12 @@ HAVE_X86 = $(shell uname -m | grep 'i[3-6]86' >/dev/null && echo yes) | |||
ifeq ($(HAVE_X86), yes) | |||
CFLAGS += -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM | |||
CXXFLAGS += -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM | |||
ASM_SOURCES = $(X86_SOURCES) | |||
ASM_API = $(X86_API) | |||
MESA_ASM_SOURCES = $(X86_SOURCES) | |||
GLAPI_ASM_SOURCES = $(X86_API) | |||
endif | |||
# Directories | |||
SRC_DIRS = mesa glu glut/directfb | |||
SRC_DIRS = gallium mesa glu glut/directfb glew | |||
GLU_DIRS = sgi | |||
DRIVER_DIRS = directfb | |||
PROGRAM_DIRS = demos directfb |
@@ -13,7 +13,7 @@ CXX = g++ | |||
#MKDEP = gcc -M | |||
#MKDEP_OPTIONS = -MF depend | |||
OPT_FLAGS = -O -g | |||
OPT_FLAGS = -O2 -g | |||
PIC_FLAGS = -fPIC | |||
# Add '-DGLX_USE_TLS' to ARCH_FLAGS to enable TLS support. | |||
@@ -38,37 +38,30 @@ GLUT_CFLAGS = -fexceptions | |||
CFLAGS += -fno-strict-aliasing | |||
CXXFLAGS += -fno-strict-aliasing | |||
ASM_SOURCES = | |||
MESA_ASM_SOURCES = | |||
# Library/program dependencies | |||
EXTRA_LIB_PATH=-L/usr/X11R6/lib | |||
LIBDRM_CFLAGS = `pkg-config --cflags libdrm` | |||
LIBDRM_LIB = `pkg-config --libs libdrm` | |||
LIBDRM_CFLAGS = $(shell pkg-config --cflags libdrm) | |||
LIBDRM_LIB = $(shell pkg-config --libs libdrm) | |||
DRI_LIB_DEPS = $(EXTRA_LIB_PATH) -lm -lpthread -lexpat -ldl $(LIBDRM_LIB) | |||
GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXxf86vm -lXdamage -lXfixes \ | |||
-lm -lpthread -ldl $(LIBDRM_LIB) | |||
# This is now 0 by default since it seems to confuse the hell out of people | |||
# and generate a lot of extra noise on bugzilla. If you need to build with | |||
# EGL, do 'make linux-dri USING_EGL=1' | |||
USING_EGL=0 | |||
# Directories | |||
ifeq ($(USING_EGL), 1) | |||
SRC_DIRS = egl glx/x11 mesa glu glut/glx glw | |||
PROGRAM_DIRS = egl xdemos | |||
else | |||
SRC_DIRS = glx/x11 mesa glu glut/glx glw | |||
PROGRAM_DIRS = xdemos | |||
endif | |||
SRC_DIRS := glx/x11 egl $(SRC_DIRS) | |||
PROGRAM_DIRS := egl $(PROGRAM_DIRS) | |||
# EGL directories | |||
EGL_DRIVERS_DIRS = demo glx | |||
DRIVER_DIRS = dri | |||
WINDOW_SYSTEM=dri | |||
WINDOW_SYSTEM = dri | |||
GALLIUM_WINSYS_DIRS = drm | |||
GALLIUM_WINSYS_DRM_DIRS = intel nouveau | |||
GALLIUM_STATE_TRACKERS_DIRS = egl | |||
# gamma are missing because they have not been converted to use the new | |||
# interface. | |||
DRI_DIRS = i810 i915 i965 mach64 mga r128 r200 r300 radeon s3v \ | |||
savage sis tdfx trident unichrome ffb |
@@ -9,7 +9,7 @@ OPT_FLAGS = -Os -mcpu=603 | |||
PIC_FLAGS = -fPIC | |||
ASM_FLAGS = -DUSE_PPC_ASM -DUSE_VMX_ASM | |||
ASM_SOURCES = $(PPC_SOURCES) | |||
MESA_ASM_SOURCES = $(PPC_SOURCES) | |||
# Build only the drivers for cards that exist on PowerPC. At some point MGA | |||
# will be added, but not yet. |
@@ -5,10 +5,9 @@ include $(TOP)/configs/linux-dri | |||
CONFIG_NAME = linux-dri-x86 | |||
# Add -m32 to CFLAGS: | |||
ARCH_FLAGS = -m32 | |||
ARCH_FLAGS = -m32 -mmmx -msse -msse2 | |||
ASM_FLAGS = -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM | |||
ASM_SOURCES = $(X86_SOURCES) | |||
ASM_API = $(X86_API) | |||
MESA_ASM_SOURCES = $(X86_SOURCES) | |||
GLAPI_ASM_SOURCES = $(X86_API) | |||
@@ -8,8 +8,8 @@ CONFIG_NAME = linux-dri-x86-64 | |||
ARCH_FLAGS = -m64 | |||
ASM_FLAGS = -DUSE_X86_64_ASM | |||
ASM_SOURCES = $(X86-64_SOURCES) | |||
ASM_API = $(X86-64_API) | |||
MESA_ASM_SOURCES = $(X86-64_SOURCES) | |||
GLAPI_ASM_SOURCES = $(X86-64_API) | |||
LIB_DIR = lib64 | |||
@@ -25,7 +25,7 @@ DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE \ | |||
-DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING \ | |||
-DHAVE_ALIAS -DUSE_XCB -DHAVE_POSIX_MEMALIGN | |||
X11_INCLUDES = `pkg-config --cflags-only-I x11` `pkg-config --cflags-only-I xcb` `pkg-config --cflags-only-I x11-xcb` `pkg-config --cflags-only-I xcb-glx` | |||
X11_INCLUDES = $(shell pkg-config --cflags-only-I x11) $(shell pkg-config --cflags-only-I xcb) $(shell pkg-config --cflags-only-I x11-xcb) $(shell pkg-config --cflags-only-I xcb-glx) | |||
CFLAGS = -Wall -Wmissing-prototypes $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) \ | |||
$(DEFINES) $(ASM_FLAGS) -std=c99 -ffast-math | |||
@@ -36,17 +36,16 @@ CXXFLAGS = -Wall $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) | |||
CFLAGS += -fno-strict-aliasing | |||
CXXFLAGS += -fno-strict-aliasing | |||
ASM_SOURCES = | |||
MESA_ASM_SOURCES = | |||
# Library/program dependencies | |||
EXTRA_LIB_PATH=`pkg-config --libs-only-L x11` | |||
EXTRA_LIB_PATH=$(shell pkg-config --libs-only-L x11) | |||
LIBDRM_CFLAGS = `pkg-config --cflags libdrm` | |||
LIBDRM_LIB = `pkg-config --libs libdrm` | |||
LIBDRM_CFLAGS = $(shell pkg-config --cflags libdrm) | |||
LIBDRM_LIB = $(shell pkg-config --libs libdrm) | |||
DRI_LIB_DEPS = $(EXTRA_LIB_PATH) -lm -lpthread -lexpat -ldl $(LIBDRM_LIB) | |||
GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXxf86vm -lXdamage -lXfixes \ | |||
-lm -lpthread -ldl $(LIBDRM_LIB) `pkg-config --libs xcb` \ | |||
`pkg-config --libs x11-xcb` `pkg-config --libs xcb-glx` | |||
GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXxf86vm -lm -lpthread -ldl \ | |||
$(LIBDRM_LIB) $(shell pkg-config --libs xcb) $(shell pkg-config --libs x11-xcb) $(shell pkg-config --libs xcb-glx) | |||
# This is now 0 by default since it seems to confuse the hell out of people | |||
@@ -57,10 +56,10 @@ USING_EGL=0 | |||
# Directories | |||
ifeq ($(USING_EGL), 1) | |||
SRC_DIRS = egl glx/x11 mesa glu glut/glx glw | |||
PROGRAM_DIRS = egl xdemos | |||
SRC_DIRS = egl glx/x11 gallium mesa glu glut/glx glew glw | |||
PROGRAM_DIRS = egl | |||
else | |||
SRC_DIRS = glx/x11 mesa glu glut/glx glw | |||
SRC_DIRS = glx/x11 gallium mesa glu glut/glx glew glw | |||
PROGRAM_DIRS = xdemos | |||
endif | |||
@@ -0,0 +1,65 @@ | |||
# -*-makefile-*- | |||
# Configuration for linux-dri: Linux DRI hardware drivers for XFree86 & others | |||
include $(TOP)/configs/default | |||
CONFIG_NAME = linux-dri | |||
# Compiler and flags | |||
CC = gcc | |||
CXX = g++ | |||
#MKDEP = /usr/X11R6/bin/makedepend | |||
#MKDEP = gcc -M | |||
#MKDEP_OPTIONS = -MF depend | |||
OPT_FLAGS = -O -g | |||
PIC_FLAGS = -fPIC | |||
# Add '-DGLX_USE_TLS' to ARCH_FLAGS to enable TLS support. | |||
ARCH_FLAGS ?= | |||
DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE \ | |||
-D_BSD_SOURCE -D_GNU_SOURCE \ | |||
-DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER \ | |||
-DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING \ | |||
-DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN | |||
X11_INCLUDES = -I/usr/X11R6/include | |||
CFLAGS = -Wall -Wmissing-prototypes -std=c99 -ffast-math \ | |||
$(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) $(ASM_FLAGS) | |||
CXXFLAGS = -Wall $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) | |||
MESA_ASM_SOURCES = | |||
# Library/program dependencies | |||
EXTRA_LIB_PATH=-L/usr/X11R6/lib | |||
LIBDRM_CFLAGS = $(shell pkg-config --cflags libdrm) | |||
LIBDRM_LIB = $(shell pkg-config --libs libdrm) | |||
DRI_LIB_DEPS = $(EXTRA_LIB_PATH) -lm -lpthread -lexpat -ldl $(LIBDRM_LIB) | |||
GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXxf86vm -lXdamage -lXfixes \ | |||
-lm -lpthread -ldl \ | |||
$(LIBDRM_LIB) | |||
# This is now 0 by default since it seems to confuse the hell out of people | |||
# and generate a lot of extra noise on bugzilla. If you need to build with | |||
# EGL, do 'make linux-dri USING_EGL=1' | |||
USING_EGL=0 | |||
# Directories | |||
SRC_DIRS = gallium mesa gallium/winsys glu egl | |||
PROGRAM_DIRS = egl | |||
DRIVER_DIRS = dri | |||
WINDOW_SYSTEM = dri | |||
GALLIUM_WINSYS_DIRS = egl_drm | |||
# gamma are missing because they have not been converted to use the new | |||
# interface. | |||
DRI_DIRS = intel |
@@ -9,7 +9,7 @@ CFLAGS = -O3 -ffast-math -ansi -pedantic -fPIC -D_POSIX_C_SOURCE=199309L -D_SVID | |||
# Work around aliasing bugs - developers should comment this out | |||
CFLAGS += -fno-strict-aliasing | |||
SRC_DIRS = mesa glu glut/fbdev | |||
SRC_DIRS = gallium mesa glu glut/fbdev glew | |||
DRIVER_DIRS = fbdev osmesa | |||
PROGRAM_DIRS = fbdev demos redbook samples | |||
@@ -16,7 +16,7 @@ GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread | |||
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm | |||
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm | |||
ASM_SOURCES = $(X86_SOURCES) | |||
ASM_API = $(X86_API) | |||
MESA_ASM_SOURCES = $(X86_SOURCES) | |||
GLAPI_ASM_SOURCES = $(X86_API) | |||
@@ -23,5 +23,5 @@ GL_LIB_DEPS = | |||
GLUT_LIB_DEPS = | |||
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm -lpthread -lcxa -lunwind | |||
ASM_SOURCES = $(X86_SOURCES) | |||
ASM_API = $(X86_API) | |||
MESA_ASM_SOURCES = $(X86_SOURCES) | |||
GLAPI_ASM_SOURCES = $(X86_API) |
@@ -37,7 +37,7 @@ CXXFLAGS = $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) | |||
CFLAGS += -fno-strict-aliasing | |||
CXXFLAGS += -fno-strict-aliasing | |||
ASM_SOURCES = | |||
MESA_ASM_SOURCES = | |||
# Library/program dependencies | |||
EXTRA_LIB_PATH=-L/usr/X11R6/lib | |||
@@ -47,7 +47,7 @@ GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXxf86vm -lm -lpthread -ldl | |||
# Directories | |||
SRC_DIRS = glx/x11 glu glut/glx glw | |||
SRC_DIRS = glx/x11 glu glut/glx glew glw | |||
DRIVER_DIRS = | |||
PROGRAM_DIRS = | |||
WINDOW_SYSTEM=dri |
@@ -0,0 +1,35 @@ | |||
# -*-makefile-*- | |||
# Configuration for Linux and LLVM with debugging info | |||
include $(TOP)/configs/linux | |||
CONFIG_NAME = linux-llvm | |||
GALLIUM_AUXILIARY_DIRS += gallivm | |||
OPT_FLAGS = -g -ansi -pedantic | |||
DEFINES += -DDEBUG -DDEBUG_MATH -DMESA_LLVM=1 | |||
LLVM_VERSION := $(shell llvm-config --version) | |||
ifeq ($(LLVM_VERSION),) | |||
$(warning Could not find LLVM! Make Sure 'llvm-config' is in the path) | |||
MESA_LLVM=0 | |||
else | |||
MESA_LLVM=1 | |||
$(info Using LLVM version: $(LLVM_VERSION)) | |||
endif | |||
ifeq ($(MESA_LLVM),1) | |||
# LLVM_CFLAGS=`llvm-config --cflags` | |||
LLVM_CXXFLAGS=`llvm-config --cxxflags backend bitreader engine ipo` -Wno-long-long | |||
LLVM_LDFLAGS=`llvm-config --ldflags backend bitreader engine ipo` | |||
LLVM_LIBS=`llvm-config --libs backend bitreader engine ipo` | |||
MKLIB_OPTIONS=-cplusplus | |||
else | |||
LLVM_CFLAGS= | |||
LLVM_CXXFLAGS= | |||
endif | |||
LD = g++ | |||
GL_LIB_DEPS = $(LLVM_LDFLAGS) $(LLVM_LIBS) $(EXTRA_LIB_PATH) -lX11 -lXext -lm -lpthread -lstdc++ |
@@ -17,7 +17,7 @@ CFLAGS += -fno-strict-aliasing | |||
CXXFLAGS += -fno-strict-aliasing | |||
# Directories | |||
SRC_DIRS = mesa glu | |||
SRC_DIRS = gallium mesa glu | |||
DRIVER_DIRS = osmesa | |||
PROGRAM_DIRS = osdemos | |||
@@ -20,7 +20,7 @@ OSMESA_LIB_NAME = libOSMesa16.so | |||
# Directories | |||
SRC_DIRS = mesa glu | |||
SRC_DIRS = gallium mesa glu | |||
DRIVER_DIRS = osmesa | |||
PROGRAM_DIRS = | |||
@@ -22,7 +22,7 @@ OSMESA_LIB_NAME = libOSMesa16.a | |||
# Directories | |||
SRC_DIRS = mesa glu | |||
SRC_DIRS = gallium mesa glu | |||
DRIVER_DIRS = osmesa | |||
PROGRAM_DIRS = | |||
@@ -20,7 +20,7 @@ OSMESA_LIB_NAME = libOSMesa32.so | |||
# Directories | |||
SRC_DIRS = mesa glu | |||
SRC_DIRS = gallium mesa glu | |||
DRIVER_DIRS = osmesa | |||
PROGRAM_DIRS = | |||
@@ -1,29 +1,8 @@ | |||
# Configuration for profiling on Linux with gprof | |||
include $(TOP)/configs/default | |||
include $(TOP)/configs/linux-static | |||
CONFIG_NAME = linux-profile | |||
# Compiler and flags | |||
CC = gcc | |||
CXX = g++ | |||
CFLAGS = -pg -O -ansi -pedantic -Wall -Wmissing-prototypes -Wundef -fPIC -ffast-math -D_POSIX_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -I/usr/X11R6/include -DUSE_XSHM -DPTHREADS -DDEBUG | |||
CXXFLAGS = -pg -O -ansi -pedantic -Wall -Wundef -fPIC -ffast-math -D_POSIX_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -DDEBUG | |||
GLUT_CFLAGS = -fexceptions | |||
# Need to have -L/usr/X11R6/lib in these: | |||
GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread | |||
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm | |||
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lXt -L/usr/X11R6/lib -lX11 | |||
# Need to make static libs for profiling: | |||
MKLIB_OPTIONS = -static | |||
GL_LIB_NAME = lib$(GL_LIB).a | |||
GLU_LIB_NAME = lib$(GLU_LIB).a | |||
GLUT_LIB_NAME = lib$(GLUT_LIB).a | |||
GLW_LIB_NAME = lib$(GLW_LIB).a | |||
OSMESA_LIB_NAME = lib$(OSMesa).a | |||
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm -lpthread | |||
OPT_FLAGS = -pg -g -O2 | |||
DEFINES += -DNDEBUG |
@@ -16,10 +16,10 @@ PIC_FLAGS = -fPIC | |||
ARCH_FLAGS ?= | |||
# DRM and pciaccess | |||
LIBDRM_CFLAGS = `pkg-config --cflags libdrm` | |||
LIBDRM_LIB = `pkg-config --libs libdrm` | |||
PCIACCESS_CFLAGS = `pkg-config --cflags pciaccess` | |||
PCIACCESS_LIB = `pkg-config --libs pciaccess` | |||
LIBDRM_CFLAGS = $(shell pkg-config --cflags libdrm) | |||
LIBDRM_LIB = $(shell pkg-config --libs libdrm) | |||
PCIACCESS_CFLAGS = $(shell pkg-config --cflags pciaccess) | |||
PCIACCESS_LIB = $(shell pkg-config --libs pciaccess) | |||
DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE \ | |||
@@ -36,7 +36,7 @@ CXXFLAGS = $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) | |||
CFLAGS += -fno-strict-aliasing | |||
CXXFLAGS += -fno-strict-aliasing | |||
ASM_SOURCES = | |||
MESA_ASM_SOURCES = | |||
# Library/program dependencies | |||
DRI_LIB_DEPS = -lm -lpthread -lexpat -ldl -L$(TOP)/$(LIB_DIR) $(PCIACCESS_LIB) | |||
@@ -46,7 +46,7 @@ GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -lm | |||
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm -lpthread | |||
# Directories | |||
SRC_DIRS = glx/mini mesa glu glut/mini | |||
SRC_DIRS = glx/mini gallium mesa glu glut/mini glew | |||
DRIVER_DIRS = dri | |||
PROGRAM_DIRS = miniglx | |||
@@ -6,5 +6,5 @@ include $(TOP)/configs/linux-solo | |||
CONFIG_NAME = linux-solo-x86 | |||
ASM_FLAGS = -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM | |||
ASM_SOURCES = $(X86_SOURCES) | |||
ASM_API = $(X86_API) | |||
MESA_ASM_SOURCES = $(X86_SOURCES) | |||
GLAPI_ASM_SOURCES = $(X86_API) |
@@ -5,5 +5,5 @@ include $(TOP)/configs/linux | |||
CONFIG_NAME = linux-sparc | |||
#ASM_FLAGS = -DUSE_SPARC_ASM | |||
#ASM_SOURCES = $(SPARC_SOURCES) | |||
#ASM_API = $(SPARC_API) | |||
#MESA_ASM_SOURCES = $(SPARC_SOURCES) | |||
#GLAPI_ASM_SOURCES = $(SPARC_API) |
@@ -22,5 +22,7 @@ GLUT_LIB_DEPS = | |||
GLW_LIB_DEPS = | |||
# Need to specify all libraries we may need | |||
APP_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXmu -lXt -lXi -lpthread \ | |||
-lstdc++ -lm | |||
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -Wl,--start-group \ | |||
-l$(GL_LIB) $(TOP)/src/mesa/pipe/softpipe/libsoftpipe.a -Wl,--end-group -lm \ | |||
-L/usr/X11R6/lib/ -lX11 -lXext -lXmu -lXi -lpthread | |||
@@ -4,6 +4,8 @@ include $(TOP)/configs/linux | |||
CONFIG_NAME = linux-x86 | |||
ARCH_FLAGS = -m32 -mmmx -msse -msse2 | |||
ASM_FLAGS = -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM | |||
ASM_SOURCES = $(X86_SOURCES) | |||
ASM_API = $(X86_API) | |||
MESA_ASM_SOURCES = $(X86_SOURCES) | |||
GLAPI_ASM_SOURCES = $(X86_API) |
@@ -6,8 +6,8 @@ CONFIG_NAME = linux-x86-64 | |||
ARCH_FLAGS = -m64 | |||
ASM_SOURCES = $(X86-64_SOURCES) | |||
ASM_API = $(X86-64_API) | |||
MESA_ASM_SOURCES = $(X86-64_SOURCES) | |||
GLAPI_ASM_SOURCES = $(X86-64_API) | |||
ASM_FLAGS = -DUSE_X86_64_ASM | |||
LIB_DIR = lib64 |
@@ -0,0 +1,8 @@ | |||
# Configuration for profiling on Linux for 64-bit X86 (Opteron) with gprof | |||
include $(TOP)/configs/linux-x86-64-static | |||
CONFIG_NAME = linux-x86-64-profile | |||
OPT_FLAGS = -pg -g -O2 | |||
DEFINES += -DNDEBUG |
@@ -20,5 +20,8 @@ OSMESA_LIB_DEPS = | |||
GLU_LIB_DEPS = | |||
GLUT_LIB_DEPS = | |||
GLW_LIB_DEPS = | |||
APP_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXmu -lXt -lXi -lpthread \ | |||
-lstdc++ -lm | |||
# Need to specify all libraries we may need | |||
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -Wl,--start-group \ | |||
-l$(GL_LIB) $(TOP)/src/mesa/pipe/softpipe/libsoftpipe.a -Wl,--end-group \ | |||
$(EXTRA_LIB_PATH) -lX11 -lXext -lXmu -lXt -lXi -lpthread -lstdc++ -lm |
@@ -18,8 +18,8 @@ GLUT_CFLAGS = -fexceptions | |||
CFLAGS += -fno-strict-aliasing | |||
CXXFLAGS += -fno-strict-aliasing | |||
ASM_SOURCES = $(X86_SOURCES) | |||
ASM_API = $(X86_API) | |||
MESA_ASM_SOURCES = $(X86_SOURCES) | |||
GLAPI_ASM_SOURCES = $(X86_API) | |||
# Library/program dependencies | |||
GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -L/usr/local/glide/lib -lglide3x -lm -lpthread |
@@ -0,0 +1,8 @@ | |||
# Configuration for profiling on Linux with x86 optimizations with gprof | |||
include $(TOP)/configs/linux-x86-static | |||
CONFIG_NAME = linux-x86-profile | |||
OPT_FLAGS = -pg -g -O2 | |||
DEFINES += -DNDEBUG |
@@ -20,5 +20,8 @@ OSMESA_LIB_DEPS = | |||
GLU_LIB_DEPS = | |||
GLUT_LIB_DEPS = | |||
GLW_LIB_DEPS = | |||
APP_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXmu -lXt -lXi -lpthread \ | |||
-lstdc++ -lm | |||
# Need to specify all libraries we may need | |||
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -Wl,--start-group \ | |||
-l$(GL_LIB) $(TOP)/src/mesa/pipe/softpipe/libsoftpipe.a -Wl,--end-group \ | |||
$(EXTRA_LIB_PATH) -lX11 -lXext -lXmu -lXt -lXi -lpthread -lstdc++ -lm |
@@ -16,8 +16,8 @@ ARCH_FLAGS ?= | |||
DEFINES = -D_REENTRANT -DUSE_XSHM | |||
ASM_SOURCES = $(SPARC_SOURCES) | |||
ASM_API = $(SPARC_API) | |||
MESA_ASM_SOURCES = $(SPARC_SOURCES) | |||
GLAPI_ASM_SOURCES = $(SPARC_API) | |||
ASM_FLAGS = -DUSE_SPARC_ASM | |||
CFLAGS = $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) \ |
@@ -314,7 +314,7 @@ if test "x$enable_asm" = xyes; then | |||
case "$asm_arch" in | |||
x86) | |||
ASM_FLAGS="-DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM" | |||
dnl ASM_FLAGS="-DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM" | |||
ASM_SOURCES='$(X86_SOURCES)' | |||
ASM_API='$(X86_API)' | |||
AC_MSG_RESULT([yes, x86]) | |||
@@ -412,17 +412,22 @@ esac | |||
dnl | |||
dnl Driver specific build directories | |||
dnl | |||
SRC_DIRS="mesa" | |||
SRC_DIRS="mesa gallium egl gallium/winsys" | |||
GLU_DIRS="sgi" | |||
WINDOW_SYSTEM="" | |||
GALLIUM_WINSYS_DIRS="" | |||
GALLIUM_AUXILIARY_DIRS="draw translate cso_cache pipebuffer tgsi sct rtasm util" | |||
GALLIUM_DRIVER_DIRS="softpipe failover" | |||
case "$mesa_driver" in | |||
xlib) | |||
DRIVER_DIRS="x11" | |||
;; | |||
dri) | |||
SRC_DIRS="glx/x11 $SRC_DIRS" | |||
DRIVER_DIRS="dri" | |||
DRIVER_DIRS="" | |||
WINDOW_SYSTEM="dri" | |||
GALLIUM_WINSYS_DIRS="drm $GALLIUM_WINSYS_DIRS" | |||
GALLIUM_DRIVER_DIRS="$GALLIUM_DRIVER_DIRS i915simple i965simple nv04 nv10 nv20 nv30 nv40 nv50" | |||
;; | |||
osmesa) | |||
DRIVER_DIRS="osmesa" | |||
@@ -432,6 +437,9 @@ AC_SUBST([SRC_DIRS]) | |||
AC_SUBST([GLU_DIRS]) | |||
AC_SUBST([DRIVER_DIRS]) | |||
AC_SUBST([WINDOW_SYSTEM]) | |||
AC_SUBST([GALLIUM_WINSYS_DIRS]) | |||
AC_SUBST([GALLIUM_DRIVER_DIRS]) | |||
AC_SUBST([GALLIUM_AUXILIARY_DIRS]) | |||
dnl | |||
dnl User supplied program configuration | |||
@@ -679,10 +687,10 @@ if test "$mesa_driver" = dri; then | |||
case "$host_os" in | |||
linux*) | |||
DEFINES="$DEFINES -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER" | |||
DEFINES="$DEFINES -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS" | |||
if test "x$driglx_direct" = xyes; then | |||
DEFINES="$DEFINES -DGLX_DIRECT_RENDERING" | |||
fi | |||
DEFINES="$DEFINES -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS" | |||
case "$host_cpu" in | |||
x86_64) |
@@ -1,22 +0,0 @@ | |||
# Makefile for Mesa for VMS | |||
# contributed by Jouk Jansen joukj@hrem.stm.tudelft.nl | |||
macro : | |||
@ macro="" | |||
.ifdef NOSHARE | |||
.else | |||
@ if f$getsyi("HW_MODEL") .ge. 1024 then macro= "/MACRO=(SHARE=1)" | |||
.endif | |||
$(MMS)$(MMSQUALIFIERS)'macro' all | |||
all : | |||
if f$search("lib.dir") .eqs. "" then create/directory [.lib] | |||
set default [.src] | |||
$(MMS)$(MMSQUALIFIERS) | |||
set default [-.progs.util] | |||
$(MMS)$(MMSQUALIFIERS) | |||
set default [-.demos] | |||
$(MMS)$(MMSQUALIFIERS) | |||
set default [-.xdemos] | |||
$(MMS)$(MMSQUALIFIERS) | |||
if f$search("[-]tests.DIR") .nes. "" then pipe set default [-.tests] ; $(MMS)$(MMSQUALIFIERS) |
@@ -22,7 +22,7 @@ Some drivers don't support all the features required in OpenGL 2.1. | |||
</p> | |||
<p> | |||
See the <a href="install.html">Compiling/Installing page</a> for prerequisites | |||
for DRI ardware acceleration. | |||
for DRI hardware acceleration. | |||
</p> | |||
@@ -37,6 +37,7 @@ tbd | |||
<h2>Bug fixes</h2> | |||
<ul> | |||
<li>Assorted i965 driver bug fixes | |||
</ul> | |||
<h2>Changes</h2> |
@@ -1,15 +1,21 @@ | |||
*.tag | |||
*.tmp | |||
agpgart | |||
array_cache | |||
core | |||
core_subset | |||
gallium | |||
glapi | |||
main | |||
math | |||
math_subset | |||
miniglx | |||
radeon_subset | |||
radeondrm | |||
radeonfb | |||
radeon_subset | |||
shader | |||
swrast | |||
swrast_setup | |||
tnl | |||
tnl_dd | |||
vbo |
@@ -0,0 +1,323 @@ | |||
/** \mainpage | |||
\section about About | |||
Gallium3D is <a href="http://www.tungstengraphics.com/">Tungsten Graphics</a>' | |||
new architecture for building 3D graphics drivers. Initially | |||
supporting Mesa and Linux graphics drivers, Gallium3D is designed to allow | |||
portability to all major operating systems and graphics interfaces. | |||
Compared to existing Linux graphics drivers, Gallium3D will: | |||
- Make drivers smaller and simpler. | |||
Current DRI drivers are rather complicated. They're large, contain | |||
duplicated code and are burdened with implementing many concepts tightly | |||
tied to the OpenGL 1.x/2.x API. | |||
- Model modern graphics hardware. | |||
The new driver architecture is an abstraction of modern graphics hardware, | |||
rather than an OpenGL->hardware translator. The new driver interface will | |||
assume the presence of programmable vertex/fragment shaders and flexible | |||
memory objects. | |||
- Support multiple graphics APIs. | |||
The OpenGL 3.0 API will be very different from OpenGL 1.x/2.x. We'd like a | |||
driver model that is API-neutral so that it's not tied to a specific | |||
graphics API. | |||
\section contents Contents | |||
- \ref overview | |||
- \ref statetracker | |||
- Pipe drivers: | |||
- \ref softpipe | |||
- \ref i915simple | |||
- Simple 965 driver (brw_context.h, brw_winsys.h) | |||
- Cell driver (cell_context.h, cell_winsys.h) | |||
- \ref failover | |||
- Winsys drivers: | |||
- X11 winsys driver (xm_winsys.c) | |||
- Intel DRI winsys driver (intel_context.h, intel_winsys_pipe.c) | |||
- Ancillary Modules: | |||
- \ref draw | |||
- \ref tgsi | |||
- LLVM TGSI backend (gallivm.h) | |||
- \ref callgraph | |||
\section external External documentation | |||
- <a href="http://www.tungstengraphics.com/gallium3D.htm">Gallium3D's Architectural Overview</a> | |||
- <a href="http://www.tungstengraphics.com/wiki/index.php/Gallium3D">Technical Overview</a> | |||
- <a href="http://www.tungstengraphics.com/wiki/files/gallium3d-xds2007.pdf">Gallium3D talk from XDS 2007</a> | |||
*/ | |||
/** \page overview Overview | |||
The public interface of a Gallium3D driver is described by the p_context.h | |||
header file. The pipe_context structure is an abstract base class with | |||
methods for: | |||
- Setting rendering state (texture sampler state, vertex array info, drawing surfaces, etc.) | |||
- Setting shader state, using the TGSI binary shader representation. | |||
- Vertex array and indexed vertex array drawing. | |||
- Region (memory) management for textures, renderbuffers, vertex buffers, etc. | |||
- Hardware queries (number of texture units, max texture size, etc). | |||
The p_state.h header defines all the state objects (such as polygon | |||
rasterization options, blend modes, etc) and resources (drawing surfaces, | |||
textures, memory buffers). The pipe interface uses "constant state" objects. | |||
That is, state objects are created once and are immutable. State objects are | |||
put into effect by binding them. This allows Gallium3D drivers to create | |||
corresponding hardware state objects which can be quickly handled. | |||
The p_defines.h header defines numerous constants and tokens (blend modes, | |||
texture wrap modes, surface formats, etc. | |||
The p_winsys.h header defines the window system and OS facilities which | |||
Gallium3D drivers rely upon. For example, memory allocation is typically a | |||
service the OS provides while window size/position information is provided by | |||
the window system. Pipe drivers use the winsys interface to handle these | |||
things. | |||
By abstracting OS and window system services, pipe drivers are portable to | |||
other platforms (e.g. embedded devices). | |||
*/ | |||
/** \page statetracker The State Tracker | |||
The state tracker is the piece which interfaces core Mesa to the Gallium3D | |||
interface. It's responsible for translating Mesa state (blend modes, texture | |||
state, etc) and drawing commands (like glDrawArrays and glDrawPixels) into | |||
pipe objects and operations. | |||
Traditional fixed-function OpenGL components (such as lighting and texture | |||
combining) are implemented with shaders. OpenGL commands such as glDrawPixels | |||
are translated into textured quadrilateral rendering. Basically, any | |||
rendering operation that isn't directly supported by modern graphics hardware | |||
is translated into a hardware-friendly form. | |||
Future state trackers will be created for OpenGL 3.0 and OpenGL-ES 2.x. | |||
*/ | |||
/** \page softpipe Softpipe Driver | |||
The softpipe driver is a software implementation of the Gallium3D interface. | |||
It will be used as a reference implementation and as a fallback driver when a | |||
hardware driver isn't available. The softpipe driver will make extensive use | |||
of run-time code generation to efficiently execute vertex, fragment and | |||
rasterization operations. | |||
\sa sp_winsys.h | |||
*/ | |||
/** \page i915simple Simple i915 Driver | |||
The i915 Gallium3D Driver is an initial hardware driver implementation within | |||
the Gallium3D driver architecture. We expect that once complete this driver | |||
will have equivalent functionality and performance to the current Mesa | |||
i915tex driver, but from a much smaller codebase. | |||
\sa i915_context.h | |||
\sa i915_winsys.h | |||
*/ | |||
/** \page failover Failover Module | |||
The failover module acts as a selector between a hardware driver and the | |||
softpipe driver. When the hardware can't implement a particular rendering | |||
operation, the failover module will pass the request to the softpipe driver. | |||
This is a different solution to the "software fallbacks" scheme of previous | |||
Mesa drivers. | |||
\sa fo_winsys.h | |||
*/ | |||
/** \page draw Draw Module | |||
The Draw module provides point/line/polygon rendering services such as | |||
vertex transformation, polygon culling and clipping. It will be used by | |||
drivers for hardware which lacks vertex transformation (such as the | |||
i915/i945). It may also be instantiated and used directly by the state | |||
tracker to implement some API functionality that doesn't map well to hardware | |||
capabilities. | |||
The interface of this module corresponds closely to the subset of the Gallium | |||
Driver Interface which is relevent to these steps in the pipeline. Specifically | |||
there are calls for: | |||
- Vertex shader constant state objects | |||
- Vertex buffer binding | |||
- Vertex element layout (vertex fetch) constant state objects | |||
- DrawArrays and DrawElements | |||
- Rasterizer constant state objects. | |||
The Draw module is effectively the part of \ref softpipe which is concerned with | |||
vertex processing, split off into a separate module so that it can be reused | |||
by drivers for rasterization-only hardware. As such it is also instantiated | |||
by the \ref i915simple driver. | |||
Additionally, there are cases in the Mesa OpenGL state_tracker where it is | |||
required to obtain transformed vertices and yet it is anticipated that using | |||
hardware transformation even if available would reduce performance, usually | |||
because the setup costs or latency are prohibitive. For this reason the Mesa | |||
state_tracker also instantiates a copy of this module. | |||
\sa draw_context.h | |||
*/ | |||
/** \page tgsi TGSI | |||
The TGSI module provides a universal representation of shaders and | |||
CPU-based execution of shaders. All Mesa vertex/fragment programs and shaders | |||
are translated into the TGSI representation before being passed to the | |||
driver. In turn, the driver will convert the TGSI instructions into | |||
GPU-specific instructions. For hardware that lacks vertex or fragment shader | |||
support, the TGSI's executor can be used. The TGSI executor includes support | |||
for SSE code generation. Support for other processors (such as Cell) will be | |||
added in the future. | |||
\sa tgsi_parse.h | |||
\sa <a href="http://www.tungstengraphics.com/wiki/files/tgsi.pdf">TGSI specification</a> | |||
*/ | |||
/** \page callgraph Glxgears callgraph example | |||
Below is a call graph of the glxgears application together with the Gallium3D's softpipe reference driver. | |||
\htmlonly | |||
The functions in the graph below are clickable. | |||
\endhtmlonly | |||
\dot | |||
digraph { | |||
graph [fontname=Arial, fontsize=10]; | |||
node [fontcolor=white, fontname=Arial, style=filled, fontsize=10, shape=box]; | |||
edge [fontname=Arial, fontsize=10]; | |||
1 [color="#ff0000", URL="\ref main", label="main\n100.00% (0.68%)\n0"]; | |||
1 -> 2 [color="#fe0400", fontcolor="#fe0400", label="99.32%\n1433"]; | |||
2 [color="#fe0400", URL="\ref do_draw", label="do_draw\n99.32% (0.00%)\n1433"]; | |||
2 -> 4 [color="#fa1201", fontcolor="#fa1201", label="96.67%\n4298"]; | |||
2 -> 39 [color="#0d4f76", fontcolor="#0d4f76", label="2.45%\n1433"]; | |||
3 [color="#fa1201", URL="\ref execute_list", label="execute_list\n96.67% (0.00%)\n4299"]; | |||
3 -> 5 [color="#f91301", fontcolor="#f91301", label="96.38%\n17196"]; | |||
4 [color="#fa1201", URL="\ref _mesa_CallList", label="_mesa_CallList\n96.67% (0.00%)\n4299"]; | |||
4 -> 3 [color="#fa1201", fontcolor="#fa1201", label="96.67%\n4299"]; | |||
5 [color="#f91301", URL="\ref vbo_save_playback_vertex_list", label="vbo_save_playback_vertex_list\n96.38% (0.10%)\n17196"]; | |||
5 -> 6 [color="#f91501", fontcolor="#f91501", label="96.09%\n17196"]; | |||
6 [color="#f91501", URL="\ref st_draw_vbo", label="st_draw_vbo\n96.09% (0.00%)\n17196"]; | |||
6 -> 10 [color="#ec3f03", fontcolor="#ec3f03", label="87.48%\n30093"]; | |||
6 -> 33 [color="#0d5f78", fontcolor="#0d5f78", label="3.72%\n34392"]; | |||
6 -> 34 [color="#0d5f78", fontcolor="#0d5f78", label="3.72%\n34392"]; | |||
6 -> 47 [color="#0d3a74", fontcolor="#0d3a74", label="1.17%\n17196"]; | |||
7 [color="#f71d01", URL="\ref draw_do_flush", label="draw_do_flush\n94.52% (0.20%)\n101744"]; | |||
7 -> 13 [color="#e74e04", fontcolor="#e74e04", label="84.25%\n1146400"]; | |||
7 -> 8 [color="#0d7d6c", fontcolor="#0d7d6c", label="8.32%\n114640"]; | |||
7 -> 46 [color="#0d4175", fontcolor="#0d4175", label="1.57%\n97444"]; | |||
8 [color="#f32702", URL="\ref clip_tri", label="clip_tri\n92.37% (0.49%)\n1261040"]; | |||
8 -> 9 [color="#f32a02", fontcolor="#f32a02", label="91.88%\n1261040"]; | |||
9 [color="#f32a02", URL="\ref cull_tri", label="cull_tri\n91.88% (0.20%)\n1261040"]; | |||
9 -> 15 [color="#e35d04", fontcolor="#e35d04", label="81.12%\n560810"]; | |||
9 -> 12 [color="#0d805e", fontcolor="#0d805e", label="10.57%\n560810"]; | |||
10 [color="#ec3f03", URL="\ref softpipe_draw_arrays", label="softpipe_draw_arrays\n87.48% (0.00%)\n30093"]; | |||
10 -> 11 [color="#ec3f03", fontcolor="#ec3f03", label="87.48%\n30093"]; | |||
11 [color="#ec3f03", URL="\ref softpipe_draw_elements", label="softpipe_draw_elements\n87.48% (0.10%)\n30093"]; | |||
11 -> 17 [color="#cf9507", fontcolor="#cf9507", label="67.61%\n30093"]; | |||
11 -> 27 [color="#0d844f", fontcolor="#0d844f", label="13.01%\n120372"]; | |||
11 -> 36 [color="#0d5a77", fontcolor="#0d5a77", label="3.33%\n30093"]; | |||
11 -> 23 [color="#0d5977", fontcolor="#0d5977", label="3.23%\n30093"]; | |||
12 [color="#ea4703", URL="\ref flush_spans", label="flush_spans\n85.91% (4.60%)\n4586176"]; | |||
12 -> 14 [color="#e35c04", fontcolor="#e35c04", label="81.31%\n15910811"]; | |||
13 [color="#e74e04", URL="\ref flatshade_tri", label="flatshade_tri\n84.25% (0.29%)\n1146400"]; | |||
13 -> 8 [color="#e75004", fontcolor="#e75004", label="83.95%\n1146400"]; | |||
14 [color="#e35c04", URL="\ref shade_quad", label="shade_quad\n81.31% (7.73%)\n15910811"]; | |||
14 -> 21 [color="#c0bb09", fontcolor="#c0bb09", label="57.24%\n13903725"]; | |||
14 -> 26 [color="#0c883c", fontcolor="#0c883c", label="16.24%\n15910811"]; | |||
15 [color="#e35d04", URL="\ref setup_tri", label="setup_tri\n81.12% (1.47%)\n560810"]; | |||
15 -> 16 [color="#e06505", fontcolor="#e06505", label="79.26%\n1121620"]; | |||
16 [color="#e06505", URL="\ref subtriangle", label="subtriangle\n79.26% (3.91%)\n1121620"]; | |||
16 -> 12 [color="#da7606", fontcolor="#da7606", label="75.34%\n4025366"]; | |||
17 [color="#cf9507", URL="\ref draw_arrays", label="draw_arrays\n67.61% (0.00%)\n30093"]; | |||
17 -> 19 [color="#cf9607", fontcolor="#cf9607", label="67.42%\n630520"]; | |||
18 [color="#cf9607", URL="\ref do_ef_triangle", label="do_ef_triangle\n67.42% (0.49%)\n1261040"]; | |||
18 -> 20 [color="#ce9807", fontcolor="#ce9807", label="66.83%\n1261040"]; | |||
19 [color="#cf9607", URL="\ref do_quad", label="do_quad\n67.42% (0.00%)\n630520"]; | |||
19 -> 18 [color="#cf9607", fontcolor="#cf9607", label="67.42%\n1261040"]; | |||
20 [color="#ce9807", URL="\ref get_queued_prim", label="get_queued_prim\n66.83% (0.10%)\n1261040"]; | |||
20 -> 7 [color="#cd9907", fontcolor="#cd9907", label="66.54%\n71650"]; | |||
21 [color="#c0bb09", URL="\ref depth_test_quad", label="depth_test_quad\n57.24% (1.08%)\n13903725"]; | |||
21 -> 22 [color="#40a00b", fontcolor="#40a00b", label="34.54%\n13074127"]; | |||
21 -> 24 [color="#0c8f1e", fontcolor="#0c8f1e", label="21.62%\n13903725"]; | |||
22 [color="#40a00b", URL="\ref output_quad", label="output_quad\n34.54% (3.91%)\n13074127"]; | |||
22 -> 25 [color="#0c8c2b", fontcolor="#0c8c2b", label="19.28%\n13074127"]; | |||
22 -> 28 [color="#0d8159", fontcolor="#0d8159", label="11.35%\n7223435"]; | |||
23 [color="#1c970c", URL="\ref draw_flush", label="draw_flush\n27.98% (0.00%)\n257944"]; | |||
23 -> 7 [color="#1c970c", fontcolor="#1c970c", label="27.98%\n30093"]; | |||
24 [color="#0c8f1e", URL="\ref sp_depth_test_quad", label="sp_depth_test_quad\n21.62% (16.14%)\n13903725"]; | |||
24 -> 37 [color="#0d5977", fontcolor="#0d5977", label="3.23%\n13903725"]; | |||
24 -> 44 [color="#0d4c76", fontcolor="#0d4c76", label="2.25%\n13903725"]; | |||
25 [color="#0c8c2b", URL="\ref write_quad_f_swz", label="write_quad_f_swz\n19.28% (16.14%)\n13074127"]; | |||
25 -> 38 [color="#0d5877", fontcolor="#0d5877", label="3.13%\n26148254"]; | |||
26 [color="#0c883a", URL="\ref tgsi_exec_machine_init", label="tgsi_exec_machine_init\n16.73% (10.27%)\n16326381"]; | |||
26 -> 30 [color="#0d6178", fontcolor="#0d6178", label="3.91%\n16326381"]; | |||
26 -> 45 [color="#0d4475", fontcolor="#0d4475", label="1.76%\n16326381"]; | |||
26 -> 52 [color="#0d3174", fontcolor="#0d3174", label="0.78%\n16326381"]; | |||
27 [color="#0d844f", URL="\ref draw_set_mapped_vertex_buffer", label="draw_set_mapped_vertex_buffer\n13.01% (0.00%)\n120372"]; | |||
27 -> 23 [color="#0d844f", fontcolor="#0d844f", label="13.01%\n120372"]; | |||
28 [color="#0d8159", URL="\ref read_quad_f_swz", label="read_quad_f_swz\n11.35% (5.87%)\n7223435"]; | |||
28 -> 29 [color="#0d737a", fontcolor="#0d737a", label="5.48%\n14446870"]; | |||
29 [color="#0d737a", URL="\ref get_row_rgba", label="get_row_rgba\n5.48% (5.48%)\n14446870"]; | |||
30 [color="#0d6178", URL="\ref tgsi_parse_init", label="tgsi_parse_init\n3.91% (3.52%)\n16326383"]; | |||
31 [color="#0d5f78", URL="\ref draw_set_vertex_buffer", label="draw_set_vertex_buffer\n3.72% (0.00%)\n34392"]; | |||
31 -> 23 [color="#0d5f78", fontcolor="#0d5f78", label="3.72%\n34392"]; | |||
32 [color="#0d5f78", URL="\ref draw_set_vertex_element", label="draw_set_vertex_element\n3.72% (0.00%)\n34392"]; | |||
32 -> 23 [color="#0d5f78", fontcolor="#0d5f78", label="3.72%\n34392"]; | |||
33 [color="#0d5f78", URL="\ref softpipe_set_vertex_buffer", label="softpipe_set_vertex_buffer\n3.72% (0.00%)\n34392"]; | |||
33 -> 31 [color="#0d5f78", fontcolor="#0d5f78", label="3.72%\n34392"]; | |||
34 [color="#0d5f78", URL="\ref softpipe_set_vertex_element", label="softpipe_set_vertex_element\n3.72% (0.00%)\n34392"]; | |||
34 -> 32 [color="#0d5f78", fontcolor="#0d5f78", label="3.72%\n34392"]; | |||
35 [color="#0d5d77", URL="\ref __i686.get_pc_thunk.bx", label="__i686.get_pc_thunk.bx\n3.52% (3.52%)\n0"]; | |||
36 [color="#0d5a77", URL="\ref draw_set_mapped_constant_buffer", label="draw_set_mapped_constant_buffer\n3.33% (0.10%)\n30093"]; | |||
36 -> 23 [color="#0d5977", fontcolor="#0d5977", label="3.23%\n30093"]; | |||
37 [color="#0d5977", URL="\ref s8z24_read_quad_z", label="s8z24_read_quad_z\n3.23% (3.23%)\n13903725"]; | |||
38 [color="#0d5877", URL="\ref put_row_8R8G8B_ximage", label="put_row_8R8G8B_ximage\n3.13% (3.13%)\n26148254"]; | |||
39 [color="#0d4f76", URL="\ref _mesa_Clear", label="_mesa_Clear\n2.45% (0.00%)\n1433"]; | |||
39 -> 40 [color="#0d4f76", fontcolor="#0d4f76", label="2.45%\n1433"]; | |||
40 [color="#0d4f76", URL="\ref st_clear", label="st_clear\n2.45% (0.00%)\n1433"]; | |||
40 -> 41 [color="#0d4d76", fontcolor="#0d4d76", label="2.35%\n2866"]; | |||
41 [color="#0d4d76", URL="\ref xmesa_clear", label="xmesa_clear\n2.35% (0.00%)\n2866"]; | |||
41 -> 42 [color="#0d4c76", fontcolor="#0d4c76", label="2.25%\n1433"]; | |||
42 [color="#0d4c76", URL="\ref softpipe_clear", label="softpipe_clear\n2.25% (0.00%)\n1433"]; | |||
42 -> 43 [color="#0d4c76", fontcolor="#0d4c76", label="2.25%\n1433"]; | |||
43 [color="#0d4c76", URL="\ref sp_region_fill", label="sp_region_fill\n2.25% (2.25%)\n1433"]; | |||
44 [color="#0d4c76", URL="\ref s8z24_write_quad_z", label="s8z24_write_quad_z\n2.25% (2.25%)\n13903725"]; | |||
45 [color="#0d4475", URL="\ref tgsi_parse_free", label="tgsi_parse_free\n1.76% (0.78%)\n16326383"]; | |||
45 -> 49 [color="#0d3674", fontcolor="#0d3674", label="0.98%\n16326383"]; | |||
46 [color="#0d4175", URL="\ref draw_vertex_shader_queue_flush", label="draw_vertex_shader_queue_flush\n1.57% (0.49%)\n97444"]; | |||
46 -> 53 [color="#0d2f74", fontcolor="#0d2f74", label="0.68%\n415570"]; | |||
46 -> 26 [color="#0d2973", fontcolor="#0d2973", label="0.49%\n415570"]; | |||
47 [color="#0d3b74", URL="\ref st_validate_state", label="st_validate_state\n1.27% (0.00%)\n18629"]; | |||
47 -> 48 [color="#0d3874", fontcolor="#0d3874", label="1.08%\n8599"]; | |||
48 [color="#0d3874", URL="\ref update_raster_state", label="update_raster_state\n1.08% (0.10%)\n8599"]; | |||
48 -> 51 [color="#0d3674", fontcolor="#0d3674", label="0.98%\n8599"]; | |||
49 [color="#0d3674", URL="\ref tgsi_full_token_free", label="tgsi_full_token_free\n0.98% (0.98%)\n16326412"]; | |||
50 [color="#0d3674", URL="\ref draw_set_rasterizer_state", label="draw_set_rasterizer_state\n0.98% (0.00%)\n8599"]; | |||
50 -> 23 [color="#0d3674", fontcolor="#0d3674", label="0.98%\n8599"]; | |||
51 [color="#0d3674", URL="\ref softpipe_bind_rasterizer_state", label="softpipe_bind_rasterizer_state\n0.98% (0.00%)\n8599"]; | |||
51 -> 50 [color="#0d3674", fontcolor="#0d3674", label="0.98%\n8599"]; | |||
52 [color="#0d3174", URL="\ref tgsi_align_128bit", label="tgsi_align_128bit\n0.78% (0.78%)\n16326381"]; | |||
53 [color="#0d2f74", URL="\ref draw_vertex_fetch", label="draw_vertex_fetch\n0.68% (0.68%)\n415570"]; | |||
} | |||
\enddot | |||
The graph above was generated by the <a href="http://code.google.com/p/jrfonseca/wiki/Gprof2Dot">gprof2dot.py script</a>. | |||
*/ |
@@ -0,0 +1,300 @@ | |||
/* -*- mode: c; tab-width: 8; -*- */ | |||
/* vi: set sw=4 ts=8: */ | |||
/* Reference version of egl.h for EGL 1.4. | |||
* Last modified 2008/05/02 | |||
*/ | |||
#ifndef __egl_h_ | |||
#define __egl_h_ | |||
/* All platform-dependent types and macro boilerplate (such as EGLAPI | |||
* and EGLAPIENTRY) should go in eglplatform.h. | |||
*/ | |||
#include <EGL/eglplatform.h> | |||
#ifdef __cplusplus | |||
extern "C" { | |||
#endif | |||
/* EGL Types */ | |||
typedef int32_t EGLint; | |||
typedef unsigned int EGLBoolean; | |||
typedef unsigned int EGLenum; | |||
typedef void *EGLConfig; | |||
typedef void *EGLContext; | |||
typedef void *EGLDisplay; | |||
typedef void *EGLSurface; | |||
typedef void *EGLClientBuffer; | |||
/* EGL Versioning */ | |||
#define EGL_VERSION_1_0 1 | |||
#define EGL_VERSION_1_1 1 | |||
#define EGL_VERSION_1_2 1 | |||
#define EGL_VERSION_1_3 1 | |||
#define EGL_VERSION_1_4 1 | |||
/* EGL Enumerants. Bitmasks and other exceptional cases aside, most | |||
* enums are assigned unique values starting at 0x3000. | |||
*/ | |||
/* EGL aliases */ | |||
#define EGL_FALSE 0 | |||
#define EGL_TRUE 1 | |||
/* Out-of-band handle values */ | |||
#define EGL_DEFAULT_DISPLAY ((void *)0) | |||
#define EGL_NO_CONTEXT ((EGLContext)0) | |||
#define EGL_NO_DISPLAY ((EGLDisplay)0) | |||
#define EGL_NO_SURFACE ((EGLSurface)0) | |||
/* Out-of-band attribute value */ | |||
#define EGL_DONT_CARE ((EGLint)-1) | |||
/* Errors / GetError return values */ | |||
#define EGL_SUCCESS 0x3000 | |||
#define EGL_NOT_INITIALIZED 0x3001 | |||
#define EGL_BAD_ACCESS 0x3002 | |||
#define EGL_BAD_ALLOC 0x3003 | |||
#define EGL_BAD_ATTRIBUTE 0x3004 | |||
#define EGL_BAD_CONFIG 0x3005 | |||
#define EGL_BAD_CONTEXT 0x3006 | |||
#define EGL_BAD_CURRENT_SURFACE 0x3007 | |||
#define EGL_BAD_DISPLAY 0x3008 | |||
#define EGL_BAD_MATCH 0x3009 | |||
#define EGL_BAD_NATIVE_PIXMAP 0x300A | |||
#define EGL_BAD_NATIVE_WINDOW 0x300B | |||
#define EGL_BAD_PARAMETER 0x300C | |||
#define EGL_BAD_SURFACE 0x300D | |||
#define EGL_CONTEXT_LOST 0x300E /* EGL 1.1 - IMG_power_management */ | |||
/* Reserved 0x300F-0x301F for additional errors */ | |||
/* Config attributes */ | |||
#define EGL_BUFFER_SIZE 0x3020 | |||
#define EGL_ALPHA_SIZE 0x3021 | |||
#define EGL_BLUE_SIZE 0x3022 | |||
#define EGL_GREEN_SIZE 0x3023 | |||
#define EGL_RED_SIZE 0x3024 | |||
#define EGL_DEPTH_SIZE 0x3025 | |||
#define EGL_STENCIL_SIZE 0x3026 | |||
#define EGL_CONFIG_CAVEAT 0x3027 | |||
#define EGL_CONFIG_ID 0x3028 | |||
#define EGL_LEVEL 0x3029 | |||
#define EGL_MAX_PBUFFER_HEIGHT 0x302A | |||
#define EGL_MAX_PBUFFER_PIXELS 0x302B | |||
#define EGL_MAX_PBUFFER_WIDTH 0x302C | |||
#define EGL_NATIVE_RENDERABLE 0x302D | |||
#define EGL_NATIVE_VISUAL_ID 0x302E | |||
#define EGL_NATIVE_VISUAL_TYPE 0x302F | |||
#define EGL_PRESERVED_RESOURCES 0x3030 | |||
#define EGL_SAMPLES 0x3031 | |||
#define EGL_SAMPLE_BUFFERS 0x3032 | |||
#define EGL_SURFACE_TYPE 0x3033 | |||
#define EGL_TRANSPARENT_TYPE 0x3034 | |||
#define EGL_TRANSPARENT_BLUE_VALUE 0x3035 | |||
#define EGL_TRANSPARENT_GREEN_VALUE 0x3036 | |||
#define EGL_TRANSPARENT_RED_VALUE 0x3037 | |||
#define EGL_NONE 0x3038 /* Attrib list terminator */ | |||
#define EGL_BIND_TO_TEXTURE_RGB 0x3039 | |||
#define EGL_BIND_TO_TEXTURE_RGBA 0x303A | |||
#define EGL_MIN_SWAP_INTERVAL 0x303B | |||
#define EGL_MAX_SWAP_INTERVAL 0x303C | |||
#define EGL_LUMINANCE_SIZE 0x303D | |||
#define EGL_ALPHA_MASK_SIZE 0x303E | |||
#define EGL_COLOR_BUFFER_TYPE 0x303F | |||
#define EGL_RENDERABLE_TYPE 0x3040 | |||
#define EGL_MATCH_NATIVE_PIXMAP 0x3041 /* Pseudo-attribute (not queryable) */ | |||
#define EGL_CONFORMANT 0x3042 | |||
/* Reserved 0x3041-0x304F for additional config attributes */ | |||
/* Config attribute values */ | |||
#define EGL_SLOW_CONFIG 0x3050 /* EGL_CONFIG_CAVEAT value */ | |||
#define EGL_NON_CONFORMANT_CONFIG 0x3051 /* EGL_CONFIG_CAVEAT value */ | |||
#define EGL_TRANSPARENT_RGB 0x3052 /* EGL_TRANSPARENT_TYPE value */ | |||
#define EGL_RGB_BUFFER 0x308E /* EGL_COLOR_BUFFER_TYPE value */ | |||
#define EGL_LUMINANCE_BUFFER 0x308F /* EGL_COLOR_BUFFER_TYPE value */ | |||
/* More config attribute values, for EGL_TEXTURE_FORMAT */ | |||
#define EGL_NO_TEXTURE 0x305C | |||
#define EGL_TEXTURE_RGB 0x305D | |||
#define EGL_TEXTURE_RGBA 0x305E | |||
#define EGL_TEXTURE_2D 0x305F | |||
/* Config attribute mask bits */ | |||
#define EGL_PBUFFER_BIT 0x0001 /* EGL_SURFACE_TYPE mask bits */ | |||
#define EGL_PIXMAP_BIT 0x0002 /* EGL_SURFACE_TYPE mask bits */ | |||
#define EGL_WINDOW_BIT 0x0004 /* EGL_SURFACE_TYPE mask bits */ | |||
#define EGL_VG_COLORSPACE_LINEAR_BIT 0x0020 /* EGL_SURFACE_TYPE mask bits */ | |||
#define EGL_VG_ALPHA_FORMAT_PRE_BIT 0x0040 /* EGL_SURFACE_TYPE mask bits */ | |||
#define EGL_MULTISAMPLE_RESOLVE_BOX_BIT 0x0200 /* EGL_SURFACE_TYPE mask bits */ | |||
#define EGL_SWAP_BEHAVIOR_PRESERVED_BIT 0x0400 /* EGL_SURFACE_TYPE mask bits */ | |||
#define EGL_OPENGL_ES_BIT 0x0001 /* EGL_RENDERABLE_TYPE mask bits */ | |||
#define EGL_OPENVG_BIT 0x0002 /* EGL_RENDERABLE_TYPE mask bits */ | |||
#define EGL_OPENGL_ES2_BIT 0x0004 /* EGL_RENDERABLE_TYPE mask bits */ | |||
#define EGL_OPENGL_BIT 0x0008 /* EGL_RENDERABLE_TYPE mask bits */ | |||
/* QueryString targets */ | |||
#define EGL_VENDOR 0x3053 | |||
#define EGL_VERSION 0x3054 | |||
#define EGL_EXTENSIONS 0x3055 | |||
#define EGL_CLIENT_APIS 0x308D | |||
/* QuerySurface / SurfaceAttrib / CreatePbufferSurface targets */ | |||
#define EGL_HEIGHT 0x3056 | |||
#define EGL_WIDTH 0x3057 | |||
#define EGL_LARGEST_PBUFFER 0x3058 | |||
#define EGL_TEXTURE_FORMAT 0x3080 | |||
#define EGL_TEXTURE_TARGET 0x3081 | |||
#define EGL_MIPMAP_TEXTURE 0x3082 | |||
#define EGL_MIPMAP_LEVEL 0x3083 | |||
#define EGL_RENDER_BUFFER 0x3086 | |||
#define EGL_VG_COLORSPACE 0x3087 | |||
#define EGL_VG_ALPHA_FORMAT 0x3088 | |||
#define EGL_HORIZONTAL_RESOLUTION 0x3090 | |||
#define EGL_VERTICAL_RESOLUTION 0x3091 | |||
#define EGL_PIXEL_ASPECT_RATIO 0x3092 | |||
#define EGL_SWAP_BEHAVIOR 0x3093 | |||
#define EGL_MULTISAMPLE_RESOLVE 0x3099 | |||
/* EGL_RENDER_BUFFER values / BindTexImage / ReleaseTexImage buffer targets */ | |||
#define EGL_BACK_BUFFER 0x3084 | |||
#define EGL_SINGLE_BUFFER 0x3085 | |||
/* OpenVG color spaces */ | |||
#define EGL_VG_COLORSPACE_sRGB 0x3089 /* EGL_VG_COLORSPACE value */ | |||
#define EGL_VG_COLORSPACE_LINEAR 0x308A /* EGL_VG_COLORSPACE value */ | |||
/* OpenVG alpha formats */ | |||
#define EGL_VG_ALPHA_FORMAT_NONPRE 0x308B /* EGL_ALPHA_FORMAT value */ | |||
#define EGL_VG_ALPHA_FORMAT_PRE 0x308C /* EGL_ALPHA_FORMAT value */ | |||
/* Constant scale factor by which fractional display resolutions & | |||
* aspect ratio are scaled when queried as integer values. | |||
*/ | |||
#define EGL_DISPLAY_SCALING 10000 | |||
/* Unknown display resolution/aspect ratio */ | |||
#define EGL_UNKNOWN ((EGLint)-1) | |||
/* Back buffer swap behaviors */ | |||
#define EGL_BUFFER_PRESERVED 0x3094 /* EGL_SWAP_BEHAVIOR value */ | |||
#define EGL_BUFFER_DESTROYED 0x3095 /* EGL_SWAP_BEHAVIOR value */ | |||
/* CreatePbufferFromClientBuffer buffer types */ | |||
#define EGL_OPENVG_IMAGE 0x3096 | |||
/* QueryContext targets */ | |||
#define EGL_CONTEXT_CLIENT_TYPE 0x3097 | |||
/* CreateContext attributes */ | |||
#define EGL_CONTEXT_CLIENT_VERSION 0x3098 | |||
/* Multisample resolution behaviors */ | |||
#define EGL_MULTISAMPLE_RESOLVE_DEFAULT 0x309A /* EGL_MULTISAMPLE_RESOLVE value */ | |||
#define EGL_MULTISAMPLE_RESOLVE_BOX 0x309B /* EGL_MULTISAMPLE_RESOLVE value */ | |||
/* BindAPI/QueryAPI targets */ | |||
#define EGL_OPENGL_ES_API 0x30A0 | |||
#define EGL_OPENVG_API 0x30A1 | |||
#define EGL_OPENGL_API 0x30A2 | |||
/* GetCurrentSurface targets */ | |||
#define EGL_DRAW 0x3059 | |||
#define EGL_READ 0x305A | |||
/* WaitNative engines */ | |||
#define EGL_CORE_NATIVE_ENGINE 0x305B | |||
/* EGL 1.2 tokens renamed for consistency in EGL 1.3 */ | |||
#define EGL_COLORSPACE EGL_VG_COLORSPACE | |||
#define EGL_ALPHA_FORMAT EGL_VG_ALPHA_FORMAT | |||
#define EGL_COLORSPACE_sRGB EGL_VG_COLORSPACE_sRGB | |||
#define EGL_COLORSPACE_LINEAR EGL_VG_COLORSPACE_LINEAR | |||
#define EGL_ALPHA_FORMAT_NONPRE EGL_VG_ALPHA_FORMAT_NONPRE | |||
#define EGL_ALPHA_FORMAT_PRE EGL_VG_ALPHA_FORMAT_PRE | |||
/* EGL extensions must request enum blocks from the Khronos | |||
* API Registrar, who maintains the enumerant registry. Submit | |||
* a bug in Khronos Bugzilla against task "Registry". | |||
*/ | |||
/* EGL Functions */ | |||
EGLAPI EGLint EGLAPIENTRY eglGetError(void); | |||
EGLAPI EGLDisplay EGLAPIENTRY eglGetDisplay(EGLNativeDisplayType display_id); | |||
EGLAPI EGLBoolean EGLAPIENTRY eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor); | |||
EGLAPI EGLBoolean EGLAPIENTRY eglTerminate(EGLDisplay dpy); | |||
EGLAPI const char * EGLAPIENTRY eglQueryString(EGLDisplay dpy, EGLint name); | |||
EGLAPI EGLBoolean EGLAPIENTRY eglGetConfigs(EGLDisplay dpy, EGLConfig *configs, | |||
EGLint config_size, EGLint *num_config); | |||
EGLAPI EGLBoolean EGLAPIENTRY eglChooseConfig(EGLDisplay dpy, const EGLint *attrib_list, | |||
EGLConfig *configs, EGLint config_size, | |||
EGLint *num_config); | |||
EGLAPI EGLBoolean EGLAPIENTRY eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, | |||
EGLint attribute, EGLint *value); | |||
EGLAPI EGLSurface EGLAPIENTRY eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, | |||
EGLNativeWindowType win, | |||
const EGLint *attrib_list); | |||
EGLAPI EGLSurface EGLAPIENTRY eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config, | |||
const EGLint *attrib_list); | |||
EGLAPI EGLSurface EGLAPIENTRY eglCreatePixmapSurface(EGLDisplay dpy, EGLConfig config, | |||
EGLNativePixmapType pixmap, | |||
const EGLint *attrib_list); | |||
EGLAPI EGLBoolean EGLAPIENTRY eglDestroySurface(EGLDisplay dpy, EGLSurface surface); | |||
EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurface(EGLDisplay dpy, EGLSurface surface, | |||
EGLint attribute, EGLint *value); | |||
EGLAPI EGLBoolean EGLAPIENTRY eglBindAPI(EGLenum api); | |||
EGLAPI EGLenum EGLAPIENTRY eglQueryAPI(void); | |||
EGLAPI EGLBoolean EGLAPIENTRY eglWaitClient(void); | |||
EGLAPI EGLBoolean EGLAPIENTRY eglReleaseThread(void); | |||
EGLAPI EGLSurface EGLAPIENTRY eglCreatePbufferFromClientBuffer( | |||
EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, | |||
EGLConfig config, const EGLint *attrib_list); | |||
EGLAPI EGLBoolean EGLAPIENTRY eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, | |||
EGLint attribute, EGLint value); | |||
EGLAPI EGLBoolean EGLAPIENTRY eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); | |||
EGLAPI EGLBoolean EGLAPIENTRY eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); | |||
EGLAPI EGLBoolean EGLAPIENTRY eglSwapInterval(EGLDisplay dpy, EGLint interval); | |||
EGLAPI EGLContext EGLAPIENTRY eglCreateContext(EGLDisplay dpy, EGLConfig config, | |||
EGLContext share_context, | |||
const EGLint *attrib_list); | |||
EGLAPI EGLBoolean EGLAPIENTRY eglDestroyContext(EGLDisplay dpy, EGLContext ctx); | |||
EGLAPI EGLBoolean EGLAPIENTRY eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, | |||
EGLSurface read, EGLContext ctx); | |||
EGLAPI EGLContext EGLAPIENTRY eglGetCurrentContext(void); | |||
EGLAPI EGLSurface EGLAPIENTRY eglGetCurrentSurface(EGLint readdraw); | |||
EGLAPI EGLDisplay EGLAPIENTRY eglGetCurrentDisplay(void); | |||
EGLAPI EGLBoolean EGLAPIENTRY eglQueryContext(EGLDisplay dpy, EGLContext ctx, | |||
EGLint attribute, EGLint *value); | |||
EGLAPI EGLBoolean EGLAPIENTRY eglWaitGL(void); | |||
EGLAPI EGLBoolean EGLAPIENTRY eglWaitNative(EGLint engine); | |||
EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers(EGLDisplay dpy, EGLSurface surface); | |||
EGLAPI EGLBoolean EGLAPIENTRY eglCopyBuffers(EGLDisplay dpy, EGLSurface surface, | |||
EGLNativePixmapType target); | |||
EGLAPI void (* EGLAPIENTRY eglGetProcAddress(const char *procname))(void); | |||
#ifdef __cplusplus | |||
} | |||
#endif | |||
#endif /* __egl_h_ */ |
@@ -0,0 +1,186 @@ | |||
#ifndef __eglext_h_ | |||
#define __eglext_h_ | |||
#ifdef __cplusplus | |||
extern "C" { | |||
#endif | |||
/* | |||
** Copyright (c) 2007 The Khronos Group Inc. | |||
** | |||
** Permission is hereby granted, free of charge, to any person obtaining a | |||
** copy of this software and/or associated documentation files (the | |||
** "Materials"), to deal in the Materials without restriction, including | |||
** without limitation the rights to use, copy, modify, merge, publish, | |||
** distribute, sublicense, and/or sell copies of the Materials, and to | |||
** permit persons to whom the Materials are furnished to do so, subject to | |||
** the following conditions: | |||
** | |||
** The above copyright notice and this permission notice shall be included | |||
** in all copies or substantial portions of the Materials. | |||
** | |||
** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | |||
** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | |||
** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | |||
** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | |||
** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | |||
** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | |||
** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. | |||
*/ | |||
#include <EGL/eglplatform.h> | |||
/*************************************************************/ | |||
/* Header file version number */ | |||
/* eglext.h last updated 2007/11/20 */ | |||
/* Current version at http://www.khronos.org/registry/egl/ */ | |||
#define EGL_EGLEXT_VERSION 1 | |||
#ifndef EGL_KHR_config_attribs | |||
#define EGL_KHR_config_attribs 1 | |||
#define EGL_CONFORMANT_KHR 0x3042 /* EGLConfig attribute */ | |||
#define EGL_VG_COLORSPACE_LINEAR_BIT_KHR 0x0020 /* EGL_SURFACE_TYPE bitfield */ | |||
#define EGL_VG_ALPHA_FORMAT_PRE_BIT_KHR 0x0040 /* EGL_SURFACE_TYPE bitfield */ | |||
#endif | |||
#ifndef EGL_KHR_lock_surface | |||
#define EGL_KHR_lock_surface 1 | |||
#define EGL_READ_SURFACE_BIT_KHR 0x0001 /* EGL_LOCK_USAGE_HINT_KHR bitfield */ | |||
#define EGL_WRITE_SURFACE_BIT_KHR 0x0002 /* EGL_LOCK_USAGE_HINT_KHR bitfield */ | |||
#define EGL_LOCK_SURFACE_BIT_KHR 0x0080 /* EGL_SURFACE_TYPE bitfield */ | |||
#define EGL_OPTIMAL_FORMAT_BIT_KHR 0x0100 /* EGL_SURFACE_TYPE bitfield */ | |||
#define EGL_MATCH_FORMAT_KHR 0x3043 /* EGLConfig attribute */ | |||
#define EGL_FORMAT_RGB_565_EXACT_KHR 0x30C0 /* EGL_MATCH_FORMAT_KHR value */ | |||
#define EGL_FORMAT_RGB_565_KHR 0x30C1 /* EGL_MATCH_FORMAT_KHR value */ | |||
#define EGL_FORMAT_RGBA_8888_EXACT_KHR 0x30C2 /* EGL_MATCH_FORMAT_KHR value */ | |||
#define EGL_FORMAT_RGBA_8888_KHR 0x30C3 /* EGL_MATCH_FORMAT_KHR value */ | |||
#define EGL_MAP_PRESERVE_PIXELS_KHR 0x30C4 /* eglLockSurfaceKHR attribute */ | |||
#define EGL_LOCK_USAGE_HINT_KHR 0x30C5 /* eglLockSurfaceKHR attribute */ | |||
#define EGL_BITMAP_POINTER_KHR 0x30C6 /* eglQuerySurface attribute */ | |||
#define EGL_BITMAP_PITCH_KHR 0x30C7 /* eglQuerySurface attribute */ | |||
#define EGL_BITMAP_ORIGIN_KHR 0x30C8 /* eglQuerySurface attribute */ | |||
#define EGL_BITMAP_PIXEL_RED_OFFSET_KHR 0x30C9 /* eglQuerySurface attribute */ | |||
#define EGL_BITMAP_PIXEL_GREEN_OFFSET_KHR 0x30CA /* eglQuerySurface attribute */ | |||
#define EGL_BITMAP_PIXEL_BLUE_OFFSET_KHR 0x30CB /* eglQuerySurface attribute */ | |||
#define EGL_BITMAP_PIXEL_ALPHA_OFFSET_KHR 0x30CC /* eglQuerySurface attribute */ | |||
#define EGL_BITMAP_PIXEL_LUMINANCE_OFFSET_KHR 0x30CD /* eglQuerySurface attribute */ | |||
#define EGL_LOWER_LEFT_KHR 0x30CE /* EGL_BITMAP_ORIGIN_KHR value */ | |||
#define EGL_UPPER_LEFT_KHR 0x30CF /* EGL_BITMAP_ORIGIN_KHR value */ | |||
#ifdef EGL_EGLEXT_PROTOTYPES | |||
EGLAPI EGLBoolean EGLAPIENTRY eglLockSurfaceKHR (EGLDisplay display, EGLSurface surface, const EGLint *attrib_list); | |||
EGLAPI EGLBoolean EGLAPIENTRY eglUnlockSurfaceKHR (EGLDisplay display, EGLSurface surface); | |||
#endif /* EGL_EGLEXT_PROTOTYPES */ | |||
typedef EGLBoolean (EGLAPIENTRYP PFNEGLLOCKSURFACEKHRPROC) (EGLDisplay display, EGLSurface surface, const EGLint *attrib_list); | |||
typedef EGLBoolean (EGLAPIENTRYP PFNEGLUNLOCKSURFACEKHRPROC) (EGLDisplay display, EGLSurface surface); | |||
#endif | |||
#ifndef EGL_KHR_image | |||
#define EGL_KHR_image 1 | |||
#define EGL_NATIVE_PIXMAP_KHR 0x30B0 /* eglCreateImageKHR target */ | |||
typedef void *EGLImageKHR; | |||
extern const EGLImageKHR EGL_NO_IMAGE_KHR; | |||
#ifdef EGL_EGLEXT_PROTOTYPES | |||
EGLAPI EGLImageKHR EGLAPIENTRY eglCreateImageKHR (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, EGLint *attr_list); | |||
EGLAPI EGLBoolean EGLAPIENTRY eglDestroyImageKHR (EGLDisplay dpy, EGLImageKHR image); | |||
#endif /* EGL_EGLEXT_PROTOTYPES */ | |||
typedef EGLImageKHR (EGLAPIENTRYP PFNEGLCREATEIMAGEKHRPROC) (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, EGLint *attr_list); | |||
typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYIMAGEKHRPROC) (EGLDisplay dpy, EGLImageKHR image); | |||
#endif | |||
#ifndef EGL_KHR_vg_parent_image | |||
#define EGL_KHR_vg_parent_image 1 | |||
#define EGL_VG_PARENT_IMAGE_KHR 0x30BA /* eglCreateImageKHR target */ | |||
#endif | |||
#ifndef EGL_KHR_gl_texture_2D_image | |||
#define EGL_KHR_gl_texture_2D_image 1 | |||
#define EGL_GL_TEXTURE_2D_KHR 0x30B1 /* eglCreateImageKHR target */ | |||
#define EGL_GL_TEXTURE_LEVEL_KHR 0x30BC /* eglCreateImageKHR attribute */ | |||
#endif | |||
#ifndef EGL_KHR_gl_texture_cubemap_image | |||
#define EGL_KHR_gl_texture_cubemap_image 1 | |||
#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X_KHR 0x30B3 /* eglCreateImageKHR target */ | |||
#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X_KHR 0x30B4 /* eglCreateImageKHR target */ | |||
#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y_KHR 0x30B5 /* eglCreateImageKHR target */ | |||
#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_KHR 0x30B6 /* eglCreateImageKHR target */ | |||
#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z_KHR 0x30B7 /* eglCreateImageKHR target */ | |||
#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_KHR 0x30B8 /* eglCreateImageKHR target */ | |||
#endif | |||
#ifndef EGL_KHR_gl_texture_3D_image | |||
#define EGL_KHR_gl_texture_3D_image 1 | |||
#define EGL_GL_TEXTURE_3D_KHR 0x30B2 /* eglCreateImageKHR target */ | |||
#define EGL_GL_TEXTURE_ZOFFSET_KHR 0x30BD /* eglCreateImageKHR attribute */ | |||
#endif | |||
#ifndef EGL_KHR_gl_renderbuffer_image | |||
#define EGL_KHR_gl_renderbuffer_image 1 | |||
#define EGL_GL_RENDERBUFFER_KHR 0x30B9 /* eglCreateImageKHR target */ | |||
#endif | |||
/* EGL_MESA_screen extension >>> PRELIMINARY <<< */ | |||
#ifndef EGL_MESA_screen_surface | |||
#define EGL_MESA_screen_surface 1 | |||
#define EGL_BAD_SCREEN_MESA 0x4000 | |||
#define EGL_BAD_MODE_MESA 0x4001 | |||
#define EGL_SCREEN_COUNT_MESA 0x4002 | |||
#define EGL_SCREEN_POSITION_MESA 0x4003 | |||
#define EGL_SCREEN_POSITION_GRANULARITY_MESA 0x4004 | |||
#define EGL_MODE_ID_MESA 0x4005 | |||
#define EGL_REFRESH_RATE_MESA 0x4006 | |||
#define EGL_OPTIMAL_MESA 0x4007 | |||
#define EGL_INTERLACED_MESA 0x4008 | |||
#define EGL_SCREEN_BIT_MESA 0x08 | |||
typedef u_int32_t EGLScreenMESA; | |||
typedef u_int32_t EGLModeMESA; | |||
#ifdef EGL_EGLEXT_PROTOTYPES | |||
EGLAPI EGLBoolean EGLAPIENTRY eglChooseModeMESA(EGLDisplay dpy, EGLScreenMESA screen, const EGLint *attrib_list, EGLModeMESA *modes, EGLint modes_size, EGLint *num_modes); | |||
EGLAPI EGLBoolean EGLAPIENTRY eglGetModesMESA(EGLDisplay dpy, EGLScreenMESA screen, EGLModeMESA *modes, EGLint modes_size, EGLint *num_modes); | |||
EGLAPI EGLBoolean EGLAPIENTRY eglGetModeAttribMESA(EGLDisplay dpy, EGLModeMESA mode, EGLint attribute, EGLint *value); | |||
EGLAPI EGLBoolean EGLAPIENTRY eglGetScreensMESA(EGLDisplay dpy, EGLScreenMESA *screens, EGLint max_screens, EGLint *num_screens); | |||
EGLAPI EGLSurface EGLAPIENTRY eglCreateScreenSurfaceMESA(EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list); | |||
EGLAPI EGLBoolean EGLAPIENTRY eglShowScreenSurfaceMESA(EGLDisplay dpy, EGLint screen, EGLSurface surface, EGLModeMESA mode); | |||
EGLAPI EGLBoolean EGLAPIENTRY eglScreenPositionMESA(EGLDisplay dpy, EGLScreenMESA screen, EGLint x, EGLint y); | |||
EGLAPI EGLBoolean EGLAPIENTRY eglQueryScreenMESA(EGLDisplay dpy, EGLScreenMESA screen, EGLint attribute, EGLint *value); | |||
EGLAPI EGLBoolean EGLAPIENTRY eglQueryScreenSurfaceMESA(EGLDisplay dpy, EGLScreenMESA screen, EGLSurface *surface); | |||
EGLAPI EGLBoolean EGLAPIENTRY eglQueryScreenModeMESA(EGLDisplay dpy, EGLScreenMESA screen, EGLModeMESA *mode); | |||
EGLAPI const char * EGLAPIENTRY eglQueryModeStringMESA(EGLDisplay dpy, EGLModeMESA mode); | |||
#endif /* EGL_EGLEXT_PROTOTYPES */ | |||
typedef EGLBoolean (EGLAPIENTRYP PFNEGLCHOOSEMODEMESA) (EGLDisplay dpy, EGLScreenMESA screen, const EGLint *attrib_list, EGLModeMESA *modes, EGLint modes_size, EGLint *num_modes); | |||
typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETMODESMESA) (EGLDisplay dpy, EGLScreenMESA screen, EGLModeMESA *modes, EGLint modes_size, EGLint *num_modes); | |||
typedef EGLBoolean (EGLAPIENTRYP PFNEGLGetModeATTRIBMESA) (EGLDisplay dpy, EGLModeMESA mode, EGLint attribute, EGLint *value); | |||
typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSCRREENSMESA) (EGLDisplay dpy, EGLScreenMESA *screens, EGLint max_screens, EGLint *num_screens); | |||
typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATESCREENSURFACEMESA) (EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list); | |||
typedef EGLBoolean (EGLAPIENTRYP PFNEGLSHOWSCREENSURFACEMESA) (EGLDisplay dpy, EGLint screen, EGLSurface surface, EGLModeMESA mode); | |||
typedef EGLBoolean (EGLAPIENTRYP PFNEGLSCREENPOSIITONMESA) (EGLDisplay dpy, EGLScreenMESA screen, EGLint x, EGLint y); | |||
typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSCREENMESA) (EGLDisplay dpy, EGLScreenMESA screen, EGLint attribute, EGLint *value); | |||
typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSCREENSURFACEMESA) (EGLDisplay dpy, EGLScreenMESA screen, EGLSurface *surface); | |||
typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSCREENMODEMESA) (EGLDisplay dpy, EGLScreenMESA screen, EGLModeMESA *mode); | |||
typedef const char * (EGLAPIENTRYP PFNEGLQUERYMODESTRINGMESA) (EGLDisplay dpy, EGLModeMESA mode); | |||
#endif /* EGL_MESA_screen_surface */ | |||
#ifndef EGL_MESA_copy_context | |||
#define EGL_MESA_copy_context 1 | |||
#ifdef EGL_EGLEXT_PROTOTYPES | |||
EGLAPI EGLBoolean EGLAPIENTRY eglCopyContextMESA(EGLDisplay dpy, EGLContext source, EGLContext dest, EGLint mask); | |||
#endif /* EGL_EGLEXT_PROTOTYPES */ | |||
typedef EGLBoolean (EGLAPIENTRYP PFNEGLCOPYCONTEXTMESA) (EGLDisplay dpy, EGLContext source, EGLContext dest, EGLint mask); | |||
#endif /* EGL_MESA_copy_context */ | |||
#ifdef __cplusplus | |||
} | |||
#endif | |||
#endif |
@@ -0,0 +1,91 @@ | |||
/* -*- mode: c; tab-width: 8; -*- */ | |||
/* vi: set sw=4 ts=8: */ | |||
/* Platform-specific types and definitions for egl.h */ | |||
#ifndef __eglplatform_h_ | |||
#define __eglplatform_h_ | |||
/* Windows calling convention boilerplate */ | |||
#if (defined(WIN32) || defined(_WIN32_WCE)) | |||
#ifndef WIN32_LEAN_AND_MEAN | |||
#define WIN32_LEAN_AND_MEAN /* Exclude rarely-used stuff from Windows headers */ | |||
#endif | |||
#include <windows.h> | |||
#endif | |||
#if !defined(_WIN32_WCE) | |||
#include <sys/types.h> | |||
#endif | |||
/* Macros used in EGL function prototype declarations. | |||
* | |||
* EGLAPI return-type EGLAPIENTRY eglFunction(arguments); | |||
* typedef return-type (EXPAPIENTRYP PFNEGLFUNCTIONPROC) (arguments); | |||
* | |||
* On Windows, EGLAPIENTRY can be defined like APIENTRY. | |||
* On most other platforms, it should be empty. | |||
*/ | |||
#ifndef EGLAPIENTRY | |||
#define EGLAPIENTRY | |||
#endif | |||
#ifndef EGLAPIENTRYP | |||
#define EGLAPIENTRYP EGLAPIENTRY * | |||
#endif | |||
/* The types NativeDisplayType, NativeWindowType, and NativePixmapType | |||
* are aliases of window-system-dependent types, such as X Display * or | |||
* Windows Device Context. They must be defined in platform-specific | |||
* code below. The EGL-prefixed versions of Native*Type are the same | |||
* types, renamed in EGL 1.3 so all types in the API start with "EGL". | |||
*/ | |||
/* Unix (tentative) | |||
#include <X headers> | |||
typedef Display *NativeDisplayType; | |||
- or maybe, if encoding "hostname:display.head" | |||
typedef const char *NativeWindowType; | |||
etc. | |||
*/ | |||
#if (defined(WIN32) || defined(_WIN32_WCE)) | |||
/** BEGIN Added for Windows **/ | |||
#ifndef EGLAPI | |||
#define EGLAPI __declspec(dllexport) | |||
#endif | |||
typedef long int32_t; | |||
typedef unsigned long u_int32_t; | |||
typedef unsigned char uint8_t; | |||
#define snprintf _snprintf | |||
#define strcasecmp _stricmp | |||
#define vsnprintf _vsnprintf | |||
typedef HDC NativeDisplayType; | |||
typedef HWND NativeWindowType; | |||
typedef HBITMAP NativePixmapType; | |||
/** END Added for Windows **/ | |||
#elif defined(__gnu_linux__) | |||
/** BEGIN Added for X (Mesa) **/ | |||
#ifndef EGLAPI | |||
#define EGLAPI extern | |||
#endif | |||
#include <X11/Xlib.h> | |||
typedef Display *NativeDisplayType; | |||
typedef Window NativeWindowType; | |||
typedef Pixmap NativePixmapType; | |||
/** END Added for X (Mesa) **/ | |||
#endif | |||
/* EGL 1.2 types, renamed for consistency in EGL 1.3 */ | |||
typedef NativeDisplayType EGLNativeDisplayType; | |||
typedef NativePixmapType EGLNativePixmapType; | |||
typedef NativeWindowType EGLNativeWindowType; | |||
#endif /* __eglplatform_h */ |
@@ -58,7 +58,11 @@ | |||
# else /* for use with static link lib build of Win32 edition only */ | |||
# define GLAPI extern | |||
# endif /* _STATIC_MESA support */ | |||
# define GLAPIENTRY __stdcall | |||
# if defined(__MINGW32__) && defined(GL_NO_STDCALL) || defined(UNDER_CE) /* The generated DLLs by MingW with STDCALL are not compatible with the ones done by Microsoft's compilers */ | |||
# define GLAPIENTRY | |||
# else | |||
# define GLAPIENTRY __stdcall | |||
# endif | |||
#elif defined(__CYGWIN__) && defined(USE_OPENGL32) /* use native windows opengl32 */ | |||
# define GLAPI extern | |||
# define GLAPIENTRY __stdcall | |||
@@ -84,8 +88,9 @@ | |||
#include <windows.h> | |||
#endif | |||
#if defined(_WIN32) && !defined(_WINGDI_) && !defined(_GNU_H_WINDOWS32_DEFINES) \ | |||
&& !defined(OPENSTEP) && !defined(__CYGWIN__) || defined(__MINGW32__) | |||
#if defined(_WIN32) && !defined(_WINGDI_) && !defined(_WIN32_WCE) \ | |||
&& !defined(_GNU_H_WINDOWS32_DEFINES) && !defined(OPENSTEP) \ | |||
&& !defined(__CYGWIN__) || defined(__MINGW32__) | |||
#include <GL/mesa_wgl.h> | |||
#endif | |||
@@ -7,35 +7,25 @@ | |||
provided without guarantee or warrantee expressed or implied. This | |||
program is -not- in the public domain. */ | |||
#if defined(_WIN32) | |||
# ifndef WIN32_LEAN_AND_MEAN | |||
# define WIN32_LEAN_AND_MEAN 1 | |||
# endif | |||
# include <windows.h> | |||
#endif | |||
#include <GL/gl.h> | |||
#include <GL/glu.h> | |||
#if defined(__MINGW32__) | |||
#include <GL/mesa_wgl.h> | |||
#endif | |||
#ifdef __cplusplus | |||
extern "C" { | |||
#endif | |||
#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. | |||
tjump@spgs.com contributes: | |||
If users are building glut code on MS Windows, then they should | |||
make sure they include windows.h early, let's not get into a | |||
header definitions war since MS has proven it's capability to | |||
change header dependencies w/o publishing they have done so. | |||
So, let's not include windows.h here, as it's not really required and | |||
MS own gl/gl.h *should* include it if the dependency is there. */ | |||
/* 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) | |||
# if defined(_MSC_VER) && !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. */ | |||
@@ -53,7 +43,7 @@ extern "C" { | |||
/* 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 | |||
# if defined(_MSC_VER) && !defined(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 | |||
@@ -119,88 +109,25 @@ extern _CRTIMP void __cdecl exit(int); | |||
#endif | |||
/* GLUT API entry point declarations for Win32. */ | |||
#if (defined(BUILD_GLUT32) || defined(GLUT_BUILDING_LIB)) && defined(_DLL) | |||
#if (defined(BUILD_GLUT32) || defined(GLUT_BUILDING_LIB)) && !defined(GLUT_STATIC) | |||
# define GLUTAPI __declspec(dllexport) | |||
#elif defined(_DLL) | |||
#elif !defined(GLUT_STATIC) | |||
# define GLUTAPI __declspec(dllimport) | |||
#else | |||
# define GLUTAPI extern | |||
#endif | |||
#if defined(_WIN32) && !defined(_WINDEF_) && !defined(MESA) | |||
# if !defined(MESA_MINWARN) | |||
# pragma message( "note: WINDOWS.H not included, providing Mesa definition of CALLBACK macro" ) | |||
# pragma message( "----: and PROC typedef. If you receive compiler warnings about either ") | |||
# pragma message( "----: being multiply defined you should include WINDOWS.H priot to gl/glut.h" ) | |||
# endif | |||
# define CALLBACK __stdcall | |||
#if !defined(__MINGW32__) | |||
typedef int (GLUTAPIENTRY *PROC)(); | |||
typedef void *HGLRC; | |||
typedef void *HDC; | |||
#endif | |||
typedef unsigned long COLORREF; | |||
#endif | |||
#if defined(_WIN32) && !defined(_WINGDI_) && !defined(MESA) | |||
# if !defined(MESA_MINWARN) | |||
# pragma message( "note: WINDOWS.H not included, providing Mesa definition of wgl functions" ) | |||
# pragma message( "----: and macros. If you receive compiler warnings about any being multiply ") | |||
# pragma message( "----: defined you should include WINDOWS.H priot to gl/glut.h" ) | |||
# endif | |||
# define WGL_FONT_LINES 0 | |||
# define WGL_FONT_POLYGONS 1 | |||
# ifdef UNICODE | |||
# define wglUseFontBitmaps wglUseFontBitmapsW | |||
# define wglUseFontOutlines wglUseFontOutlinesW | |||
# else | |||
# define wglUseFontBitmaps wglUseFontBitmapsA | |||
# define wglUseFontOutlines wglUseFontOutlinesA | |||
# endif /* !UNICODE */ | |||
typedef struct tagLAYERPLANEDESCRIPTOR LAYERPLANEDESCRIPTOR, *PLAYERPLANEDESCRIPTOR, *LPLAYERPLANEDESCRIPTOR; | |||
typedef struct _GLYPHMETRICSFLOAT GLYPHMETRICSFLOAT, *PGLYPHMETRICSFLOAT, *LPGLYPHMETRICSFLOAT; | |||
# pragma warning( push ) | |||
# pragma warning( disable : 4273 ) /* 'function' : inconsistent DLL linkage. dllexport assumed. */ | |||
# define WGLAPI __declspec(dllimport) | |||
WGLAPI int GLAPIENTRY wglDeleteContext(HGLRC); | |||
WGLAPI int GLAPIENTRY wglMakeCurrent(HDC,HGLRC); | |||
WGLAPI int GLAPIENTRY wglSetPixelFormat(HDC, int, const PIXELFORMATDESCRIPTOR *); | |||
WGLAPI int GLAPIENTRY wglSwapBuffers(HDC hdc); | |||
WGLAPI HDC GLAPIENTRY wglGetCurrentDC(void); | |||
WGLAPI HGLRC GLAPIENTRY wglCreateContext(HDC); | |||
WGLAPI HGLRC GLAPIENTRY wglCreateLayerContext(HDC,int); | |||
WGLAPI HGLRC GLAPIENTRY wglGetCurrentContext(void); | |||
WGLAPI PROC GLAPIENTRY wglGetProcAddress(const char*); | |||
WGLAPI int GLAPIENTRY wglChoosePixelFormat(HDC, const PIXELFORMATDESCRIPTOR *); | |||
WGLAPI int GLAPIENTRY wglCopyContext(HGLRC, HGLRC, unsigned int); | |||
WGLAPI int GLAPIENTRY wglDeleteContext(HGLRC); | |||
WGLAPI int GLAPIENTRY wglDescribeLayerPlane(HDC, int, int, unsigned int,LPLAYERPLANEDESCRIPTOR); | |||
WGLAPI int GLAPIENTRY wglDescribePixelFormat(HDC,int, unsigned int, LPPIXELFORMATDESCRIPTOR); | |||
WGLAPI int GLAPIENTRY wglGetLayerPaletteEntries(HDC, int, int, int,COLORREF *); | |||
WGLAPI int GLAPIENTRY wglGetPixelFormat(HDC hdc); | |||
WGLAPI int GLAPIENTRY wglMakeCurrent(HDC, HGLRC); | |||
WGLAPI int GLAPIENTRY wglRealizeLayerPalette(HDC, int, int); | |||
WGLAPI int GLAPIENTRY wglSetLayerPaletteEntries(HDC, int, int, int,const COLORREF *); | |||
WGLAPI int GLAPIENTRY wglShareLists(HGLRC, HGLRC); | |||
WGLAPI int GLAPIENTRY wglSwapLayerBuffers(HDC, unsigned int); | |||
WGLAPI int GLAPIENTRY wglUseFontBitmapsA(HDC, unsigned long, unsigned long, unsigned long); | |||
WGLAPI int GLAPIENTRY wglUseFontBitmapsW(HDC, unsigned long, unsigned long, unsigned long); | |||
WGLAPI int GLAPIENTRY wglUseFontOutlinesA(HDC, unsigned long, unsigned long, unsigned long, float,float, int, LPGLYPHMETRICSFLOAT); | |||
WGLAPI int GLAPIENTRY wglUseFontOutlinesW(HDC, unsigned long, unsigned long, unsigned long, float,float, int, LPGLYPHMETRICSFLOAT); | |||
WGLAPI int GLAPIENTRY SwapBuffers(HDC); | |||
WGLAPI int GLAPIENTRY ChoosePixelFormat(HDC,const PIXELFORMATDESCRIPTOR *); | |||
WGLAPI int GLAPIENTRY DescribePixelFormat(HDC,int,unsigned int,LPPIXELFORMATDESCRIPTOR); | |||
WGLAPI int GLAPIENTRY GetPixelFormat(HDC); | |||
WGLAPI int GLAPIENTRY SetPixelFormat(HDC,int,const PIXELFORMATDESCRIPTOR *); | |||
# undef WGLAPI | |||
# pragma warning( pop ) | |||
#endif | |||
#else /* _WIN32 not defined */ | |||
/* Define GLUTAPIENTRY and GLUTCALLBACK to nothing if we aren't on Win32. */ | |||
# define GLUTAPIENTRY GLAPIENTRY | |||
#elif defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 303 | |||
# define GLUTAPIENTRY | |||
# define GLUTAPIENTRYV | |||
# define GLUTCALLBACK | |||
# define GLUTAPI __attribute__((visibility("default"))) | |||
#else | |||
/* Define GLUTAPIENTRY and GLUTCALLBACK to nothing */ | |||
# define GLUTAPIENTRY | |||
# define GLUTAPIENTRYV | |||
# define GLUTCALLBACK | |||
# define GLUTAPI extern |
@@ -31,7 +31,9 @@ | |||
* Silicon Graphics, Inc. | |||
*/ | |||
#if !defined(_WIN32_WCE) | |||
#include <sys/types.h> | |||
#endif | |||
#define GL_CORE_SGI 1 | |||
#define GL_CORE_MESA 2 |
@@ -1,320 +1,6 @@ | |||
#ifndef _EGL_H | |||
#define _EGL_H | |||
/* | |||
* SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008) | |||
* Copyright (C) 1991-2000 Silicon Graphics, Inc. All Rights Reserved. | |||
* | |||
* Permission is hereby granted, free of charge, to any person obtaining a | |||
* copy of this software and associated documentation files (the "Software"), | |||
* to deal in the Software without restriction, including without limitation | |||
* the rights to use, copy, modify, merge, publish, distribute, sublicense, | |||
* and/or sell copies of the Software, and to permit persons to whom the | |||
* Software is furnished to do so, subject to the following conditions: | |||
* | |||
* The above copyright notice including the dates of first publication and | |||
* either this permission notice or a reference to | |||
* http://oss.sgi.com/projects/FreeB/ | |||
* shall be included in all copies or substantial portions of the Software. | |||
* | |||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS | |||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | |||
* SILICON GRAPHICS, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | |||
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF | |||
* OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |||
* SOFTWARE. | |||
* | |||
* Except as contained in this notice, the name of Silicon Graphics, Inc. | |||
* shall not be used in advertising or otherwise to promote the sale, use or | |||
* other dealings in this Software without prior written authorization from | |||
* Silicon Graphics, Inc. | |||
/* For compatibility with early OpenGL ES 1.0 implementations that | |||
* included gl.h in egl.h (and apps that only included egl.h) | |||
* See: http://www.khronos.org/registry/implementers_guide.html | |||
*/ | |||
#if 0/*XXX TEMPORARY HACK*/ | |||
#include <EGL/egl.h> | |||
#include <GLES/gl.h> | |||
#else | |||
#include <GL/gl.h> | |||
#endif | |||
#include <GLES/egltypes.h> | |||
/* XXX should go in eglext.h */ | |||
#define GL_OES_VERSION_1_0 1 | |||
#define GL_OES_read_format 1 | |||
#define GL_OES_compressed_paletted_texture 1 | |||
#define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A | |||
#define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B | |||
#define GL_PALETTE4_RGB8_OES 0x8B90 | |||
#define GL_PALETTE4_RGBA8_OES 0x8B91 | |||
#define GL_PALETTE4_R5_G6_B5_OES 0x8B92 | |||
#define GL_PALETTE4_RGBA4_OES 0x8B93 | |||
#define GL_PALETTE4_RGB5_A1_OES 0x8B94 | |||
#define GL_PALETTE8_RGB8_OES 0x8B95 | |||
#define GL_PALETTE8_RGBA8_OES 0x8B96 | |||
#define GL_PALETTE8_R5_G6_B5_OES 0x8B97 | |||
#define GL_PALETTE8_RGBA4_OES 0x8B98 | |||
#define GL_PALETTE8_RGB5_A1_OES 0x8B99 | |||
/* XXX */ | |||
/* | |||
** Versioning and extensions | |||
*/ | |||
#define EGL_VERSION_1_0 1 | |||
#define EGL_VERSION_1_1 1 | |||
/* | |||
** Boolean | |||
*/ | |||
#define EGL_FALSE 0 | |||
#define EGL_TRUE 1 | |||
/* | |||
** Errors | |||
*/ | |||
#define EGL_SUCCESS 0x3000 | |||
#define EGL_NOT_INITIALIZED 0x3001 | |||
#define EGL_BAD_ACCESS 0x3002 | |||
#define EGL_BAD_ALLOC 0x3003 | |||
#define EGL_BAD_ATTRIBUTE 0x3004 | |||
#define EGL_BAD_CONFIG 0x3005 | |||
#define EGL_BAD_CONTEXT 0x3006 | |||
#define EGL_BAD_CURRENT_SURFACE 0x3007 | |||
#define EGL_BAD_DISPLAY 0x3008 | |||
#define EGL_BAD_MATCH 0x3009 | |||
#define EGL_BAD_NATIVE_PIXMAP 0x300A | |||
#define EGL_BAD_NATIVE_WINDOW 0x300B | |||
#define EGL_BAD_PARAMETER 0x300C | |||
#define EGL_BAD_SURFACE 0x300D | |||
#define EGL_CONTEXT_LOST 0x300E | |||
/* 0x300F - 0x301F reserved for additional errors. */ | |||
/* | |||
** Config attributes | |||
*/ | |||
#define EGL_BUFFER_SIZE 0x3020 | |||
#define EGL_ALPHA_SIZE 0x3021 | |||
#define EGL_BLUE_SIZE 0x3022 | |||
#define EGL_GREEN_SIZE 0x3023 | |||
#define EGL_RED_SIZE 0x3024 | |||
#define EGL_DEPTH_SIZE 0x3025 | |||
#define EGL_STENCIL_SIZE 0x3026 | |||
#define EGL_CONFIG_CAVEAT 0x3027 | |||
#define EGL_CONFIG_ID 0x3028 | |||
#define EGL_LEVEL 0x3029 | |||
#define EGL_MAX_PBUFFER_HEIGHT 0x302A | |||
#define EGL_MAX_PBUFFER_PIXELS 0x302B | |||
#define EGL_MAX_PBUFFER_WIDTH 0x302C | |||
#define EGL_NATIVE_RENDERABLE 0x302D | |||
#define EGL_NATIVE_VISUAL_ID 0x302E | |||
#define EGL_NATIVE_VISUAL_TYPE 0x302F | |||
/*#define EGL_PRESERVED_RESOURCES 0x3030*/ | |||
#define EGL_SAMPLES 0x3031 | |||
#define EGL_SAMPLE_BUFFERS 0x3032 | |||
#define EGL_SURFACE_TYPE 0x3033 | |||
#define EGL_TRANSPARENT_TYPE 0x3034 | |||
#define EGL_TRANSPARENT_BLUE_VALUE 0x3035 | |||
#define EGL_TRANSPARENT_GREEN_VALUE 0x3036 | |||
#define EGL_TRANSPARENT_RED_VALUE 0x3037 | |||
#define EGL_NONE 0x3038 /* Also a config value */ | |||
#define EGL_BIND_TO_TEXTURE_RGB 0x3039 | |||
#define EGL_BIND_TO_TEXTURE_RGBA 0x303A | |||
#define EGL_MIN_SWAP_INTERVAL 0x303B | |||
#define EGL_MAX_SWAP_INTERVAL 0x303C | |||
/* | |||
** Config values | |||
*/ | |||
#define EGL_DONT_CARE ((EGLint) -1) | |||
#define EGL_SLOW_CONFIG 0x3050 /* EGL_CONFIG_CAVEAT value */ | |||
#define EGL_NON_CONFORMANT_CONFIG 0x3051 /* " */ | |||
#define EGL_TRANSPARENT_RGB 0x3052 /* EGL_TRANSPARENT_TYPE value */ | |||
#define EGL_NO_TEXTURE 0x305C /* EGL_TEXTURE_FORMAT/TARGET value */ | |||
#define EGL_TEXTURE_RGB 0x305D /* EGL_TEXTURE_FORMAT value */ | |||
#define EGL_TEXTURE_RGBA 0x305E /* " */ | |||
#define EGL_TEXTURE_2D 0x305F /* EGL_TEXTURE_TARGET value */ | |||
/* | |||
** Config attribute mask bits | |||
*/ | |||
#define EGL_PBUFFER_BIT 0x01 /* EGL_SURFACE_TYPE mask bit */ | |||
#define EGL_PIXMAP_BIT 0x02 /* " */ | |||
#define EGL_WINDOW_BIT 0x04 /* " */ | |||
/* | |||
** String names | |||
*/ | |||
#define EGL_VENDOR 0x3053 /* eglQueryString target */ | |||
#define EGL_VERSION 0x3054 /* " */ | |||
#define EGL_EXTENSIONS 0x3055 /* " */ | |||
/* | |||
** Surface attributes | |||
*/ | |||
#define EGL_HEIGHT 0x3056 | |||
#define EGL_WIDTH 0x3057 | |||
#define EGL_LARGEST_PBUFFER 0x3058 | |||
#define EGL_TEXTURE_FORMAT 0x3080 /* For pbuffers bound as textures */ | |||
#define EGL_TEXTURE_TARGET 0x3081 /* " */ | |||
#define EGL_MIPMAP_TEXTURE 0x3082 /* " */ | |||
#define EGL_MIPMAP_LEVEL 0x3083 /* " */ | |||
/* | |||
** BindTexImage / ReleaseTexImage buffer target | |||
*/ | |||
#define EGL_BACK_BUFFER 0x3084 | |||
/* | |||
** Current surfaces | |||
*/ | |||
#define EGL_DRAW 0x3059 | |||
#define EGL_READ 0x305A | |||
/* | |||
** Engines | |||
*/ | |||
#define EGL_CORE_NATIVE_ENGINE 0x305B | |||
/* 0x305C-0x3FFFF reserved for future use */ | |||
/* | |||
** Functions | |||
*/ | |||
#ifdef __cplusplus | |||
extern "C" { | |||
#endif | |||
GLAPI EGLint APIENTRY eglGetError (void); | |||
GLAPI EGLDisplay APIENTRY eglGetDisplay (NativeDisplayType display); | |||
GLAPI EGLBoolean APIENTRY eglInitialize (EGLDisplay dpy, EGLint *major, EGLint *minor); | |||
GLAPI EGLBoolean APIENTRY eglTerminate (EGLDisplay dpy); | |||
GLAPI const char * APIENTRY eglQueryString (EGLDisplay dpy, EGLint name); | |||
GLAPI void (* APIENTRY eglGetProcAddress (const char *procname))(void); | |||
GLAPI EGLBoolean APIENTRY eglGetConfigs (EGLDisplay dpy, EGLConfig *configs, EGLint config_size, EGLint *num_config); | |||
GLAPI EGLBoolean APIENTRY eglChooseConfig (EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint config_size, EGLint *num_config); | |||
GLAPI EGLBoolean APIENTRY eglGetConfigAttrib (EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value); | |||
GLAPI EGLSurface APIENTRY eglCreateWindowSurface (EGLDisplay dpy, EGLConfig config, NativeWindowType window, const EGLint *attrib_list); | |||
GLAPI EGLSurface APIENTRY eglCreatePixmapSurface (EGLDisplay dpy, EGLConfig config, NativePixmapType pixmap, const EGLint *attrib_list); | |||
GLAPI EGLSurface APIENTRY eglCreatePbufferSurface (EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list); | |||
GLAPI EGLBoolean APIENTRY eglDestroySurface (EGLDisplay dpy, EGLSurface surface); | |||
GLAPI EGLBoolean APIENTRY eglQuerySurface (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value); | |||
/* EGL 1.1 render-to-texture APIs */ | |||
GLAPI EGLBoolean APIENTRY eglSurfaceAttrib (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value); | |||
GLAPI EGLBoolean APIENTRY eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); | |||
GLAPI EGLBoolean APIENTRY eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); | |||
/* EGL 1.1 swap control API */ | |||
GLAPI EGLBoolean APIENTRY eglSwapInterval(EGLDisplay dpy, EGLint interval); | |||
GLAPI EGLContext APIENTRY eglCreateContext (EGLDisplay dpy, EGLConfig config, EGLContext share_list, const EGLint *attrib_list); | |||
GLAPI EGLBoolean APIENTRY eglDestroyContext (EGLDisplay dpy, EGLContext ctx); | |||
GLAPI EGLBoolean APIENTRY eglMakeCurrent (EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx); | |||
GLAPI EGLContext APIENTRY eglGetCurrentContext (void); | |||
GLAPI EGLSurface APIENTRY eglGetCurrentSurface (EGLint readdraw); | |||
GLAPI EGLDisplay APIENTRY eglGetCurrentDisplay (void); | |||
GLAPI EGLBoolean APIENTRY eglQueryContext (EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value); | |||
GLAPI EGLBoolean APIENTRY eglWaitGL (void); | |||
GLAPI EGLBoolean APIENTRY eglWaitNative (EGLint engine); | |||
GLAPI EGLBoolean APIENTRY eglSwapBuffers (EGLDisplay dpy, EGLSurface draw); | |||
GLAPI EGLBoolean APIENTRY eglCopyBuffers (EGLDisplay dpy, EGLSurface surface, NativePixmapType target); | |||
/* EGL_MESA_screen extension >>> PRELIMINARY <<< */ | |||
#ifndef EGL_MESA_screen_surface | |||
#define EGL_MESA_screen_surface 1 | |||
#define EGL_BAD_SCREEN_MESA 0x4000 | |||
#define EGL_BAD_MODE_MESA 0x4001 | |||
#define EGL_SCREEN_COUNT_MESA 0x4002 | |||
#define EGL_SCREEN_POSITION_MESA 0x4003 | |||
#define EGL_SCREEN_POSITION_GRANULARITY_MESA 0x4004 | |||
#define EGL_MODE_ID_MESA 0x4005 | |||
#define EGL_REFRESH_RATE_MESA 0x4006 | |||
#define EGL_OPTIMAL_MESA 0x4007 | |||
#define EGL_INTERLACED_MESA 0x4008 | |||
#define EGL_SCREEN_BIT_MESA 0x08 | |||
GLAPI EGLBoolean APIENTRY eglChooseModeMESA(EGLDisplay dpy, EGLScreenMESA screen, const EGLint *attrib_list, EGLModeMESA *modes, EGLint modes_size, EGLint *num_modes); | |||
GLAPI EGLBoolean APIENTRY eglGetModesMESA(EGLDisplay dpy, EGLScreenMESA screen, EGLModeMESA *modes, EGLint modes_size, EGLint *num_modes); | |||
GLAPI EGLBoolean APIENTRY eglGetModeAttribMESA(EGLDisplay dpy, EGLModeMESA mode, EGLint attribute, EGLint *value); | |||
GLAPI EGLBoolean APIENTRY eglGetScreensMESA(EGLDisplay dpy, EGLScreenMESA *screens, EGLint max_screens, EGLint *num_screens); | |||
GLAPI EGLSurface APIENTRY eglCreateScreenSurfaceMESA(EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list); | |||
GLAPI EGLBoolean APIENTRY eglShowScreenSurfaceMESA(EGLDisplay dpy, EGLint screen, EGLSurface surface, EGLModeMESA mode); | |||
GLAPI EGLBoolean APIENTRY eglScreenPositionMESA(EGLDisplay dpy, EGLScreenMESA screen, EGLint x, EGLint y); | |||
GLAPI EGLBoolean APIENTRY eglQueryScreenMESA(EGLDisplay dpy, EGLScreenMESA screen, EGLint attribute, EGLint *value); | |||
GLAPI EGLBoolean APIENTRY eglQueryScreenSurfaceMESA(EGLDisplay dpy, EGLScreenMESA screen, EGLSurface *surface); | |||
GLAPI EGLBoolean APIENTRY eglQueryScreenModeMESA(EGLDisplay dpy, EGLScreenMESA screen, EGLModeMESA *mode); | |||
GLAPI const char * APIENTRY eglQueryModeStringMESA(EGLDisplay dpy, EGLModeMESA mode); | |||
#endif /* EGL_MESA_screen_surface */ | |||
#ifndef EGL_MESA_copy_context | |||
#define EGL_MESA_copy_context 1 | |||
GLAPI EGLBoolean APIENTRY eglCopyContextMESA(EGLDisplay dpy, EGLContext source, EGLContext dest, EGLint mask); | |||
#endif /* EGL_MESA_copy_context */ | |||
/* XXX this is preliminary! */ | |||
#ifndef EGL_VERSION_1_2 | |||
#define EGL_VERSION_1_2 1 | |||
typedef int EGLenum; | |||
typedef int EGLClientBuffer; | |||
#define EGL_DISPLAY_SCALING 10000 | |||
#define EGL_UNKNOWN ((EGLint)-1) | |||
#define EGL_OPENGL_ES_BIT 0x1 | |||
#define EGL_OPENVG_BIT 0x2 | |||
#define EGL_OPENGL_ES_API 0x30A0 | |||
#define EGL_OPENVG_API 0x30A1 | |||
#define EGL_LUMINANCE_SIZE 0x303D | |||
#define EGL_ALPHA_MASK_SIZE 0x303E | |||
#define EGL_COLOR_BUFFER_TYPE 0x303F | |||
#define EGL_RENDERABLE_TYPE 0x3040 | |||
#define EGL_SINGLE_BUFFER 0x3085 | |||
#define EGL_RENDER_BUFFER 0x3086 | |||
#define EGL_COLORSPACE 0x3087 | |||
#define EGL_ALPHA_FORMAT 0x3088 | |||
#define EGL_COLORSPACE_sRGB 0x3089 | |||
#define EGL_COLORSPACE_LINEAR 0x308A | |||
#define EGL_ALPHA_FORMAT_NONPRE 0x308B | |||
#define EGL_ALPHA_FORMAT_PRE 0x308C | |||
#define EGL_CLIENT_APIS 0x308D | |||
#define EGL_RGB_BUFFER 0x308E | |||
#define EGL_LUMINANCE_BUFFER 0x308F | |||
#define EGL_HORIZONTAL_RESOLUTION 0x3090 | |||
#define EGL_VERTICAL_RESOLUTION 0x3091 | |||
#define EGL_PIXEL_ASPECT_RATIO 0x3092 | |||
#define EGL_SWAP_BEHAVIOR 0x3093 | |||
#define EGL_BUFFER_PRESERVED 0x3094 | |||
#define EGL_BUFFER_DESTROYED 0x3095 | |||
#define EGL_OPENVG_IMAGE 0x3096 | |||
#define EGL_CONTEXT_CLIENT_TYPE 0x3097 | |||
GLAPI EGLBoolean APIENTRY eglBindAPI(EGLenum api); | |||
GLAPI EGLenum APIENTRY eglQueryAPI(void); | |||
GLAPI EGLBoolean APIENTRY eglWaitClient(void); | |||
GLAPI EGLBoolean APIENTRY eglReleaseThread(void); | |||
GLAPI EGLSurface APIENTRY eglCreatePbufferFromClientBuffer(EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list); | |||
#endif /* EGL_VERSION_1_2 */ | |||
#ifdef __cplusplus | |||
} | |||
#endif | |||
#endif /* _EGL_H */ |
@@ -0,0 +1,797 @@ | |||
#ifndef __gl_h_ | |||
#define __gl_h_ | |||
#include <GLES/glplatform.h> | |||
#ifdef __cplusplus | |||
extern "C" { | |||
#endif | |||
/* | |||
** License Applicability. Except to the extent portions of this file are | |||
** made subject to an alternative license as permitted in the SGI Free | |||
** Software License B, Version 1.0 (the "License"), the contents of this | |||
** file are subject only to the provisions of the License. You may not use | |||
** this file except in compliance with the License. You may obtain a copy | |||
** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600 | |||
** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at: | |||
** | |||
** http://oss.sgi.com/projects/FreeB | |||
** | |||
** Note that, as provided in the License, the Software is distributed on an | |||
** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS | |||
** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND | |||
** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A | |||
** PARTICULAR PURPOSE, AND NON-INFRINGEMENT. | |||
** | |||
** Original Code. The Original Code is: OpenGL Sample Implementation, | |||
** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics, | |||
** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc. | |||
** Copyright in any portions created by third parties is as indicated | |||
** elsewhere herein. All Rights Reserved. | |||
** | |||
** Additional Notice Provisions: The application programming interfaces | |||
** established by SGI in conjunction with the Original Code are The | |||
** OpenGL(R) Graphics System: A Specification (Version 1.2.1), released | |||
** April 1, 1999; The OpenGL(R) Graphics System Utility Library (Version | |||
** 1.3), released November 4, 1998; and OpenGL(R) Graphics with the X | |||
** Window System(R) (Version 1.3), released October 19, 1998. This software | |||
** was created using the OpenGL(R) version 1.2.1 Sample Implementation | |||
** published by SGI, but has not been independently verified as being | |||
** compliant with the OpenGL(R) version 1.2.1 Specification. | |||
*/ | |||
typedef unsigned int GLenum; | |||
typedef unsigned char GLboolean; | |||
typedef unsigned int GLbitfield; | |||
typedef signed char GLbyte; | |||
typedef short GLshort; | |||
typedef int GLint; | |||
typedef int GLsizei; | |||
typedef unsigned char GLubyte; | |||
typedef unsigned short GLushort; | |||
typedef unsigned int GLuint; | |||
typedef float GLfloat; | |||
typedef float GLclampf; | |||
typedef void GLvoid; | |||
typedef int GLfixed; | |||
typedef int GLclampx; | |||
typedef int GLintptr; | |||
typedef int GLsizeiptr; | |||
/*************************************************************/ | |||
/* OpenGL ES core versions */ | |||
#define GL_VERSION_ES_CM_1_0 1 | |||
#define GL_VERSION_ES_CL_1_0 1 | |||
#define GL_VERSION_ES_CM_1_1 1 | |||
#define GL_VERSION_ES_CL_1_1 1 | |||
/* ClearBufferMask */ | |||
#define GL_DEPTH_BUFFER_BIT 0x00000100 | |||
#define GL_STENCIL_BUFFER_BIT 0x00000400 | |||
#define GL_COLOR_BUFFER_BIT 0x00004000 | |||
/* Boolean */ | |||
#define GL_FALSE 0 | |||
#define GL_TRUE 1 | |||
/* BeginMode */ | |||
#define GL_POINTS 0x0000 | |||
#define GL_LINES 0x0001 | |||
#define GL_LINE_LOOP 0x0002 | |||
#define GL_LINE_STRIP 0x0003 | |||
#define GL_TRIANGLES 0x0004 | |||
#define GL_TRIANGLE_STRIP 0x0005 | |||
#define GL_TRIANGLE_FAN 0x0006 | |||
/* AlphaFunction */ | |||
#define GL_NEVER 0x0200 | |||
#define GL_LESS 0x0201 | |||
#define GL_EQUAL 0x0202 | |||
#define GL_LEQUAL 0x0203 | |||
#define GL_GREATER 0x0204 | |||
#define GL_NOTEQUAL 0x0205 | |||
#define GL_GEQUAL 0x0206 | |||
#define GL_ALWAYS 0x0207 | |||
/* BlendingFactorDest */ | |||
#define GL_ZERO 0 | |||
#define GL_ONE 1 | |||
#define GL_SRC_COLOR 0x0300 | |||
#define GL_ONE_MINUS_SRC_COLOR 0x0301 | |||
#define GL_SRC_ALPHA 0x0302 | |||
#define GL_ONE_MINUS_SRC_ALPHA 0x0303 | |||
#define GL_DST_ALPHA 0x0304 | |||
#define GL_ONE_MINUS_DST_ALPHA 0x0305 | |||
/* BlendingFactorSrc */ | |||
/* GL_ZERO */ | |||
/* GL_ONE */ | |||
#define GL_DST_COLOR 0x0306 | |||
#define GL_ONE_MINUS_DST_COLOR 0x0307 | |||
#define GL_SRC_ALPHA_SATURATE 0x0308 | |||
/* GL_SRC_ALPHA */ | |||
/* GL_ONE_MINUS_SRC_ALPHA */ | |||
/* GL_DST_ALPHA */ | |||
/* GL_ONE_MINUS_DST_ALPHA */ | |||
/* ClipPlaneName */ | |||
#define GL_CLIP_PLANE0 0x3000 | |||
#define GL_CLIP_PLANE1 0x3001 | |||
#define GL_CLIP_PLANE2 0x3002 | |||
#define GL_CLIP_PLANE3 0x3003 | |||
#define GL_CLIP_PLANE4 0x3004 | |||
#define GL_CLIP_PLANE5 0x3005 | |||
/* ColorMaterialFace */ | |||
/* GL_FRONT_AND_BACK */ | |||
/* ColorMaterialParameter */ | |||
/* GL_AMBIENT_AND_DIFFUSE */ | |||
/* ColorPointerType */ | |||
/* GL_UNSIGNED_BYTE */ | |||
/* GL_FLOAT */ | |||
/* GL_FIXED */ | |||
/* CullFaceMode */ | |||
#define GL_FRONT 0x0404 | |||
#define GL_BACK 0x0405 | |||
#define GL_FRONT_AND_BACK 0x0408 | |||
/* DepthFunction */ | |||
/* GL_NEVER */ | |||
/* GL_LESS */ | |||
/* GL_EQUAL */ | |||
/* GL_LEQUAL */ | |||
/* GL_GREATER */ | |||
/* GL_NOTEQUAL */ | |||
/* GL_GEQUAL */ | |||
/* GL_ALWAYS */ | |||
/* EnableCap */ | |||
#define GL_FOG 0x0B60 | |||
#define GL_LIGHTING 0x0B50 | |||
#define GL_TEXTURE_2D 0x0DE1 | |||
#define GL_CULL_FACE 0x0B44 | |||
#define GL_ALPHA_TEST 0x0BC0 | |||
#define GL_BLEND 0x0BE2 | |||
#define GL_COLOR_LOGIC_OP 0x0BF2 | |||
#define GL_DITHER 0x0BD0 | |||
#define GL_STENCIL_TEST 0x0B90 | |||
#define GL_DEPTH_TEST 0x0B71 | |||
/* GL_LIGHT0 */ | |||
/* GL_LIGHT1 */ | |||
/* GL_LIGHT2 */ | |||
/* GL_LIGHT3 */ | |||
/* GL_LIGHT4 */ | |||
/* GL_LIGHT5 */ | |||
/* GL_LIGHT6 */ | |||
/* GL_LIGHT7 */ | |||
#define GL_POINT_SMOOTH 0x0B10 | |||
#define GL_LINE_SMOOTH 0x0B20 | |||
#define GL_SCISSOR_TEST 0x0C11 | |||
#define GL_COLOR_MATERIAL 0x0B57 | |||
#define GL_NORMALIZE 0x0BA1 | |||
#define GL_RESCALE_NORMAL 0x803A | |||
#define GL_POLYGON_OFFSET_FILL 0x8037 | |||
#define GL_VERTEX_ARRAY 0x8074 | |||
#define GL_NORMAL_ARRAY 0x8075 | |||
#define GL_COLOR_ARRAY 0x8076 | |||
#define GL_TEXTURE_COORD_ARRAY 0x8078 | |||
#define GL_MULTISAMPLE 0x809D | |||
#define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E | |||
#define GL_SAMPLE_ALPHA_TO_ONE 0x809F | |||
#define GL_SAMPLE_COVERAGE 0x80A0 | |||
/* ErrorCode */ | |||
#define GL_NO_ERROR 0 | |||
#define GL_INVALID_ENUM 0x0500 | |||
#define GL_INVALID_VALUE 0x0501 | |||
#define GL_INVALID_OPERATION 0x0502 | |||
#define GL_STACK_OVERFLOW 0x0503 | |||
#define GL_STACK_UNDERFLOW 0x0504 | |||
#define GL_OUT_OF_MEMORY 0x0505 | |||
/* FogMode */ | |||
/* GL_LINEAR */ | |||
#define GL_EXP 0x0800 | |||
#define GL_EXP2 0x0801 | |||
/* FogParameter */ | |||
#define GL_FOG_DENSITY 0x0B62 | |||
#define GL_FOG_START 0x0B63 | |||
#define GL_FOG_END 0x0B64 | |||
#define GL_FOG_MODE 0x0B65 | |||
#define GL_FOG_COLOR 0x0B66 | |||
/* FrontFaceDirection */ | |||
#define GL_CW 0x0900 | |||
#define GL_CCW 0x0901 | |||
/* GetPName */ | |||
#define GL_CURRENT_COLOR 0x0B00 | |||
#define GL_CURRENT_NORMAL 0x0B02 | |||
#define GL_CURRENT_TEXTURE_COORDS 0x0B03 | |||
#define GL_POINT_SIZE 0x0B11 | |||
#define GL_POINT_SIZE_MIN 0x8126 | |||
#define GL_POINT_SIZE_MAX 0x8127 | |||
#define GL_POINT_FADE_THRESHOLD_SIZE 0x8128 | |||
#define GL_POINT_DISTANCE_ATTENUATION 0x8129 | |||
#define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12 | |||
#define GL_LINE_WIDTH 0x0B21 | |||
#define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22 | |||
#define GL_ALIASED_POINT_SIZE_RANGE 0x846D | |||
#define GL_ALIASED_LINE_WIDTH_RANGE 0x846E | |||
#define GL_CULL_FACE_MODE 0x0B45 | |||
#define GL_FRONT_FACE 0x0B46 | |||
#define GL_SHADE_MODEL 0x0B54 | |||
#define GL_DEPTH_RANGE 0x0B70 | |||
#define GL_DEPTH_WRITEMASK 0x0B72 | |||
#define GL_DEPTH_CLEAR_VALUE 0x0B73 | |||
#define GL_DEPTH_FUNC 0x0B74 | |||
#define GL_STENCIL_CLEAR_VALUE 0x0B91 | |||
#define GL_STENCIL_FUNC 0x0B92 | |||
#define GL_STENCIL_VALUE_MASK 0x0B93 | |||
#define GL_STENCIL_FAIL 0x0B94 | |||
#define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95 | |||
#define GL_STENCIL_PASS_DEPTH_PASS 0x0B96 | |||
#define GL_STENCIL_REF 0x0B97 | |||
#define GL_STENCIL_WRITEMASK 0x0B98 | |||
#define GL_MATRIX_MODE 0x0BA0 | |||
#define GL_VIEWPORT 0x0BA2 | |||
#define GL_MODELVIEW_STACK_DEPTH 0x0BA3 | |||
#define GL_PROJECTION_STACK_DEPTH 0x0BA4 | |||
#define GL_TEXTURE_STACK_DEPTH 0x0BA5 | |||
#define GL_MODELVIEW_MATRIX 0x0BA6 | |||
#define GL_PROJECTION_MATRIX 0x0BA7 | |||
#define GL_TEXTURE_MATRIX 0x0BA8 | |||
#define GL_ALPHA_TEST_FUNC 0x0BC1 | |||
#define GL_ALPHA_TEST_REF 0x0BC2 | |||
#define GL_BLEND_DST 0x0BE0 | |||
#define GL_BLEND_SRC 0x0BE1 | |||
#define GL_LOGIC_OP_MODE 0x0BF0 | |||
#define GL_SCISSOR_BOX 0x0C10 | |||
#define GL_SCISSOR_TEST 0x0C11 | |||
#define GL_COLOR_CLEAR_VALUE 0x0C22 | |||
#define GL_COLOR_WRITEMASK 0x0C23 | |||
#define GL_UNPACK_ALIGNMENT 0x0CF5 | |||
#define GL_PACK_ALIGNMENT 0x0D05 | |||
#define GL_MAX_LIGHTS 0x0D31 | |||
#define GL_MAX_CLIP_PLANES 0x0D32 | |||
#define GL_MAX_TEXTURE_SIZE 0x0D33 | |||
#define GL_MAX_MODELVIEW_STACK_DEPTH 0x0D36 | |||
#define GL_MAX_PROJECTION_STACK_DEPTH 0x0D38 | |||
#define GL_MAX_TEXTURE_STACK_DEPTH 0x0D39 | |||
#define GL_MAX_VIEWPORT_DIMS 0x0D3A | |||
#define GL_MAX_TEXTURE_UNITS 0x84E2 | |||
#define GL_SUBPIXEL_BITS 0x0D50 | |||
#define GL_RED_BITS 0x0D52 | |||
#define GL_GREEN_BITS 0x0D53 | |||
#define GL_BLUE_BITS 0x0D54 | |||
#define GL_ALPHA_BITS 0x0D55 | |||
#define GL_DEPTH_BITS 0x0D56 | |||
#define GL_STENCIL_BITS 0x0D57 | |||
#define GL_POLYGON_OFFSET_UNITS 0x2A00 | |||
#define GL_POLYGON_OFFSET_FILL 0x8037 | |||
#define GL_POLYGON_OFFSET_FACTOR 0x8038 | |||
#define GL_TEXTURE_BINDING_2D 0x8069 | |||
#define GL_VERTEX_ARRAY_SIZE 0x807A | |||
#define GL_VERTEX_ARRAY_TYPE 0x807B | |||
#define GL_VERTEX_ARRAY_STRIDE 0x807C | |||
#define GL_NORMAL_ARRAY_TYPE 0x807E | |||
#define GL_NORMAL_ARRAY_STRIDE 0x807F | |||
#define GL_COLOR_ARRAY_SIZE 0x8081 | |||
#define GL_COLOR_ARRAY_TYPE 0x8082 | |||
#define GL_COLOR_ARRAY_STRIDE 0x8083 | |||
#define GL_TEXTURE_COORD_ARRAY_SIZE 0x8088 | |||
#define GL_TEXTURE_COORD_ARRAY_TYPE 0x8089 | |||
#define GL_TEXTURE_COORD_ARRAY_STRIDE 0x808A | |||
#define GL_VERTEX_ARRAY_POINTER 0x808E | |||
#define GL_NORMAL_ARRAY_POINTER 0x808F | |||
#define GL_COLOR_ARRAY_POINTER 0x8090 | |||
#define GL_TEXTURE_COORD_ARRAY_POINTER 0x8092 | |||
#define GL_SAMPLE_BUFFERS 0x80A8 | |||
#define GL_SAMPLES 0x80A9 | |||
#define GL_SAMPLE_COVERAGE_VALUE 0x80AA | |||
#define GL_SAMPLE_COVERAGE_INVERT 0x80AB | |||
/* GetTextureParameter */ | |||
/* GL_TEXTURE_MAG_FILTER */ | |||
/* GL_TEXTURE_MIN_FILTER */ | |||
/* GL_TEXTURE_WRAP_S */ | |||
/* GL_TEXTURE_WRAP_T */ | |||
#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 | |||
#define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 | |||
/* HintMode */ | |||
#define GL_DONT_CARE 0x1100 | |||
#define GL_FASTEST 0x1101 | |||
#define GL_NICEST 0x1102 | |||
/* HintTarget */ | |||
#define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50 | |||
#define GL_POINT_SMOOTH_HINT 0x0C51 | |||
#define GL_LINE_SMOOTH_HINT 0x0C52 | |||
#define GL_FOG_HINT 0x0C54 | |||
#define GL_GENERATE_MIPMAP_HINT 0x8192 | |||
/* LightModelParameter */ | |||
#define GL_LIGHT_MODEL_AMBIENT 0x0B53 | |||
#define GL_LIGHT_MODEL_TWO_SIDE 0x0B52 | |||
/* LightParameter */ | |||
#define GL_AMBIENT 0x1200 | |||
#define GL_DIFFUSE 0x1201 | |||
#define GL_SPECULAR 0x1202 | |||
#define GL_POSITION 0x1203 | |||
#define GL_SPOT_DIRECTION 0x1204 | |||
#define GL_SPOT_EXPONENT 0x1205 | |||
#define GL_SPOT_CUTOFF 0x1206 | |||
#define GL_CONSTANT_ATTENUATION 0x1207 | |||
#define GL_LINEAR_ATTENUATION 0x1208 | |||
#define GL_QUADRATIC_ATTENUATION 0x1209 | |||
/* DataType */ | |||
#define GL_BYTE 0x1400 | |||
#define GL_UNSIGNED_BYTE 0x1401 | |||
#define GL_SHORT 0x1402 | |||
#define GL_UNSIGNED_SHORT 0x1403 | |||
#define GL_FLOAT 0x1406 | |||
#define GL_FIXED 0x140C | |||
/* LogicOp */ | |||
#define GL_CLEAR 0x1500 | |||
#define GL_AND 0x1501 | |||
#define GL_AND_REVERSE 0x1502 | |||
#define GL_COPY 0x1503 | |||
#define GL_AND_INVERTED 0x1504 | |||
#define GL_NOOP 0x1505 | |||
#define GL_XOR 0x1506 | |||
#define GL_OR 0x1507 | |||
#define GL_NOR 0x1508 | |||
#define GL_EQUIV 0x1509 | |||
#define GL_INVERT 0x150A | |||
#define GL_OR_REVERSE 0x150B | |||
#define GL_COPY_INVERTED 0x150C | |||
#define GL_OR_INVERTED 0x150D | |||
#define GL_NAND 0x150E | |||
#define GL_SET 0x150F | |||
/* MaterialFace */ | |||
/* GL_FRONT_AND_BACK */ | |||
/* MaterialParameter */ | |||
#define GL_EMISSION 0x1600 | |||
#define GL_SHININESS 0x1601 | |||
#define GL_AMBIENT_AND_DIFFUSE 0x1602 | |||
/* GL_AMBIENT */ | |||
/* GL_DIFFUSE */ | |||
/* GL_SPECULAR */ | |||
/* MatrixMode */ | |||
#define GL_MODELVIEW 0x1700 | |||
#define GL_PROJECTION 0x1701 | |||
#define GL_TEXTURE 0x1702 | |||
/* NormalPointerType */ | |||
/* GL_BYTE */ | |||
/* GL_SHORT */ | |||
/* GL_FLOAT */ | |||
/* GL_FIXED */ | |||
/* PixelFormat */ | |||
#define GL_ALPHA 0x1906 | |||
#define GL_RGB 0x1907 | |||
#define GL_RGBA 0x1908 | |||
#define GL_LUMINANCE 0x1909 | |||
#define GL_LUMINANCE_ALPHA 0x190A | |||
/* PixelStoreParameter */ | |||
#define GL_UNPACK_ALIGNMENT 0x0CF5 | |||
#define GL_PACK_ALIGNMENT 0x0D05 | |||
/* PixelType */ | |||
/* GL_UNSIGNED_BYTE */ | |||
#define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 | |||
#define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 | |||
#define GL_UNSIGNED_SHORT_5_6_5 0x8363 | |||
/* ShadingModel */ | |||
#define GL_FLAT 0x1D00 | |||
#define GL_SMOOTH 0x1D01 | |||
/* StencilFunction */ | |||
/* GL_NEVER */ | |||
/* GL_LESS */ | |||
/* GL_EQUAL */ | |||
/* GL_LEQUAL */ | |||
/* GL_GREATER */ | |||
/* GL_NOTEQUAL */ | |||
/* GL_GEQUAL */ | |||
/* GL_ALWAYS */ | |||
/* StencilOp */ | |||
/* GL_ZERO */ | |||
#define GL_KEEP 0x1E00 | |||
#define GL_REPLACE 0x1E01 | |||
#define GL_INCR 0x1E02 | |||
#define GL_DECR 0x1E03 | |||
/* GL_INVERT */ | |||
/* StringName */ | |||
#define GL_VENDOR 0x1F00 | |||
#define GL_RENDERER 0x1F01 | |||
#define GL_VERSION 0x1F02 | |||
#define GL_EXTENSIONS 0x1F03 | |||
/* TexCoordPointerType */ | |||
/* GL_SHORT */ | |||
/* GL_FLOAT */ | |||
/* GL_FIXED */ | |||
/* GL_BYTE */ | |||
/* TextureEnvMode */ | |||
#define GL_MODULATE 0x2100 | |||
#define GL_DECAL 0x2101 | |||
/* GL_BLEND */ | |||
#define GL_ADD 0x0104 | |||
/* GL_REPLACE */ | |||
/* TextureEnvParameter */ | |||
#define GL_TEXTURE_ENV_MODE 0x2200 | |||
#define GL_TEXTURE_ENV_COLOR 0x2201 | |||
/* TextureEnvTarget */ | |||
#define GL_TEXTURE_ENV 0x2300 | |||
/* TextureMagFilter */ | |||
#define GL_NEAREST 0x2600 | |||
#define GL_LINEAR 0x2601 | |||
/* TextureMinFilter */ | |||
/* GL_NEAREST */ | |||
/* GL_LINEAR */ | |||
#define GL_NEAREST_MIPMAP_NEAREST 0x2700 | |||
#define GL_LINEAR_MIPMAP_NEAREST 0x2701 | |||
#define GL_NEAREST_MIPMAP_LINEAR 0x2702 | |||
#define GL_LINEAR_MIPMAP_LINEAR 0x2703 | |||
/* TextureParameterName */ | |||
#define GL_TEXTURE_MAG_FILTER 0x2800 | |||
#define GL_TEXTURE_MIN_FILTER 0x2801 | |||
#define GL_TEXTURE_WRAP_S 0x2802 | |||
#define GL_TEXTURE_WRAP_T 0x2803 | |||
#define GL_GENERATE_MIPMAP 0x8191 | |||
/* TextureTarget */ | |||
/* GL_TEXTURE_2D */ | |||
/* TextureUnit */ | |||
#define GL_TEXTURE0 0x84C0 | |||
#define GL_TEXTURE1 0x84C1 | |||
#define GL_TEXTURE2 0x84C2 | |||
#define GL_TEXTURE3 0x84C3 | |||
#define GL_TEXTURE4 0x84C4 | |||
#define GL_TEXTURE5 0x84C5 | |||
#define GL_TEXTURE6 0x84C6 | |||
#define GL_TEXTURE7 0x84C7 | |||
#define GL_TEXTURE8 0x84C8 | |||
#define GL_TEXTURE9 0x84C9 | |||
#define GL_TEXTURE10 0x84CA | |||
#define GL_TEXTURE11 0x84CB | |||
#define GL_TEXTURE12 0x84CC | |||
#define GL_TEXTURE13 0x84CD | |||
#define GL_TEXTURE14 0x84CE | |||
#define GL_TEXTURE15 0x84CF | |||
#define GL_TEXTURE16 0x84D0 | |||
#define GL_TEXTURE17 0x84D1 | |||
#define GL_TEXTURE18 0x84D2 | |||
#define GL_TEXTURE19 0x84D3 | |||
#define GL_TEXTURE20 0x84D4 | |||
#define GL_TEXTURE21 0x84D5 | |||
#define GL_TEXTURE22 0x84D6 | |||
#define GL_TEXTURE23 0x84D7 | |||
#define GL_TEXTURE24 0x84D8 | |||
#define GL_TEXTURE25 0x84D9 | |||
#define GL_TEXTURE26 0x84DA | |||
#define GL_TEXTURE27 0x84DB | |||
#define GL_TEXTURE28 0x84DC | |||
#define GL_TEXTURE29 0x84DD | |||
#define GL_TEXTURE30 0x84DE | |||
#define GL_TEXTURE31 0x84DF | |||
#define GL_ACTIVE_TEXTURE 0x84E0 | |||
#define GL_CLIENT_ACTIVE_TEXTURE 0x84E1 | |||
/* TextureWrapMode */ | |||
#define GL_REPEAT 0x2901 | |||
#define GL_CLAMP_TO_EDGE 0x812F | |||
/* VertexPointerType */ | |||
/* GL_SHORT */ | |||
/* GL_FLOAT */ | |||
/* GL_FIXED */ | |||
/* GL_BYTE */ | |||
/* LightName */ | |||
#define GL_LIGHT0 0x4000 | |||
#define GL_LIGHT1 0x4001 | |||
#define GL_LIGHT2 0x4002 | |||
#define GL_LIGHT3 0x4003 | |||
#define GL_LIGHT4 0x4004 | |||
#define GL_LIGHT5 0x4005 | |||
#define GL_LIGHT6 0x4006 | |||
#define GL_LIGHT7 0x4007 | |||
/* Buffer Objects */ | |||
#define GL_ARRAY_BUFFER 0x8892 | |||
#define GL_ELEMENT_ARRAY_BUFFER 0x8893 | |||
#define GL_ARRAY_BUFFER_BINDING 0x8894 | |||
#define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 | |||
#define GL_VERTEX_ARRAY_BUFFER_BINDING 0x8896 | |||
#define GL_NORMAL_ARRAY_BUFFER_BINDING 0x8897 | |||
#define GL_COLOR_ARRAY_BUFFER_BINDING 0x8898 | |||
#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A | |||
#define GL_STATIC_DRAW 0x88E4 | |||
#define GL_DYNAMIC_DRAW 0x88E8 | |||
#define GL_BUFFER_SIZE 0x8764 | |||
#define GL_BUFFER_USAGE 0x8765 | |||
/* Texture combine + dot3 */ | |||
#define GL_SUBTRACT 0x84E7 | |||
#define GL_COMBINE 0x8570 | |||
#define GL_COMBINE_RGB 0x8571 | |||
#define GL_COMBINE_ALPHA 0x8572 | |||
#define GL_RGB_SCALE 0x8573 | |||
#define GL_ADD_SIGNED 0x8574 | |||
#define GL_INTERPOLATE 0x8575 | |||
#define GL_CONSTANT 0x8576 | |||
#define GL_PRIMARY_COLOR 0x8577 | |||
#define GL_PREVIOUS 0x8578 | |||
#define GL_OPERAND0_RGB 0x8590 | |||
#define GL_OPERAND1_RGB 0x8591 | |||
#define GL_OPERAND2_RGB 0x8592 | |||
#define GL_OPERAND0_ALPHA 0x8598 | |||
#define GL_OPERAND1_ALPHA 0x8599 | |||
#define GL_OPERAND2_ALPHA 0x859A | |||
#define GL_ALPHA_SCALE 0x0D1C | |||
#define GL_SRC0_RGB 0x8580 | |||
#define GL_SRC1_RGB 0x8581 | |||
#define GL_SRC2_RGB 0x8582 | |||
#define GL_SRC0_ALPHA 0x8588 | |||
#define GL_SRC1_ALPHA 0x8589 | |||
#define GL_SRC2_ALPHA 0x858A | |||
#define GL_DOT3_RGB 0x86AE | |||
#define GL_DOT3_RGBA 0x86AF | |||
/*------------------------------------------------------------------------* | |||
* required OES extension tokens | |||
*------------------------------------------------------------------------*/ | |||
/* OES_read_format */ | |||
#ifndef GL_OES_read_format | |||
#define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A | |||
#define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B | |||
#endif | |||
/* GL_OES_compressed_paletted_texture */ | |||
#ifndef GL_OES_compressed_paletted_texture | |||
#define GL_PALETTE4_RGB8_OES 0x8B90 | |||
#define GL_PALETTE4_RGBA8_OES 0x8B91 | |||
#define GL_PALETTE4_R5_G6_B5_OES 0x8B92 | |||
#define GL_PALETTE4_RGBA4_OES 0x8B93 | |||
#define GL_PALETTE4_RGB5_A1_OES 0x8B94 | |||
#define GL_PALETTE8_RGB8_OES 0x8B95 | |||
#define GL_PALETTE8_RGBA8_OES 0x8B96 | |||
#define GL_PALETTE8_R5_G6_B5_OES 0x8B97 | |||
#define GL_PALETTE8_RGBA4_OES 0x8B98 | |||
#define GL_PALETTE8_RGB5_A1_OES 0x8B99 | |||
#endif | |||
/* OES_point_size_array */ | |||
#ifndef GL_OES_point_size_array | |||
#define GL_POINT_SIZE_ARRAY_OES 0x8B9C | |||
#define GL_POINT_SIZE_ARRAY_TYPE_OES 0x898A | |||
#define GL_POINT_SIZE_ARRAY_STRIDE_OES 0x898B | |||
#define GL_POINT_SIZE_ARRAY_POINTER_OES 0x898C | |||
#define GL_POINT_SIZE_ARRAY_BUFFER_BINDING_OES 0x8B9F | |||
#endif | |||
/* GL_OES_point_sprite */ | |||
#ifndef GL_OES_point_sprite | |||
#define GL_POINT_SPRITE_OES 0x8861 | |||
#define GL_COORD_REPLACE_OES 0x8862 | |||
#endif | |||
/*************************************************************/ | |||
/* Available only in Common profile */ | |||
GL_API void GL_APIENTRY glAlphaFunc (GLenum func, GLclampf ref); | |||
GL_API void GL_APIENTRY glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); | |||
GL_API void GL_APIENTRY glClearDepthf (GLclampf depth); | |||
GL_API void GL_APIENTRY glClipPlanef (GLenum plane, const GLfloat *equation); | |||
GL_API void GL_APIENTRY glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); | |||
GL_API void GL_APIENTRY glDepthRangef (GLclampf zNear, GLclampf zFar); | |||
GL_API void GL_APIENTRY glFogf (GLenum pname, GLfloat param); | |||
GL_API void GL_APIENTRY glFogfv (GLenum pname, const GLfloat *params); | |||
GL_API void GL_APIENTRY glFrustumf (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar); | |||
GL_API void GL_APIENTRY glGetClipPlanef (GLenum pname, GLfloat eqn[4]); | |||
GL_API void GL_APIENTRY glGetFloatv (GLenum pname, GLfloat *params); | |||
GL_API void GL_APIENTRY glGetLightfv (GLenum light, GLenum pname, GLfloat *params); | |||
GL_API void GL_APIENTRY glGetMaterialfv (GLenum face, GLenum pname, GLfloat *params); | |||
GL_API void GL_APIENTRY glGetTexEnvfv (GLenum env, GLenum pname, GLfloat *params); | |||
GL_API void GL_APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params); | |||
GL_API void GL_APIENTRY glLightModelf (GLenum pname, GLfloat param); | |||
GL_API void GL_APIENTRY glLightModelfv (GLenum pname, const GLfloat *params); | |||
GL_API void GL_APIENTRY glLightf (GLenum light, GLenum pname, GLfloat param); | |||
GL_API void GL_APIENTRY glLightfv (GLenum light, GLenum pname, const GLfloat *params); | |||
GL_API void GL_APIENTRY glLineWidth (GLfloat width); | |||
GL_API void GL_APIENTRY glLoadMatrixf (const GLfloat *m); | |||
GL_API void GL_APIENTRY glMaterialf (GLenum face, GLenum pname, GLfloat param); | |||
GL_API void GL_APIENTRY glMaterialfv (GLenum face, GLenum pname, const GLfloat *params); | |||
GL_API void GL_APIENTRY glMultMatrixf (const GLfloat *m); | |||
GL_API void GL_APIENTRY glMultiTexCoord4f (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); | |||
GL_API void GL_APIENTRY glNormal3f (GLfloat nx, GLfloat ny, GLfloat nz); | |||
GL_API void GL_APIENTRY glOrthof (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar); | |||
GL_API void GL_APIENTRY glPointParameterf (GLenum pname, GLfloat param); | |||
GL_API void GL_APIENTRY glPointParameterfv (GLenum pname, const GLfloat *params); | |||
GL_API void GL_APIENTRY glPointSize (GLfloat size); | |||
GL_API void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat units); | |||
GL_API void GL_APIENTRY glRotatef (GLfloat angle, GLfloat x, GLfloat y, GLfloat z); | |||
GL_API void GL_APIENTRY glScalef (GLfloat x, GLfloat y, GLfloat z); | |||
GL_API void GL_APIENTRY glTexEnvf (GLenum target, GLenum pname, GLfloat param); | |||
GL_API void GL_APIENTRY glTexEnvfv (GLenum target, GLenum pname, const GLfloat *params); | |||
GL_API void GL_APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param); | |||
GL_API void GL_APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params); | |||
GL_API void GL_APIENTRY glTranslatef (GLfloat x, GLfloat y, GLfloat z); | |||
/* Available in both Common and Common-Lite profiles */ | |||
GL_API void GL_APIENTRY glActiveTexture (GLenum texture); | |||
GL_API void GL_APIENTRY glAlphaFuncx (GLenum func, GLclampx ref); | |||
GL_API void GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer); | |||
GL_API void GL_APIENTRY glBindTexture (GLenum target, GLuint texture); | |||
GL_API void GL_APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor); | |||
GL_API void GL_APIENTRY glBufferData (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage); | |||
GL_API void GL_APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data); | |||
GL_API void GL_APIENTRY glClear (GLbitfield mask); | |||
GL_API void GL_APIENTRY glClearColorx (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha); | |||
GL_API void GL_APIENTRY glClearDepthx (GLclampx depth); | |||
GL_API void GL_APIENTRY glClearStencil (GLint s); | |||
GL_API void GL_APIENTRY glClientActiveTexture (GLenum texture); | |||
GL_API void GL_APIENTRY glClipPlanex (GLenum plane, const GLfixed *equation); | |||
GL_API void GL_APIENTRY glColor4ub (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha); | |||
GL_API void GL_APIENTRY glColor4x (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); | |||
GL_API void GL_APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); | |||
GL_API void GL_APIENTRY glColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); | |||
GL_API void GL_APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); | |||
GL_API void GL_APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); | |||
GL_API void GL_APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); | |||
GL_API void GL_APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); | |||
GL_API void GL_APIENTRY glCullFace (GLenum mode); | |||
GL_API void GL_APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers); | |||
GL_API void GL_APIENTRY glDeleteTextures (GLsizei n, const GLuint *textures); | |||
GL_API void GL_APIENTRY glDepthFunc (GLenum func); | |||
GL_API void GL_APIENTRY glDepthMask (GLboolean flag); | |||
GL_API void GL_APIENTRY glDepthRangex (GLclampx zNear, GLclampx zFar); | |||
GL_API void GL_APIENTRY glDisable (GLenum cap); | |||
GL_API void GL_APIENTRY glDisableClientState (GLenum array); | |||
GL_API void GL_APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count); | |||
GL_API void GL_APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices); | |||
GL_API void GL_APIENTRY glEnable (GLenum cap); | |||
GL_API void GL_APIENTRY glEnableClientState (GLenum array); | |||
GL_API void GL_APIENTRY glFinish (void); | |||
GL_API void GL_APIENTRY glFlush (void); | |||
GL_API void GL_APIENTRY glFogx (GLenum pname, GLfixed param); | |||
GL_API void GL_APIENTRY glFogxv (GLenum pname, const GLfixed *params); | |||
GL_API void GL_APIENTRY glFrontFace (GLenum mode); | |||
GL_API void GL_APIENTRY glFrustumx (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar); | |||
GL_API void GL_APIENTRY glGetBooleanv (GLenum pname, GLboolean *params); | |||
GL_API void GL_APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params); | |||
GL_API void GL_APIENTRY glGetClipPlanex (GLenum pname, GLfixed eqn[4]); | |||
GL_API void GL_APIENTRY glGenBuffers (GLsizei n, GLuint *buffers); | |||
GL_API void GL_APIENTRY glGenTextures (GLsizei n, GLuint *textures); | |||
GL_API GLenum GL_APIENTRY glGetError (void); | |||
GL_API void GL_APIENTRY glGetFixedv (GLenum pname, GLfixed *params); | |||
GL_API void GL_APIENTRY glGetIntegerv (GLenum pname, GLint *params); | |||
GL_API void GL_APIENTRY glGetLightxv (GLenum light, GLenum pname, GLfixed *params); | |||
GL_API void GL_APIENTRY glGetMaterialxv (GLenum face, GLenum pname, GLfixed *params); | |||
GL_API void GL_APIENTRY glGetPointerv (GLenum pname, void **params); | |||
GL_API const GLubyte * GL_APIENTRY glGetString (GLenum name); | |||
GL_API void GL_APIENTRY glGetTexEnviv (GLenum env, GLenum pname, GLint *params); | |||
GL_API void GL_APIENTRY glGetTexEnvxv (GLenum env, GLenum pname, GLfixed *params); | |||
GL_API void GL_APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params); | |||
GL_API void GL_APIENTRY glGetTexParameterxv (GLenum target, GLenum pname, GLfixed *params); | |||
GL_API void GL_APIENTRY glHint (GLenum target, GLenum mode); | |||
GL_API GLboolean GL_APIENTRY glIsBuffer (GLuint buffer); | |||
GL_API GLboolean GL_APIENTRY glIsEnabled (GLenum cap); | |||
GL_API GLboolean GL_APIENTRY glIsTexture (GLuint texture); | |||
GL_API void GL_APIENTRY glLightModelx (GLenum pname, GLfixed param); | |||
GL_API void GL_APIENTRY glLightModelxv (GLenum pname, const GLfixed *params); | |||
GL_API void GL_APIENTRY glLightx (GLenum light, GLenum pname, GLfixed param); | |||
GL_API void GL_APIENTRY glLightxv (GLenum light, GLenum pname, const GLfixed *params); | |||
GL_API void GL_APIENTRY glLineWidthx (GLfixed width); | |||
GL_API void GL_APIENTRY glLoadIdentity (void); | |||
GL_API void GL_APIENTRY glLoadMatrixx (const GLfixed *m); | |||
GL_API void GL_APIENTRY glLogicOp (GLenum opcode); | |||
GL_API void GL_APIENTRY glMaterialx (GLenum face, GLenum pname, GLfixed param); | |||
GL_API void GL_APIENTRY glMaterialxv (GLenum face, GLenum pname, const GLfixed *params); | |||
GL_API void GL_APIENTRY glMatrixMode (GLenum mode); | |||
GL_API void GL_APIENTRY glMultMatrixx (const GLfixed *m); | |||
GL_API void GL_APIENTRY glMultiTexCoord4x (GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q); | |||
GL_API void GL_APIENTRY glNormal3x (GLfixed nx, GLfixed ny, GLfixed nz); | |||
GL_API void GL_APIENTRY glNormalPointer (GLenum type, GLsizei stride, const GLvoid *pointer); | |||
GL_API void GL_APIENTRY glOrthox (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar); | |||
GL_API void GL_APIENTRY glPixelStorei (GLenum pname, GLint param); | |||
GL_API void GL_APIENTRY glPointParameterx (GLenum pname, GLfixed param); | |||
GL_API void GL_APIENTRY glPointParameterxv (GLenum pname, const GLfixed *params); | |||
GL_API void GL_APIENTRY glPointSizex (GLfixed size); | |||
GL_API void GL_APIENTRY glPolygonOffsetx (GLfixed factor, GLfixed units); | |||
GL_API void GL_APIENTRY glPopMatrix (void); | |||
GL_API void GL_APIENTRY glPushMatrix (void); | |||
GL_API void GL_APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels); | |||
GL_API void GL_APIENTRY glRotatex (GLfixed angle, GLfixed x, GLfixed y, GLfixed z); | |||
GL_API void GL_APIENTRY glSampleCoverage (GLclampf value, GLboolean invert); | |||
GL_API void GL_APIENTRY glSampleCoveragex (GLclampx value, GLboolean invert); | |||
GL_API void GL_APIENTRY glScalex (GLfixed x, GLfixed y, GLfixed z); | |||
GL_API void GL_APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height); | |||
GL_API void GL_APIENTRY glShadeModel (GLenum mode); | |||
GL_API void GL_APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask); | |||
GL_API void GL_APIENTRY glStencilMask (GLuint mask); | |||
GL_API void GL_APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass); | |||
GL_API void GL_APIENTRY glTexCoordPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); | |||
GL_API void GL_APIENTRY glTexEnvi (GLenum target, GLenum pname, GLint param); | |||
GL_API void GL_APIENTRY glTexEnvx (GLenum target, GLenum pname, GLfixed param); | |||
GL_API void GL_APIENTRY glTexEnviv (GLenum target, GLenum pname, const GLint *params); | |||
GL_API void GL_APIENTRY glTexEnvxv (GLenum target, GLenum pname, const GLfixed *params); | |||
GL_API void GL_APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels); | |||
GL_API void GL_APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param); | |||
GL_API void GL_APIENTRY glTexParameterx (GLenum target, GLenum pname, GLfixed param); | |||
GL_API void GL_APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params); | |||
GL_API void GL_APIENTRY glTexParameterxv (GLenum target, GLenum pname, const GLfixed *params); | |||
GL_API void GL_APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); | |||
GL_API void GL_APIENTRY glTranslatex (GLfixed x, GLfixed y, GLfixed z); | |||
GL_API void GL_APIENTRY glVertexPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); | |||
GL_API void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height); | |||
/*------------------------------------------------------------------------* | |||
* Required OES extension functions | |||
*------------------------------------------------------------------------*/ | |||
/* GL_OES_read_format */ | |||
#ifndef GL_OES_read_format | |||
#define GL_OES_read_format 1 | |||
#endif | |||
/* GL_OES_compressed_paletted_texture */ | |||
#ifndef GL_OES_compressed_paletted_texture | |||
#define GL_OES_compressed_paletted_texture 1 | |||
#endif | |||
/* GL_OES_point_size_array */ | |||
#ifndef GL_OES_point_size_array | |||
#define GL_OES_point_size_array 1 | |||
GL_API void GL_APIENTRY glPointSizePointerOES (GLenum type, GLsizei stride, const GLvoid *pointer); | |||
#endif | |||
/* GL_OES_point_sprite */ | |||
#ifndef GL_OES_point_sprite | |||
#define GL_OES_point_sprite 1 | |||
#endif | |||
#ifdef __cplusplus | |||
} | |||
#endif | |||
#endif /* __gl_h_ */ | |||
@@ -0,0 +1,607 @@ | |||
#ifndef __glext_h_ | |||
#define __glext_h_ | |||
#ifdef __cplusplus | |||
extern "C" { | |||
#endif | |||
/* | |||
** License Applicability. Except to the extent portions of this file are | |||
** made subject to an alternative license as permitted in the SGI Free | |||
** Software License B, Version 1.0 (the "License"), the contents of this | |||
** file are subject only to the provisions of the License. You may not use | |||
** this file except in compliance with the License. You may obtain a copy | |||
** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600 | |||
** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at: | |||
** | |||
** http://oss.sgi.com/projects/FreeB | |||
** | |||
** Note that, as provided in the License, the Software is distributed on an | |||
** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS | |||
** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND | |||
** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A | |||
** PARTICULAR PURPOSE, AND NON-INFRINGEMENT. | |||
** | |||
** Original Code. The Original Code is: OpenGL Sample Implementation, | |||
** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics, | |||
** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc. | |||
** Copyright in any portions created by third parties is as indicated | |||
** elsewhere herein. All Rights Reserved. | |||
** | |||
** Additional Notice Provisions: The application programming interfaces | |||
** established by SGI in conjunction with the Original Code are The | |||
** OpenGL(R) Graphics System: A Specification (Version 1.2.1), released | |||
** April 1, 1999; The OpenGL(R) Graphics System Utility Library (Version | |||
** 1.3), released November 4, 1998; and OpenGL(R) Graphics with the X | |||
** Window System(R) (Version 1.3), released October 19, 1998. This software | |||
** was created using the OpenGL(R) version 1.2.1 Sample Implementation | |||
** published by SGI, but has not been independently verified as being | |||
** compliant with the OpenGL(R) version 1.2.1 Specification. | |||
*/ | |||
#ifndef GL_APIENTRYP | |||
# define GL_APIENTRYP GL_APIENTRY* | |||
#endif | |||
/*------------------------------------------------------------------------* | |||
* OES extension tokens | |||
*------------------------------------------------------------------------*/ | |||
/* GL_OES_blend_equation_separate */ | |||
#ifndef GL_OES_blend_equation_separate | |||
/* BLEND_EQUATION_RGB_OES same as BLEND_EQUATION_OES */ | |||
#define GL_BLEND_EQUATION_RGB_OES 0x8009 | |||
#define GL_BLEND_EQUATION_ALPHA_OES 0x883D | |||
#endif | |||
/* GL_OES_blend_func_separate */ | |||
#ifndef GL_OES_blend_func_separate | |||
#define GL_BLEND_DST_RGB_OES 0x80C8 | |||
#define GL_BLEND_SRC_RGB_OES 0x80C9 | |||
#define GL_BLEND_DST_ALPHA_OES 0x80CA | |||
#define GL_BLEND_SRC_ALPHA_OES 0x80CB | |||
#endif | |||
/* GL_OES_blend_subtract */ | |||
#ifndef GL_OES_blend_subtract | |||
#define GL_BLEND_EQUATION_OES 0x8009 | |||
#define GL_FUNC_ADD_OES 0x8006 | |||
#define GL_FUNC_SUBTRACT_OES 0x800A | |||
#define GL_FUNC_REVERSE_SUBTRACT_OES 0x800B | |||
#endif | |||
/* GL_OES_compressed_ETC1_RGB8_texture */ | |||
#ifndef GL_OES_compressed_ETC1_RGB8_texture | |||
#define GL_ETC1_RGB8_OES 0x8D64 | |||
#endif | |||
/* OES_draw_texture */ | |||
#ifndef GL_OES_draw_texture | |||
#define GL_TEXTURE_CROP_RECT_OES 0x8B9D | |||
#endif | |||
/* OES_fixed_point */ | |||
#ifndef GL_OES_fixed_point | |||
#define GL_FIXED_OES 0x140C | |||
#endif | |||
/* OES_framebuffer_object */ | |||
#ifndef GL_OES_framebuffer_object | |||
#define GL_NONE_OES 0 | |||
#define GL_FRAMEBUFFER_OES 0x8D40 | |||
#define GL_RENDERBUFFER_OES 0x8D41 | |||
#define GL_RGBA4_OES 0x8056 | |||
#define GL_RGB5_A1_OES 0x8057 | |||
#define GL_RGB565_OES 0x8D62 | |||
#define GL_DEPTH_COMPONENT16_OES 0x81A5 | |||
#define GL_RENDERBUFFER_WIDTH_OES 0x8D42 | |||
#define GL_RENDERBUFFER_HEIGHT_OES 0x8D43 | |||
#define GL_RENDERBUFFER_INTERNAL_FORMAT_OES 0x8D44 | |||
#define GL_RENDERBUFFER_RED_SIZE_OES 0x8D50 | |||
#define GL_RENDERBUFFER_GREEN_SIZE_OES 0x8D51 | |||
#define GL_RENDERBUFFER_BLUE_SIZE_OES 0x8D52 | |||
#define GL_RENDERBUFFER_ALPHA_SIZE_OES 0x8D53 | |||
#define GL_RENDERBUFFER_DEPTH_SIZE_OES 0x8D54 | |||
#define GL_RENDERBUFFER_STENCIL_SIZE_OES 0x8D55 | |||
#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_OES 0x8CD0 | |||
#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_OES 0x8CD1 | |||
#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_OES 0x8CD2 | |||
#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_OES 0x8CD3 | |||
#define GL_COLOR_ATTACHMENT0_OES 0x8CE0 | |||
#define GL_DEPTH_ATTACHMENT_OES 0x8D00 | |||
#define GL_STENCIL_ATTACHMENT_OES 0x8D20 | |||
#define GL_FRAMEBUFFER_COMPLETE_OES 0x8CD5 | |||
#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_OES 0x8CD6 | |||
#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_OES 0x8CD7 | |||
#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_OES 0x8CD9 | |||
#define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_OES 0x8CDA | |||
#define GL_FRAMEBUFFER_UNSUPPORTED_OES 0x8CDD | |||
#define GL_FRAMEBUFFER_BINDING_OES 0x8CA6 | |||
#define GL_RENDERBUFFER_BINDING_OES 0x8CA7 | |||
#define GL_MAX_RENDERBUFFER_SIZE_OES 0x84E8 | |||
#define GL_INVALID_FRAMEBUFFER_OPERATION_OES 0x0506 | |||
#endif | |||
/* OES_matrix_get */ | |||
#ifndef GL_OES_matrix_get | |||
#define GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES 0x898D | |||
#define GL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS_OES 0x898E | |||
#define GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES 0x898F | |||
#endif | |||
/* OES_matrix_palette */ | |||
#ifndef GL_OES_matrix_palette | |||
#define GL_MAX_VERTEX_UNITS_OES 0x86A4 | |||
#define GL_MAX_PALETTE_MATRICES_OES 0x8842 | |||
#define GL_MATRIX_PALETTE_OES 0x8840 | |||
#define GL_MATRIX_INDEX_ARRAY_OES 0x8844 | |||
#define GL_WEIGHT_ARRAY_OES 0x86AD | |||
#define GL_CURRENT_PALETTE_MATRIX_OES 0x8843 | |||
#define GL_MATRIX_INDEX_ARRAY_SIZE_OES 0x8846 | |||
#define GL_MATRIX_INDEX_ARRAY_TYPE_OES 0x8847 | |||
#define GL_MATRIX_INDEX_ARRAY_STRIDE_OES 0x8848 | |||
#define GL_MATRIX_INDEX_ARRAY_POINTER_OES 0x8849 | |||
#define GL_MATRIX_INDEX_ARRAY_BUFFER_BINDING_OES 0x8B9E | |||
#define GL_WEIGHT_ARRAY_SIZE_OES 0x86AB | |||
#define GL_WEIGHT_ARRAY_TYPE_OES 0x86A9 | |||
#define GL_WEIGHT_ARRAY_STRIDE_OES 0x86AA | |||
#define GL_WEIGHT_ARRAY_POINTER_OES 0x86AC | |||
#define GL_WEIGHT_ARRAY_BUFFER_BINDING_OES 0x889E | |||
#endif | |||
/* GL_OES_stencil_wrap */ | |||
#ifndef GL_OES_stencil_wrap | |||
#define GL_INCR_WRAP_OES 0x8507 | |||
#define GL_DECR_WRAP_OES 0x8508 | |||
#endif | |||
/* GL_OES_texture_cube_map */ | |||
#ifndef GL_OES_texture_cube_map | |||
#define GL_NORMAL_MAP_OES 0x8511 | |||
#define GL_REFLECTION_MAP_OES 0x8512 | |||
#define GL_TEXTURE_CUBE_MAP_OES 0x8513 | |||
#define GL_TEXTURE_BINDING_CUBE_MAP_OES 0x8514 | |||
#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES 0x8515 | |||
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES 0x8516 | |||
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES 0x8517 | |||
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES 0x8518 | |||
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES 0x8519 | |||
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES 0x851A | |||
#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_OES 0x851C | |||
#define GL_TEXTURE_GEN_MODE_OES 0x2500 | |||
#define GL_TEXTURE_GEN_STR_OES 0x8D60 | |||
#endif | |||
/* GL_OES_texture_mirrored_repeat */ | |||
#ifndef GL_OES_texture_mirrored_repeat | |||
#define GL_MIRRORED_REPEAT_OES 0x8370 | |||
#endif | |||
/* GL_OES_EGL_image */ | |||
#ifndef GL_OES_EGL_image | |||
typedef void* GLeglImageOES; | |||
#endif | |||
/* GL_OES_depth24 */ | |||
#ifndef GL_OES_depth24 | |||
#define GL_DEPTH_COMPONENT24_OES 0x81A6 | |||
#endif | |||
/* GL_OES_depth32 */ | |||
#ifndef GL_OES_depth32 | |||
#define GL_DEPTH_COMPONENT32_OES 0x81A7 | |||
#endif | |||
/* GL_OES_mapbuffer */ | |||
#ifndef GL_OES_mapbuffer | |||
#define GL_WRITE_ONLY_OES 0x88B9 | |||
#define GL_BUFFER_ACCESS_OES 0x88BB | |||
#define GL_BUFFER_MAPPED_OES 0x88BC | |||
#define GL_BUFFER_MAP_POINTER_OES 0x88BD | |||
#endif | |||
/* GL_OES_rgb8_rgba8 */ | |||
#ifndef GL_OES_rgb8_rgba8 | |||
#define GL_RGB8_OES 0x8051 | |||
#define GL_RGBA8_OES 0x8058 | |||
#endif | |||
/* GL_OES_stencil1 */ | |||
#ifndef GL_OES_stencil1 | |||
#define GL_STENCIL_INDEX1_OES 0x8D46 | |||
#endif | |||
/* GL_OES_stencil4 */ | |||
#ifndef GL_OES_stencil4 | |||
#define GL_STENCIL_INDEX4_OES 0x8D47 | |||
#endif | |||
/* GL_OES_stencil8 */ | |||
#ifndef GL_OES_stencil8 | |||
#define GL_STENCIL_INDEX8_OES 0x8D48 | |||
#endif | |||
/* GL_AMD_compressed_3DC_texture */ | |||
#ifndef GL_AMD_compressed_3DC_texture | |||
#define GL_3DC_X_AMD 0x87F9 | |||
#define GL_3DC_XY_AMD 0x87FA | |||
#endif | |||
/* GL_AMD_compressed_ATC_texture */ | |||
#ifndef GL_AMD_compressed_ATC_texture | |||
#define GL_ATC_RGB_AMD 0x8C92 | |||
#define GL_ATC_RGBA_EXPLICIT_ALPHA_AMD 0x8C93 | |||
#define GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD 0x87EE | |||
#endif | |||
/* GL_EXT_texture_filter_anisotropic */ | |||
#ifndef GL_EXT_texture_filter_anisotropic | |||
#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE | |||
#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF | |||
#endif | |||
/*------------------------------------------------------------------------* | |||
* OES extension functions | |||
*------------------------------------------------------------------------*/ | |||
/* GL_OES_blend_equation_separate */ | |||
#ifndef GL_OES_blend_equation_separate | |||
#define GL_OES_blend_equation_separate 1 | |||
#ifdef GL_GLEXT_PROTOTYPES | |||
GL_API void GL_APIENTRY glBlendEquationSeparateOES (GLenum modeRGB, GLenum modeAlpha); | |||
#endif | |||
typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEOESPROC) (GLenum modeRGB, GLenum modeAlpha); | |||
#endif | |||
/* GL_OES_blend_func_separate */ | |||
#ifndef GL_OES_blend_func_separate | |||
#define GL_OES_blend_func_separate 1 | |||
#ifdef GL_GLEXT_PROTOTYPES | |||
GL_API void GL_APIENTRY glBlendFuncSeparateOES (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); | |||
#endif | |||
typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEOESPROC) (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); | |||
#endif | |||
/* GL_OES_blend_subtract */ | |||
#ifndef GL_OES_blend_subtract | |||
#define GL_OES_blend_subtract 1 | |||
#ifdef GL_GLEXT_PROTOTYPES | |||
GL_API void GL_APIENTRY glBlendEquationOES (GLenum mode); | |||
#endif | |||
typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONOESPROC) (GLenum mode); | |||
#endif | |||
/* GL_OES_byte_coordinates */ | |||
#ifndef GL_OES_byte_coordinates | |||
#define GL_OES_byte_coordinates 1 | |||
#endif | |||
/* GL_OES_compressed_ETC1_RGB8_texture */ | |||
#ifndef GL_OES_compressed_ETC1_RGB8_texture | |||
#define GL_OES_compressed_ETC1_RGB8_texture 1 | |||
#endif | |||
/* GL_OES_draw_texture */ | |||
#ifndef GL_OES_draw_texture | |||
#define GL_OES_draw_texture 1 | |||
#ifdef GL_GLEXT_PROTOTYPES | |||
GL_API void GL_APIENTRY glDrawTexsOES (GLshort x, GLshort y, GLshort z, GLshort width, GLshort height); | |||
GL_API void GL_APIENTRY glDrawTexiOES (GLint x, GLint y, GLint z, GLint width, GLint height); | |||
GL_API void GL_APIENTRY glDrawTexxOES (GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height); | |||
GL_API void GL_APIENTRY glDrawTexsvOES (const GLshort *coords); | |||
GL_API void GL_APIENTRY glDrawTexivOES (const GLint *coords); | |||
GL_API void GL_APIENTRY glDrawTexxvOES (const GLfixed *coords); | |||
GL_API void GL_APIENTRY glDrawTexfOES (GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height); | |||
GL_API void GL_APIENTRY glDrawTexfvOES (const GLfloat *coords); | |||
#endif | |||
typedef void (GL_APIENTRYP PFNGLDRAWTEXSOESPROC) (GLshort x, GLshort y, GLshort z, GLshort width, GLshort height); | |||
typedef void (GL_APIENTRYP PFNGLDRAWTEXIOESPROC) (GLint x, GLint y, GLint z, GLint width, GLint height); | |||
typedef void (GL_APIENTRYP PFNGLDRAWTEXXOESPROC) (GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height); | |||
typedef void (GL_APIENTRYP PFNGLDRAWTEXSVOESPROC) (const GLshort *coords); | |||
typedef void (GL_APIENTRYP PFNGLDRAWTEXIVOESPROC) (const GLint *coords); | |||
typedef void (GL_APIENTRYP PFNGLDRAWTEXXVOESPROC) (const GLfixed *coords); | |||
typedef void (GL_APIENTRYP PFNGLDRAWTEXFOESPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height); | |||
typedef void (GL_APIENTRYP PFNGLDRAWTEXFVOESPROC) (const GLfloat *coords); | |||
#endif | |||
/* GL_OES_extended_matrix_palette */ | |||
#ifndef GL_OES_extended_matrix_palette | |||
#define GL_OES_extended_matrix_palette 1 | |||
#endif | |||
/* GL_OES_fixed_point */ | |||
#ifndef GL_OES_fixed_point | |||
#define GL_OES_fixed_point 1 | |||
#ifdef GL_GLEXT_PROTOTYPES | |||
GL_API void GL_APIENTRY glAlphaFuncxOES (GLenum func, GLclampx ref); | |||
GL_API void GL_APIENTRY glClearColorxOES (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha); | |||
GL_API void GL_APIENTRY glClearDepthxOES (GLclampx depth); | |||
GL_API void GL_APIENTRY glClipPlanexOES (GLenum plane, const GLfixed *equation); | |||
GL_API void GL_APIENTRY glColor4xOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); | |||
GL_API void GL_APIENTRY glDepthRangexOES (GLclampx zNear, GLclampx zFar); | |||
GL_API void GL_APIENTRY glFogxOES (GLenum pname, GLfixed param); | |||
GL_API void GL_APIENTRY glFogxvOES (GLenum pname, const GLfixed *params); | |||
GL_API void GL_APIENTRY glFrustumxOES (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar); | |||
GL_API void GL_APIENTRY glGetClipPlanexOES (GLenum pname, GLfixed eqn[4]); | |||
GL_API void GL_APIENTRY glGetFixedvOES (GLenum pname, GLfixed *params); | |||
GL_API void GL_APIENTRY glGetLightxvOES (GLenum light, GLenum pname, GLfixed *params); | |||
GL_API void GL_APIENTRY glGetMaterialxvOES (GLenum face, GLenum pname, GLfixed *params); | |||
GL_API void GL_APIENTRY glGetTexEnvxvOES (GLenum env, GLenum pname, GLfixed *params); | |||
GL_API void GL_APIENTRY glGetTexParameterxvOES (GLenum target, GLenum pname, GLfixed *params); | |||
GL_API void GL_APIENTRY glLightModelxOES (GLenum pname, GLfixed param); | |||
GL_API void GL_APIENTRY glLightModelxvOES (GLenum pname, const GLfixed *params); | |||
GL_API void GL_APIENTRY glLightxOES (GLenum light, GLenum pname, GLfixed param); | |||
GL_API void GL_APIENTRY glLightxvOES (GLenum light, GLenum pname, const GLfixed *params); | |||
GL_API void GL_APIENTRY glLineWidthxOES (GLfixed width); | |||
GL_API void GL_APIENTRY glLoadMatrixxOES (const GLfixed *m); | |||
GL_API void GL_APIENTRY glMaterialxOES (GLenum face, GLenum pname, GLfixed param); | |||
GL_API void GL_APIENTRY glMaterialxvOES (GLenum face, GLenum pname, const GLfixed *params); | |||
GL_API void GL_APIENTRY glMultMatrixxOES (const GLfixed *m); | |||
GL_API void GL_APIENTRY glMultiTexCoord4xOES (GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q); | |||
GL_API void GL_APIENTRY glNormal3xOES (GLfixed nx, GLfixed ny, GLfixed nz); | |||
GL_API void GL_APIENTRY glOrthoxOES (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar); | |||
GL_API void GL_APIENTRY glPointParameterxOES (GLenum pname, GLfixed param); | |||
GL_API void GL_APIENTRY glPointParameterxvOES (GLenum pname, const GLfixed *params); | |||
GL_API void GL_APIENTRY glPointSizexOES (GLfixed size); | |||
GL_API void GL_APIENTRY glPolygonOffsetxOES (GLfixed factor, GLfixed units); | |||
GL_API void GL_APIENTRY glRotatexOES (GLfixed angle, GLfixed x, GLfixed y, GLfixed z); | |||
GL_API void GL_APIENTRY glSampleCoveragexOES (GLclampx value, GLboolean invert); | |||
GL_API void GL_APIENTRY glScalexOES (GLfixed x, GLfixed y, GLfixed z); | |||
GL_API void GL_APIENTRY glTexEnvxOES (GLenum target, GLenum pname, GLfixed param); | |||
GL_API void GL_APIENTRY glTexEnvxvOES (GLenum target, GLenum pname, const GLfixed *params); | |||
GL_API void GL_APIENTRY glTexParameterxOES (GLenum target, GLenum pname, GLfixed param); | |||
GL_API void GL_APIENTRY glTexParameterxvOES (GLenum target, GLenum pname, const GLfixed *params); | |||
GL_API void GL_APIENTRY glTranslatexOES (GLfixed x, GLfixed y, GLfixed z); | |||
#endif | |||
typedef void (GL_APIENTRYP PFNGLALPHAFUNCXOESPROC) (GLenum func, GLclampx ref); | |||
typedef void (GL_APIENTRYP PFNGLCLEARCOLORXOESPROC) (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha); | |||
typedef void (GL_APIENTRYP PFNGLCLEARDEPTHXOESPROC) (GLclampx depth); | |||
typedef void (GL_APIENTRYP PFNGLCLIPPLANEXOESPROC) (GLenum plane, const GLfixed *equation); | |||
typedef void (GL_APIENTRYP PFNGLCOLOR4XOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); | |||
typedef void (GL_APIENTRYP PFNGLDEPTHRANGEXOESPROC) (GLclampx zNear, GLclampx zFar); | |||
typedef void (GL_APIENTRYP PFNGLFOGXOESPROC) (GLenum pname, GLfixed param); | |||
typedef void (GL_APIENTRYP PFNGLFOGXVOESPROC) (GLenum pname, const GLfixed *params); | |||
typedef void (GL_APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar); | |||
typedef void (GL_APIENTRYP PFNGLGETCLIPPLANEXOESPROC) (GLenum pname, GLfixed eqn[4]); | |||
typedef void (GL_APIENTRYP PFNGLGETFIXEDVOESPROC) (GLenum pname, GLfixed *params); | |||
typedef void (GL_APIENTRYP PFNGLGETLIGHTXVOESPROC) (GLenum light, GLenum pname, GLfixed *params); | |||
typedef void (GL_APIENTRYP PFNGLGETMATERIALXVOESPROC) (GLenum face, GLenum pname, GLfixed *params); | |||
typedef void (GL_APIENTRYP PFNGLGETTEXENVXVOESPROC) (GLenum env, GLenum pname, GLfixed *params); | |||
typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params); | |||
typedef void (GL_APIENTRYP PFNGLLIGHTMODELXOESPROC) (GLenum pname, GLfixed param); | |||
typedef void (GL_APIENTRYP PFNGLLIGHTMODELXVOESPROC) (GLenum pname, const GLfixed *params); | |||
typedef void (GL_APIENTRYP PFNGLLIGHTXOESPROC) (GLenum light, GLenum pname, GLfixed param); | |||
typedef void (GL_APIENTRYP PFNGLLIGHTXVOESPROC) (GLenum light, GLenum pname, const GLfixed *params); | |||
typedef void (GL_APIENTRYP PFNGLLINEWIDTHXOESPROC) (GLfixed width); | |||
typedef void (GL_APIENTRYP PFNGLLOADMATRIXXOESPROC) (const GLfixed *m); | |||
typedef void (GL_APIENTRYP PFNGLMATERIALXOESPROC) (GLenum face, GLenum pname, GLfixed param); | |||
typedef void (GL_APIENTRYP PFNGLMATERIALXVOESPROC) (GLenum face, GLenum pname, const GLfixed *params); | |||
typedef void (GL_APIENTRYP PFNGLMULTMATRIXXOESPROC) (const GLfixed *m); | |||
typedef void (GL_APIENTRYP PFNGLMULTITEXCOORD4XOESPROC) (GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q); | |||
typedef void (GL_APIENTRYP PFNGLNORMAL3XOESPROC) (GLfixed nx, GLfixed ny, GLfixed nz); | |||
typedef void (GL_APIENTRYP PFNGLORTHOXOESPROC) (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar); | |||
typedef void (GL_APIENTRYP PFNGLPOINTPARAMETERXOESPROC) (GLenum pname, GLfixed param); | |||
typedef void (GL_APIENTRYP PFNGLPOINTPARAMETERXVOESPROC) (GLenum pname, const GLfixed *params); | |||
typedef void (GL_APIENTRYP PFNGLPOINTSIZEXOESPROC) (GLfixed size); | |||
typedef void (GL_APIENTRYP PFNGLPOLYGONOFFSETXOESPROC) (GLfixed factor, GLfixed units); | |||
typedef void (GL_APIENTRYP PFNGLROTATEXOESPROC) (GLfixed angle, GLfixed x, GLfixed y, GLfixed z); | |||
typedef void (GL_APIENTRYP PFNGLSAMPLECOVERAGEXOESPROC) (GLclampx value, GLboolean invert); | |||
typedef void (GL_APIENTRYP PFNGLSCALEXOESPROC) (GLfixed x, GLfixed y, GLfixed z); | |||
typedef void (GL_APIENTRYP PFNGLTEXENVXOESPROC) (GLenum target, GLenum pname, GLfixed param); | |||
typedef void (GL_APIENTRYP PFNGLTEXENVXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params); | |||
typedef void (GL_APIENTRYP PFNGLTEXPARAMETERXOESPROC) (GLenum target, GLenum pname, GLfixed param); | |||
typedef void (GL_APIENTRYP PFNGLTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params); | |||
typedef void (GL_APIENTRYP PFNGLTRANSLATEXOESPROC) (GLfixed x, GLfixed y, GLfixed z); | |||
#endif | |||
/* GL_OES_framebuffer_object */ | |||
#ifndef GL_OES_framebuffer_object | |||
#define GL_OES_framebuffer_object 1 | |||
#ifdef GL_GLEXT_PROTOTYPES | |||
GL_API GLboolean GL_APIENTRY glIsRenderbufferOES (GLuint renderbuffer); | |||
GL_API void GL_APIENTRY glBindRenderbufferOES (GLenum target, GLuint renderbuffer); | |||
GL_API void GL_APIENTRY glDeleteRenderbuffersOES (GLsizei n, const GLuint* renderbuffers); | |||
GL_API void GL_APIENTRY glGenRenderbuffersOES (GLsizei n, GLuint* renderbuffers); | |||
GL_API void GL_APIENTRY glRenderbufferStorageOES (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); | |||
GL_API void GL_APIENTRY glGetRenderbufferParameterivOES (GLenum target, GLenum pname, GLint* params); | |||
GL_API GLboolean GL_APIENTRY glIsFramebufferOES (GLuint framebuffer); | |||
GL_API void GL_APIENTRY glBindFramebufferOES (GLenum target, GLuint framebuffer); | |||
GL_API void GL_APIENTRY glDeleteFramebuffersOES (GLsizei n, const GLuint* framebuffers); | |||
GL_API void GL_APIENTRY glGenFramebuffersOES (GLsizei n, GLuint* framebuffers); | |||
GL_API GLenum GL_APIENTRY glCheckFramebufferStatusOES (GLenum target); | |||
GL_API void GL_APIENTRY glFramebufferRenderbufferOES (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); | |||
GL_API void GL_APIENTRY glFramebufferTexture2DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); | |||
GL_API void GL_APIENTRY glGetFramebufferAttachmentParameterivOES (GLenum target, GLenum attachment, GLenum pname, GLint* params); | |||
GL_API void GL_APIENTRY glGenerateMipmapOES (GLenum target); | |||
#endif | |||
typedef GLboolean (GL_APIENTRYP PFNGLISRENDERBUFFEROESPROC) (GLuint renderbuffer); | |||
typedef void (GL_APIENTRYP PFNGLBINDRENDERBUFFEROESPROC) (GLenum target, GLuint renderbuffer); | |||
typedef void (GL_APIENTRYP PFNGLDELETERENDERBUFFERSOESPROC) (GLsizei n, const GLuint* renderbuffers); | |||
typedef void (GL_APIENTRYP PFNGLGENRENDERBUFFERSOESPROC) (GLsizei n, GLuint* renderbuffers); | |||
typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); | |||
typedef void (GL_APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVOESPROC) (GLenum target, GLenum pname, GLint* params); | |||
typedef GLboolean (GL_APIENTRYP PFNGLISFRAMEBUFFEROESPROC) (GLuint framebuffer); | |||
typedef void (GL_APIENTRYP PFNGLBINDFRAMEBUFFEROESPROC) (GLenum target, GLuint framebuffer); | |||
typedef void (GL_APIENTRYP PFNGLDELETEFRAMEBUFFERSOESPROC) (GLsizei n, const GLuint* framebuffers); | |||
typedef void (GL_APIENTRYP PFNGLGENFRAMEBUFFERSOESPROC) (GLsizei n, GLuint* framebuffers); | |||
typedef GLenum (GL_APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSOESPROC) (GLenum target); | |||
typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFEROESPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); | |||
typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DOESPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); | |||
typedef void (GL_APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVOESPROC) (GLenum target, GLenum attachment, GLenum pname, GLint* params); | |||
typedef void (GL_APIENTRYP PFNGLGENERATEMIPMAPOESPROC) (GLenum target); | |||
#endif | |||
/* GL_OES_matrix_get */ | |||
#ifndef GL_OES_matrix_get | |||
#define GL_OES_matrix_get 1 | |||
#endif | |||
/* GL_OES_matrix_palette */ | |||
#ifndef GL_OES_matrix_palette | |||
#define GL_OES_matrix_palette 1 | |||
#ifdef GL_GLEXT_PROTOTYPES | |||
GL_API void GL_APIENTRY glCurrentPaletteMatrixOES (GLuint matrixpaletteindex); | |||
GL_API void GL_APIENTRY glLoadPaletteFromModelViewMatrixOES (void); | |||
GL_API void GL_APIENTRY glMatrixIndexPointerOES (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); | |||
GL_API void GL_APIENTRY glWeightPointerOES (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); | |||
#endif | |||
typedef void (GL_APIENTRYP PFNGLCURRENTPALETTEMATRIXOESPROC) (GLuint matrixpaletteindex); | |||
typedef void (GL_APIENTRYP PFNGLLOADPALETTEFROMMODELVIEWMATRIXOESPROC) (void); | |||
typedef void (GL_APIENTRYP PFNGLMATRIXINDEXPOINTEROESPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); | |||
typedef void (GL_APIENTRYP PFNGLWEIGHTPOINTEROESPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); | |||
#endif | |||
/* GL_OES_query_matrix */ | |||
#ifndef GL_OES_query_matrix | |||
#define GL_OES_query_matrix 1 | |||
#ifdef GL_GLEXT_PROTOTYPES | |||
GL_API GLbitfield GL_APIENTRY glQueryMatrixxOES (GLfixed mantissa[16], GLint exponent[16]); | |||
#endif | |||
typedef GLbitfield (GL_APIENTRYP PFNGLQUERYMATRIXXOESPROC) (GLfixed mantissa[16], GLint exponent[16]); | |||
#endif | |||
/* GL_OES_single_precision */ | |||
#ifndef GL_OES_single_precision | |||
#define GL_OES_single_precision 1 | |||
#ifdef GL_GLEXT_PROTOTYPES | |||
GL_API void GL_APIENTRY glDepthRangefOES (GLclampf zNear, GLclampf zFar); | |||
GL_API void GL_APIENTRY glFrustumfOES (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar); | |||
GL_API void GL_APIENTRY glOrthofOES (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar); | |||
GL_API void GL_APIENTRY glClipPlanefOES (GLenum plane, const GLfloat *equation); | |||
GL_API void GL_APIENTRY glGetClipPlanefOES (GLenum pname, GLfloat eqn[4]); | |||
GL_API void GL_APIENTRY glClearDepthfOES (GLclampf depth); | |||
#endif | |||
typedef void (GL_APIENTRYP PFNGLDEPTHRANGEFOESPROC) (GLclampf zNear, GLclampf zFar); | |||
typedef void (GL_APIENTRYP PFNGLFRUSTUMFOESPROC) (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar); | |||
typedef void (GL_APIENTRYP PFNGLORTHOFOESPROC) (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar); | |||
typedef void (GL_APIENTRYP PFNGLCLIPPLANEFOESPROC) (GLenum plane, const GLfloat *equation); | |||
typedef void (GL_APIENTRYP PFNGLGETCLIPPLANEFOESPROC) (GLenum pname, GLfloat eqn[4]); | |||
typedef void (GL_APIENTRYP PFNGLCLEARDEPTHFOESPROC) (GLclampf depth); | |||
#endif | |||
/* GL_OES_stencil_wrap */ | |||
#ifndef GL_OES_stencil_wrap | |||
#define GL_OES_stencil_wrap 1 | |||
#endif | |||
/* GL_OES_texture_cube_map */ | |||
#ifndef GL_OES_texture_cube_map | |||
#define GL_OES_texture_cube_map 1 | |||
#ifdef GL_GLEXT_PROTOTYPES | |||
GL_API void GL_APIENTRY glTexGenfOES (GLenum coord, GLenum pname, GLfloat param); | |||
GL_API void GL_APIENTRY glTexGenfvOES (GLenum coord, GLenum pname, const GLfloat *params); | |||
GL_API void GL_APIENTRY glTexGeniOES (GLenum coord, GLenum pname, GLint param); | |||
GL_API void GL_APIENTRY glTexGenivOES (GLenum coord, GLenum pname, const GLint *params); | |||
GL_API void GL_APIENTRY glTexGenxOES (GLenum coord, GLenum pname, GLfixed param); | |||
GL_API void GL_APIENTRY glTexGenxvOES (GLenum coord, GLenum pname, const GLfixed *params); | |||
GL_API void GL_APIENTRY glGetTexGenfvOES (GLenum coord, GLenum pname, GLfloat *params); | |||
GL_API void GL_APIENTRY glGetTexGenivOES (GLenum coord, GLenum pname, GLint *params); | |||
GL_API void GL_APIENTRY glGetTexGenxvOES (GLenum coord, GLenum pname, GLfixed *params); | |||
#endif | |||
typedef void (GL_APIENTRYP PFNGLTEXGENFOESPROC) (GLenum coord, GLenum pname, GLfloat param); | |||
typedef void (GL_APIENTRYP PFNGLTEXGENFVOESPROC) (GLenum coord, GLenum pname, const GLfloat *params); | |||
typedef void (GL_APIENTRYP PFNGLTEXGENIOESPROC) (GLenum coord, GLenum pname, GLint param); | |||
typedef void (GL_APIENTRYP PFNGLTEXGENIVOESPROC) (GLenum coord, GLenum pname, const GLint *params); | |||
typedef void (GL_APIENTRYP PFNGLTEXGENXOESPROC) (GLenum coord, GLenum pname, GLfixed param); | |||
typedef void (GL_APIENTRYP PFNGLTEXGENXVOESPROC) (GLenum coord, GLenum pname, const GLfixed *params); | |||
typedef void (GL_APIENTRYP PFNGLGETTEXGENFVOESPROC) (GLenum coord, GLenum pname, GLfloat *params); | |||
typedef void (GL_APIENTRYP PFNGLGETTEXGENIVOESPROC) (GLenum coord, GLenum pname, GLint *params); | |||
typedef void (GL_APIENTRYP PFNGLGETTEXGENXVOESPROC) (GLenum coord, GLenum pname, GLfixed *params); | |||
#endif | |||
/* GL_OES_texture_env_crossbar */ | |||
#ifndef GL_OES_texture_env_crossbar | |||
#define GL_OES_texture_env_crossbar 1 | |||
#endif | |||
/* GL_OES_texture_mirrored_repeat */ | |||
#ifndef GL_OES_texture_mirrored_repeat | |||
#define GL_OES_texture_mirrored_repeat 1 | |||
#endif | |||
/* GL_OES_EGL_image */ | |||
#ifndef GL_OES_EGL_image | |||
#define GL_OES_EGL_image 1 | |||
#ifdef GL_GLEXT_PROTOTYPES | |||
GL_API void GL_APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image); | |||
GL_API void GL_APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image); | |||
#endif | |||
typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image); | |||
typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImageOES image); | |||
#endif | |||
/* GL_OES_depth24 */ | |||
#ifndef GL_OES_depth24 | |||
#define GL_OES_depth24 1 | |||
#endif | |||
/* GL_OES_depth32 */ | |||
#ifndef GL_OES_depth32 | |||
#define GL_OES_depth32 1 | |||
#endif | |||
/* GL_OES_element_index_uint */ | |||
#ifndef GL_OES_element_index_uint | |||
#define GL_OES_element_index_uint 1 | |||
#endif | |||
/* GL_OES_fbo_render_mipmap */ | |||
#ifndef GL_OES_fbo_render_mipmap | |||
#define GL_OES_fbo_render_mipmap 1 | |||
#endif | |||
/* GL_OES_mapbuffer */ | |||
#ifndef GL_OES_mapbuffer | |||
#define GL_OES_mapbuffer 1 | |||
#ifdef GL_GLEXT_PROTOTYPES | |||
GL_API void* GL_APIENTRY glMapBufferOES (GLenum target, GLenum access); | |||
GL_API GLboolean GL_APIENTRY glUnmapBufferOES (GLenum target); | |||
GL_API void GL_APIENTRY glGetBufferPointervOES (GLenum target, GLenum pname, void** params); | |||
#endif | |||
typedef void* (GL_APIENTRYP PFNGLMAPBUFFEROESPROC) (GLenum target, GLenum access); | |||
typedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFEROESPROC) (GLenum target); | |||
typedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVOESPROC) (GLenum target, GLenum pname, void** params); | |||
#endif | |||
/* GL_OES_rgb8_rgba8 */ | |||
#ifndef GL_OES_rgb8_rgba8 | |||
#define GL_OES_rgb8_rgba8 1 | |||
#endif | |||
/* GL_OES_stencil1 */ | |||
#ifndef GL_OES_stencil1 | |||
#define GL_OES_stencil1 1 | |||
#endif | |||
/* GL_OES_stencil4 */ | |||
#ifndef GL_OES_stencil4 | |||
#define GL_OES_stencil4 1 | |||
#endif | |||
/* GL_OES_stencil8 */ | |||
#ifndef GL_OES_stencil8 | |||
#define GL_OES_stencil8 1 | |||
#endif | |||
/* GL_AMD_compressed_3DC_texture */ | |||
#ifndef GL_AMD_compressed_3DC_texture | |||
#define GL_AMD_compressed_3DC_texture 1 | |||
#endif | |||
/* GL_AMD_compressed_ATC_texture */ | |||
#ifndef GL_AMD_compressed_ATC_texture | |||
#define GL_AMD_compressed_ATC_texture 1 | |||
#endif | |||
/* GL_EXT_texture_filter_anisotropic */ | |||
#ifndef GL_EXT_texture_filter_anisotropic | |||
#define GL_EXT_texture_filter_anisotropic 1 | |||
#endif | |||
#ifdef __cplusplus | |||
} | |||
#endif | |||
#endif /* __glext_h_ */ | |||
@@ -0,0 +1,76 @@ | |||
#ifndef __glplatform_h_ | |||
#define __glplatform_h_ | |||
#ifdef __cplusplus | |||
extern "C" { | |||
#endif | |||
/* | |||
** License Applicability. Except to the extent portions of this file are | |||
** made subject to an alternative license as permitted in the SGI Free | |||
** Software License B, Version 1.0 (the "License"), the contents of this | |||
** file are subject only to the provisions of the License. You may not use | |||
** this file except in compliance with the License. You may obtain a copy | |||
** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600 | |||
** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at: | |||
** | |||
** http://oss.sgi.com/projects/FreeB | |||
** | |||
** Note that, as provided in the License, the Software is distributed on an | |||
** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS | |||
** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND | |||
** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A | |||
** PARTICULAR PURPOSE, AND NON-INFRINGEMENT. | |||
** | |||
** Original Code. The Original Code is: OpenGL Sample Implementation, | |||
** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics, | |||
** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc. | |||
** Copyright in any portions created by third parties is as indicated | |||
** elsewhere herein. All Rights Reserved. | |||
** | |||
** Additional Notice Provisions: The application programming interfaces | |||
** established by SGI in conjunction with the Original Code are The | |||
** OpenGL(R) Graphics System: A Specification (Version 1.2.1), released | |||
** April 1, 1999; The OpenGL(R) Graphics System Utility Library (Version | |||
** 1.3), released November 4, 1998; and OpenGL(R) Graphics with the X | |||
** Window System(R) (Version 1.3), released October 19, 1998. This software | |||
** was created using the OpenGL(R) version 1.2.1 Sample Implementation | |||
** published by SGI, but has not been independently verified as being | |||
** compliant with the OpenGL(R) version 1.2.1 Specification. | |||
*/ | |||
/*------------------------------------------------------------------------- | |||
* Definition of GL_API and GL_APIENTRY | |||
*-----------------------------------------------------------------------*/ | |||
#ifdef _WIN32 | |||
# ifdef __GL_EXPORTS | |||
# define GL_API __declspec(dllexport) | |||
# else | |||
# define GL_API __declspec(dllimport) | |||
# endif | |||
# ifdef UNDER_CE | |||
# define GL_APIENTRY | |||
# else | |||
# define GL_APIENTRY __stdcall | |||
# endif | |||
#else | |||
# ifdef __GL_EXPORTS | |||
# define GL_API | |||
# else | |||
# define GL_API extern | |||
# endif | |||
# define GL_APIENTRY | |||
#endif | |||
#ifndef APIENTRY | |||
# define APIENTRY GL_APIENTRY | |||
#endif | |||
#ifdef __cplusplus | |||
} | |||
#endif | |||
#endif /* __glplatform_h_ */ |
@@ -0,0 +1,652 @@ | |||
#ifndef __gl2_h_ | |||
#define __gl2_h_ | |||
#include <GLES2/gl2platform.h> | |||
#ifdef __cplusplus | |||
extern "C" { | |||
#endif | |||
/* | |||
** License Applicability. Except to the extent portions of this file are | |||
** made subject to an alternative license as permitted in the SGI Free | |||
** Software License B, Version 1.0 (the "License"), the contents of this | |||
** file are subject only to the provisions of the License. You may not use | |||
** this file except in compliance with the License. You may obtain a copy | |||
** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600 | |||
** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at: | |||
** | |||
** http://oss.sgi.com/projects/FreeB | |||
** | |||
** Note that, as provided in the License, the Software is distributed on an | |||
** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS | |||
** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND | |||
** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A | |||
** PARTICULAR PURPOSE, AND NON-INFRINGEMENT. | |||
** | |||
** Original Code. The Original Code is: OpenGL Sample Implementation, | |||
** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics, | |||
** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc. | |||
** Copyright in any portions created by third parties is as indicated | |||
** elsewhere herein. All Rights Reserved. | |||
** | |||
** Additional Notice Provisions: The application programming interfaces | |||
** established by SGI in conjunction with the Original Code are The | |||
** OpenGL(R) Graphics System: A Specification (Version 1.2.1), released | |||
** April 1, 1999; The OpenGL(R) Graphics System Utility Library (Version | |||
** 1.3), released November 4, 1998; and OpenGL(R) Graphics with the X | |||
** Window System(R) (Version 1.3), released October 19, 1998. This software | |||
** was created using the OpenGL(R) version 1.2.1 Sample Implementation | |||
** published by SGI, but has not been independently verified as being | |||
** compliant with the OpenGL(R) version 1.2.1 Specification. | |||
*/ | |||
/*------------------------------------------------------------------------- | |||
* Data type definitions | |||
*-----------------------------------------------------------------------*/ | |||
typedef void GLvoid; | |||
typedef unsigned int GLenum; | |||
typedef unsigned char GLboolean; | |||
typedef unsigned int GLbitfield; | |||
typedef signed char GLbyte; | |||
typedef short GLshort; | |||
typedef int GLint; | |||
typedef int GLsizei; | |||
typedef unsigned char GLubyte; | |||
typedef unsigned short GLushort; | |||
typedef unsigned int GLuint; | |||
typedef float GLfloat; | |||
typedef float GLclampf; | |||
typedef int GLfixed; | |||
typedef int GLclampx; | |||
/* GL types for handling large vertex buffer objects */ | |||
typedef int GLintptr; | |||
typedef int GLsizeiptr; | |||
/* OpenGL ES core versions */ | |||
#define GL_ES_VERSION_2_0 1 | |||
/* ClearBufferMask */ | |||
#define GL_DEPTH_BUFFER_BIT 0x00000100 | |||
#define GL_STENCIL_BUFFER_BIT 0x00000400 | |||
#define GL_COLOR_BUFFER_BIT 0x00004000 | |||
/* Boolean */ | |||
#define GL_FALSE 0 | |||
#define GL_TRUE 1 | |||
/* \todo check that this should be in core. */ | |||
#define GL_NONE 0 | |||
/* BeginMode */ | |||
#define GL_POINTS 0x0000 | |||
#define GL_LINES 0x0001 | |||
#define GL_LINE_LOOP 0x0002 | |||
#define GL_LINE_STRIP 0x0003 | |||
#define GL_TRIANGLES 0x0004 | |||
#define GL_TRIANGLE_STRIP 0x0005 | |||
#define GL_TRIANGLE_FAN 0x0006 | |||
/* AlphaFunction (not supported in ES20) */ | |||
/* GL_NEVER */ | |||
/* GL_LESS */ | |||
/* GL_EQUAL */ | |||
/* GL_LEQUAL */ | |||
/* GL_GREATER */ | |||
/* GL_NOTEQUAL */ | |||
/* GL_GEQUAL */ | |||
/* GL_ALWAYS */ | |||
/* BlendingFactorDest */ | |||
#define GL_ZERO 0 | |||
#define GL_ONE 1 | |||
#define GL_SRC_COLOR 0x0300 | |||
#define GL_ONE_MINUS_SRC_COLOR 0x0301 | |||
#define GL_SRC_ALPHA 0x0302 | |||
#define GL_ONE_MINUS_SRC_ALPHA 0x0303 | |||
#define GL_DST_ALPHA 0x0304 | |||
#define GL_ONE_MINUS_DST_ALPHA 0x0305 | |||
/* BlendingFactorSrc */ | |||
/* GL_ZERO */ | |||
/* GL_ONE */ | |||
#define GL_DST_COLOR 0x0306 | |||
#define GL_ONE_MINUS_DST_COLOR 0x0307 | |||
#define GL_SRC_ALPHA_SATURATE 0x0308 | |||
/* GL_SRC_ALPHA */ | |||
/* GL_ONE_MINUS_SRC_ALPHA */ | |||
/* GL_DST_ALPHA */ | |||
/* GL_ONE_MINUS_DST_ALPHA */ | |||
/* BlendEquationSeparate */ | |||
#define GL_FUNC_ADD 0x8006 | |||
#define GL_BLEND_EQUATION 0x8009 | |||
#define GL_BLEND_EQUATION_RGB 0x8009 /* same as BLEND_EQUATION */ | |||
#define GL_BLEND_EQUATION_ALPHA 0x883D | |||
/* BlendSubtract */ | |||
#define GL_FUNC_SUBTRACT 0x800A | |||
#define GL_FUNC_REVERSE_SUBTRACT 0x800B | |||
/* Separate Blend Functions */ | |||
#define GL_BLEND_DST_RGB 0x80C8 | |||
#define GL_BLEND_SRC_RGB 0x80C9 | |||
#define GL_BLEND_DST_ALPHA 0x80CA | |||
#define GL_BLEND_SRC_ALPHA 0x80CB | |||
#define GL_CONSTANT_COLOR 0x8001 | |||
#define GL_ONE_MINUS_CONSTANT_COLOR 0x8002 | |||
#define GL_CONSTANT_ALPHA 0x8003 | |||
#define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 | |||
#define GL_BLEND_COLOR 0x8005 | |||
/* Buffer Objects */ | |||
#define GL_ARRAY_BUFFER 0x8892 | |||
#define GL_ELEMENT_ARRAY_BUFFER 0x8893 | |||
#define GL_ARRAY_BUFFER_BINDING 0x8894 | |||
#define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 | |||
#define GL_STREAM_DRAW 0x88E0 | |||
#define GL_STATIC_DRAW 0x88E4 | |||
#define GL_DYNAMIC_DRAW 0x88E8 | |||
#define GL_BUFFER_SIZE 0x8764 | |||
#define GL_BUFFER_USAGE 0x8765 | |||
#define GL_CURRENT_VERTEX_ATTRIB 0x8626 | |||
/* CullFaceMode */ | |||
#define GL_FRONT 0x0404 | |||
#define GL_BACK 0x0405 | |||
#define GL_FRONT_AND_BACK 0x0408 | |||
/* DepthFunction */ | |||
/* GL_NEVER */ | |||
/* GL_LESS */ | |||
/* GL_EQUAL */ | |||
/* GL_LEQUAL */ | |||
/* GL_GREATER */ | |||
/* GL_NOTEQUAL */ | |||
/* GL_GEQUAL */ | |||
/* GL_ALWAYS */ | |||
/* EnableCap */ | |||
#define GL_TEXTURE_2D 0x0DE1 | |||
#define GL_CULL_FACE 0x0B44 | |||
#define GL_BLEND 0x0BE2 | |||
#define GL_DITHER 0x0BD0 | |||
#define GL_STENCIL_TEST 0x0B90 | |||
#define GL_DEPTH_TEST 0x0B71 | |||
#define GL_SCISSOR_TEST 0x0C11 | |||
#define GL_POLYGON_OFFSET_FILL 0x8037 | |||
#define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E | |||
#define GL_SAMPLE_COVERAGE 0x80A0 | |||
/* ErrorCode */ | |||
#define GL_NO_ERROR 0 | |||
#define GL_INVALID_ENUM 0x0500 | |||
#define GL_INVALID_VALUE 0x0501 | |||
#define GL_INVALID_OPERATION 0x0502 | |||
#define GL_OUT_OF_MEMORY 0x0505 | |||
/* FrontFaceDirection */ | |||
#define GL_CW 0x0900 | |||
#define GL_CCW 0x0901 | |||
/* GetPName */ | |||
#define GL_LINE_WIDTH 0x0B21 | |||
#define GL_ALIASED_POINT_SIZE_RANGE 0x846D | |||
#define GL_ALIASED_LINE_WIDTH_RANGE 0x846E | |||
#define GL_CULL_FACE_MODE 0x0B45 | |||
#define GL_FRONT_FACE 0x0B46 | |||
#define GL_DEPTH_RANGE 0x0B70 | |||
#define GL_DEPTH_WRITEMASK 0x0B72 | |||
#define GL_DEPTH_CLEAR_VALUE 0x0B73 | |||
#define GL_DEPTH_FUNC 0x0B74 | |||
#define GL_STENCIL_CLEAR_VALUE 0x0B91 | |||
#define GL_STENCIL_FUNC 0x0B92 | |||
#define GL_STENCIL_FAIL 0x0B94 | |||
#define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95 | |||
#define GL_STENCIL_PASS_DEPTH_PASS 0x0B96 | |||
#define GL_STENCIL_REF 0x0B97 | |||
#define GL_STENCIL_VALUE_MASK 0x0B93 | |||
#define GL_STENCIL_WRITEMASK 0x0B98 | |||
#define GL_STENCIL_BACK_FUNC 0x8800 | |||
#define GL_STENCIL_BACK_FAIL 0x8801 | |||
#define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802 | |||
#define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803 | |||
#define GL_STENCIL_BACK_REF 0x8CA3 | |||
#define GL_STENCIL_BACK_VALUE_MASK 0x8CA4 | |||
#define GL_STENCIL_BACK_WRITEMASK 0x8CA5 | |||
#define GL_VIEWPORT 0x0BA2 | |||
#define GL_SCISSOR_BOX 0x0C10 | |||
/* GL_SCISSOR_TEST */ | |||
#define GL_COLOR_CLEAR_VALUE 0x0C22 | |||
#define GL_COLOR_WRITEMASK 0x0C23 | |||
#define GL_UNPACK_ALIGNMENT 0x0CF5 | |||
#define GL_PACK_ALIGNMENT 0x0D05 | |||
#define GL_MAX_TEXTURE_SIZE 0x0D33 | |||
#define GL_MAX_VIEWPORT_DIMS 0x0D3A | |||
#define GL_SUBPIXEL_BITS 0x0D50 | |||
#define GL_RED_BITS 0x0D52 | |||
#define GL_GREEN_BITS 0x0D53 | |||
#define GL_BLUE_BITS 0x0D54 | |||
#define GL_ALPHA_BITS 0x0D55 | |||
#define GL_DEPTH_BITS 0x0D56 | |||
#define GL_STENCIL_BITS 0x0D57 | |||
#define GL_POLYGON_OFFSET_UNITS 0x2A00 | |||
/* GL_POLYGON_OFFSET_FILL */ | |||
#define GL_POLYGON_OFFSET_FACTOR 0x8038 | |||
#define GL_TEXTURE_BINDING_2D 0x8069 | |||
#define GL_SAMPLE_BUFFERS 0x80A8 | |||
#define GL_SAMPLES 0x80A9 | |||
#define GL_SAMPLE_COVERAGE_VALUE 0x80AA | |||
#define GL_SAMPLE_COVERAGE_INVERT 0x80AB | |||
/* GetTextureParameter */ | |||
/* GL_TEXTURE_MAG_FILTER */ | |||
/* GL_TEXTURE_MIN_FILTER */ | |||
/* GL_TEXTURE_WRAP_S */ | |||
/* GL_TEXTURE_WRAP_T */ | |||
#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 | |||
#define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 | |||
/* HintMode */ | |||
#define GL_DONT_CARE 0x1100 | |||
#define GL_FASTEST 0x1101 | |||
#define GL_NICEST 0x1102 | |||
/* HintTarget */ | |||
#define GL_GENERATE_MIPMAP_HINT 0x8192 | |||
/* DataType */ | |||
#define GL_BYTE 0x1400 | |||
#define GL_UNSIGNED_BYTE 0x1401 | |||
#define GL_SHORT 0x1402 | |||
#define GL_UNSIGNED_SHORT 0x1403 | |||
#define GL_INT 0x1404 | |||
#define GL_UNSIGNED_INT 0x1405 | |||
#define GL_FLOAT 0x1406 | |||
#define GL_FIXED 0x140C | |||
/* PixelFormat */ | |||
#define GL_DEPTH_COMPONENT 0x1902 | |||
#define GL_ALPHA 0x1906 | |||
#define GL_RGB 0x1907 | |||
#define GL_RGBA 0x1908 | |||
#define GL_LUMINANCE 0x1909 | |||
#define GL_LUMINANCE_ALPHA 0x190A | |||
/* PixelType */ | |||
/* GL_UNSIGNED_BYTE */ | |||
#define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 | |||
#define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 | |||
#define GL_UNSIGNED_SHORT_5_6_5 0x8363 | |||
/* Shaders */ | |||
#define GL_FRAGMENT_SHADER 0x8B30 | |||
#define GL_VERTEX_SHADER 0x8B31 | |||
#define GL_MAX_VERTEX_ATTRIBS 0x8869 | |||
#define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB | |||
#define GL_MAX_VARYING_VECTORS 0x8DFC | |||
#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D | |||
#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C | |||
#define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872 | |||
#define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD | |||
#define GL_SHADER_TYPE 0x8B4F | |||
#define GL_DELETE_STATUS 0x8B80 | |||
#define GL_LINK_STATUS 0x8B82 | |||
#define GL_VALIDATE_STATUS 0x8B83 | |||
#define GL_ATTACHED_SHADERS 0x8B85 | |||
#define GL_ACTIVE_UNIFORMS 0x8B86 | |||
#define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87 | |||
#define GL_ACTIVE_ATTRIBUTES 0x8B89 | |||
#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A | |||
#define GL_SHADING_LANGUAGE_VERSION 0x8B8C | |||
#define GL_CURRENT_PROGRAM 0x8B8D | |||
/* StencilFunction */ | |||
#define GL_NEVER 0x0200 | |||
#define GL_LESS 0x0201 | |||
#define GL_EQUAL 0x0202 | |||
#define GL_LEQUAL 0x0203 | |||
#define GL_GREATER 0x0204 | |||
#define GL_NOTEQUAL 0x0205 | |||
#define GL_GEQUAL 0x0206 | |||
#define GL_ALWAYS 0x0207 | |||
/* StencilOp */ | |||
/* GL_ZERO */ | |||
#define GL_KEEP 0x1E00 | |||
#define GL_REPLACE 0x1E01 | |||
#define GL_INCR 0x1E02 | |||
#define GL_DECR 0x1E03 | |||
#define GL_INVERT 0x150A | |||
#define GL_INCR_WRAP 0x8507 | |||
#define GL_DECR_WRAP 0x8508 | |||
/* StringName */ | |||
#define GL_VENDOR 0x1F00 | |||
#define GL_RENDERER 0x1F01 | |||
#define GL_VERSION 0x1F02 | |||
#define GL_EXTENSIONS 0x1F03 | |||
/* TextureMagFilter */ | |||
#define GL_NEAREST 0x2600 | |||
#define GL_LINEAR 0x2601 | |||
/* TextureMinFilter */ | |||
/* GL_NEAREST */ | |||
/* GL_LINEAR */ | |||
#define GL_NEAREST_MIPMAP_NEAREST 0x2700 | |||
#define GL_LINEAR_MIPMAP_NEAREST 0x2701 | |||
#define GL_NEAREST_MIPMAP_LINEAR 0x2702 | |||
#define GL_LINEAR_MIPMAP_LINEAR 0x2703 | |||
/* TextureParameterName */ | |||
#define GL_TEXTURE_MAG_FILTER 0x2800 | |||
#define GL_TEXTURE_MIN_FILTER 0x2801 | |||
#define GL_TEXTURE_WRAP_S 0x2802 | |||
#define GL_TEXTURE_WRAP_T 0x2803 | |||
/* TextureTarget */ | |||
/* GL_TEXTURE_2D */ | |||
#define GL_TEXTURE 0x1702 | |||
#define GL_TEXTURE_CUBE_MAP 0x8513 | |||
#define GL_TEXTURE_BINDING_CUBE_MAP 0x8514 | |||
#define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 | |||
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 | |||
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 | |||
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 | |||
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519 | |||
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A | |||
#define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C | |||
/* TextureUnit */ | |||
#define GL_TEXTURE0 0x84C0 | |||
#define GL_TEXTURE1 0x84C1 | |||
#define GL_TEXTURE2 0x84C2 | |||
#define GL_TEXTURE3 0x84C3 | |||
#define GL_TEXTURE4 0x84C4 | |||
#define GL_TEXTURE5 0x84C5 | |||
#define GL_TEXTURE6 0x84C6 | |||
#define GL_TEXTURE7 0x84C7 | |||
#define GL_TEXTURE8 0x84C8 | |||
#define GL_TEXTURE9 0x84C9 | |||
#define GL_TEXTURE10 0x84CA | |||
#define GL_TEXTURE11 0x84CB | |||
#define GL_TEXTURE12 0x84CC | |||
#define GL_TEXTURE13 0x84CD | |||
#define GL_TEXTURE14 0x84CE | |||
#define GL_TEXTURE15 0x84CF | |||
#define GL_TEXTURE16 0x84D0 | |||
#define GL_TEXTURE17 0x84D1 | |||
#define GL_TEXTURE18 0x84D2 | |||
#define GL_TEXTURE19 0x84D3 | |||
#define GL_TEXTURE20 0x84D4 | |||
#define GL_TEXTURE21 0x84D5 | |||
#define GL_TEXTURE22 0x84D6 | |||
#define GL_TEXTURE23 0x84D7 | |||
#define GL_TEXTURE24 0x84D8 | |||
#define GL_TEXTURE25 0x84D9 | |||
#define GL_TEXTURE26 0x84DA | |||
#define GL_TEXTURE27 0x84DB | |||
#define GL_TEXTURE28 0x84DC | |||
#define GL_TEXTURE29 0x84DD | |||
#define GL_TEXTURE30 0x84DE | |||
#define GL_TEXTURE31 0x84DF | |||
#define GL_ACTIVE_TEXTURE 0x84E0 | |||
/* TextureWrapMode */ | |||
#define GL_REPEAT 0x2901 | |||
#define GL_CLAMP_TO_EDGE 0x812F | |||
#define GL_MIRRORED_REPEAT 0x8370 | |||
/* Uniform Types */ | |||
#define GL_FLOAT_VEC2 0x8B50 | |||
#define GL_FLOAT_VEC3 0x8B51 | |||
#define GL_FLOAT_VEC4 0x8B52 | |||
#define GL_INT_VEC2 0x8B53 | |||
#define GL_INT_VEC3 0x8B54 | |||
#define GL_INT_VEC4 0x8B55 | |||
#define GL_BOOL 0x8B56 | |||
#define GL_BOOL_VEC2 0x8B57 | |||
#define GL_BOOL_VEC3 0x8B58 | |||
#define GL_BOOL_VEC4 0x8B59 | |||
#define GL_FLOAT_MAT2 0x8B5A | |||
#define GL_FLOAT_MAT3 0x8B5B | |||
#define GL_FLOAT_MAT4 0x8B5C | |||
#define GL_SAMPLER_2D 0x8B5E | |||
#define GL_SAMPLER_CUBE 0x8B60 | |||
/* Vertex Arrays */ | |||
#define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622 | |||
#define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623 | |||
#define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624 | |||
#define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625 | |||
#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A | |||
#define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645 | |||
#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F | |||
/* Read Format */ | |||
#define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A | |||
#define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B | |||
/* Shader Source */ | |||
#define GL_COMPILE_STATUS 0x8B81 | |||
#define GL_INFO_LOG_LENGTH 0x8B84 | |||
#define GL_SHADER_SOURCE_LENGTH 0x8B88 | |||
#define GL_SHADER_COMPILER 0x8DFA | |||
/* Shader Binary */ | |||
#define GL_PLATFORM_BINARY 0x8D63 | |||
#define GL_SHADER_BINARY_FORMATS 0x8DF8 | |||
#define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9 | |||
/* Shader Precision-Specified Types */ | |||
#define GL_LOW_FLOAT 0x8DF0 | |||
#define GL_MEDIUM_FLOAT 0x8DF1 | |||
#define GL_HIGH_FLOAT 0x8DF2 | |||
#define GL_LOW_INT 0x8DF3 | |||
#define GL_MEDIUM_INT 0x8DF4 | |||
#define GL_HIGH_INT 0x8DF5 | |||
/* Framebuffer Object. */ | |||
#define GL_FRAMEBUFFER 0x8D40 | |||
#define GL_RENDERBUFFER 0x8D41 | |||
#define GL_RGBA4 0x8056 | |||
#define GL_RGB5_A1 0x8057 | |||
#define GL_RGB565 0x8D62 | |||
#define GL_DEPTH_COMPONENT16 0x81A5 | |||
#define GL_STENCIL_INDEX 0x1901 | |||
#define GL_STENCIL_INDEX8 0x8D48 | |||
#define GL_RENDERBUFFER_WIDTH 0x8D42 | |||
#define GL_RENDERBUFFER_HEIGHT 0x8D43 | |||
#define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44 | |||
#define GL_RENDERBUFFER_RED_SIZE 0x8D50 | |||
#define GL_RENDERBUFFER_GREEN_SIZE 0x8D51 | |||
#define GL_RENDERBUFFER_BLUE_SIZE 0x8D52 | |||
#define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53 | |||
#define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54 | |||
#define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55 | |||
#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0 | |||
#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1 | |||
#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2 | |||
#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3 | |||
#define GL_COLOR_ATTACHMENT0 0x8CE0 | |||
#define GL_DEPTH_ATTACHMENT 0x8D00 | |||
#define GL_STENCIL_ATTACHMENT 0x8D20 | |||
#define GL_FRAMEBUFFER_COMPLETE 0x8CD5 | |||
#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6 | |||
#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7 | |||
#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS 0x8CD9 | |||
#define GL_FRAMEBUFFER_INCOMPLETE_FORMATS 0x8CDA | |||
#define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD | |||
#define GL_FRAMEBUFFER_BINDING 0x8CA6 | |||
#define GL_RENDERBUFFER_BINDING 0x8CA7 | |||
#define GL_MAX_RENDERBUFFER_SIZE 0x84E8 | |||
#define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506 | |||
/*------------------------------------------------------------------------- | |||
* GL core functions. | |||
*-----------------------------------------------------------------------*/ | |||
GL_APICALL void GL_APIENTRY glActiveTexture (GLenum texture); | |||
GL_APICALL void GL_APIENTRY glAttachShader (GLuint program, GLuint shader); | |||
GL_APICALL void GL_APIENTRY glBindAttribLocation (GLuint program, GLuint index, const char* name); | |||
GL_APICALL void GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer); | |||
GL_APICALL void GL_APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer); | |||
GL_APICALL void GL_APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer); | |||
GL_APICALL void GL_APIENTRY glBindTexture (GLenum target, GLuint texture); | |||
GL_APICALL void GL_APIENTRY glBlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); | |||
GL_APICALL void GL_APIENTRY glBlendEquation( GLenum mode ); | |||
GL_APICALL void GL_APIENTRY glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha); | |||
GL_APICALL void GL_APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor); | |||
GL_APICALL void GL_APIENTRY glBlendFuncSeparate (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); | |||
GL_APICALL void GL_APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void* data, GLenum usage); | |||
GL_APICALL void GL_APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void* data); | |||
GL_APICALL GLenum GL_APIENTRY glCheckFramebufferStatus (GLenum target); | |||
GL_APICALL void GL_APIENTRY glClear (GLbitfield mask); | |||
GL_APICALL void GL_APIENTRY glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); | |||
GL_APICALL void GL_APIENTRY glClearDepthf (GLclampf depth); | |||
GL_APICALL void GL_APIENTRY glClearStencil (GLint s); | |||
GL_APICALL void GL_APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); | |||
GL_APICALL void GL_APIENTRY glCompileShader (GLuint shader); | |||
GL_APICALL void GL_APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void* data); | |||
GL_APICALL void GL_APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void* data); | |||
GL_APICALL void GL_APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); | |||
GL_APICALL void GL_APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); | |||
GL_APICALL GLuint GL_APIENTRY glCreateProgram (void); | |||
GL_APICALL GLuint GL_APIENTRY glCreateShader (GLenum type); | |||
GL_APICALL void GL_APIENTRY glCullFace (GLenum mode); | |||
GL_APICALL void GL_APIENTRY glDeleteBuffers (GLsizei n, const GLuint* buffers); | |||
GL_APICALL void GL_APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint* framebuffers); | |||
GL_APICALL void GL_APIENTRY glDeleteProgram (GLuint program); | |||
GL_APICALL void GL_APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint* renderbuffers); | |||
GL_APICALL void GL_APIENTRY glDeleteShader (GLuint shader); | |||
GL_APICALL void GL_APIENTRY glDeleteTextures (GLsizei n, const GLuint* textures); | |||
GL_APICALL void GL_APIENTRY glDepthFunc (GLenum func); | |||
GL_APICALL void GL_APIENTRY glDepthMask (GLboolean flag); | |||
GL_APICALL void GL_APIENTRY glDepthRangef (GLclampf zNear, GLclampf zFar); | |||
GL_APICALL void GL_APIENTRY glDetachShader (GLuint program, GLuint shader); | |||
GL_APICALL void GL_APIENTRY glDisable (GLenum cap); | |||
GL_APICALL void GL_APIENTRY glDisableVertexAttribArray (GLuint index); | |||
GL_APICALL void GL_APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count); | |||
GL_APICALL void GL_APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const void* indices); | |||
GL_APICALL void GL_APIENTRY glEnable (GLenum cap); | |||
GL_APICALL void GL_APIENTRY glEnableVertexAttribArray (GLuint index); | |||
GL_APICALL void GL_APIENTRY glFinish (void); | |||
GL_APICALL void GL_APIENTRY glFlush (void); | |||
GL_APICALL void GL_APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); | |||
GL_APICALL void GL_APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); | |||
GL_APICALL void GL_APIENTRY glFrontFace (GLenum mode); | |||
GL_APICALL void GL_APIENTRY glGenBuffers (GLsizei n, GLuint* buffers); | |||
GL_APICALL void GL_APIENTRY glGenerateMipmap (GLenum target); | |||
GL_APICALL void GL_APIENTRY glGenFramebuffers (GLsizei n, GLuint* framebuffers); | |||
GL_APICALL void GL_APIENTRY glGenRenderbuffers (GLsizei n, GLuint* renderbuffers); | |||
GL_APICALL void GL_APIENTRY glGenTextures (GLsizei n, GLuint* textures); | |||
GL_APICALL void GL_APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name); | |||
GL_APICALL void GL_APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name); | |||
GL_APICALL void GL_APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders); | |||
GL_APICALL int GL_APIENTRY glGetAttribLocation (GLuint program, const char* name); | |||
GL_APICALL void GL_APIENTRY glGetBooleanv (GLenum pname, GLboolean* params); | |||
GL_APICALL void GL_APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint* params); | |||
GL_APICALL GLenum GL_APIENTRY glGetError (void); | |||
GL_APICALL void GL_APIENTRY glGetFloatv (GLenum pname, GLfloat* params); | |||
GL_APICALL void GL_APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint* params); | |||
GL_APICALL void GL_APIENTRY glGetIntegerv (GLenum pname, GLint* params); | |||
GL_APICALL void GL_APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint* params); | |||
GL_APICALL void GL_APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufsize, GLsizei* length, char* infolog); | |||
GL_APICALL void GL_APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint* params); | |||
GL_APICALL void GL_APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint* params); | |||
GL_APICALL void GL_APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufsize, GLsizei* length, char* infolog); | |||
GL_APICALL void GL_APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision); | |||
GL_APICALL void GL_APIENTRY glGetShaderSource (GLuint shader, GLsizei bufsize, GLsizei* length, char* source); | |||
GL_APICALL const GLubyte* GL_APIENTRY glGetString (GLenum name); | |||
GL_APICALL void GL_APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat* params); | |||
GL_APICALL void GL_APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint* params); | |||
GL_APICALL void GL_APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat* params); | |||
GL_APICALL void GL_APIENTRY glGetUniformiv (GLuint program, GLint location, GLint* params); | |||
GL_APICALL int GL_APIENTRY glGetUniformLocation (GLuint program, const char* name); | |||
GL_APICALL void GL_APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat* params); | |||
GL_APICALL void GL_APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint* params); | |||
GL_APICALL void GL_APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, void** pointer); | |||
GL_APICALL void GL_APIENTRY glHint (GLenum target, GLenum mode); | |||
GL_APICALL GLboolean GL_APIENTRY glIsBuffer (GLuint buffer); | |||
GL_APICALL GLboolean GL_APIENTRY glIsEnabled (GLenum cap); | |||
GL_APICALL GLboolean GL_APIENTRY glIsFramebuffer (GLuint framebuffer); | |||
GL_APICALL GLboolean GL_APIENTRY glIsProgram (GLuint program); | |||
GL_APICALL GLboolean GL_APIENTRY glIsRenderbuffer (GLuint renderbuffer); | |||
GL_APICALL GLboolean GL_APIENTRY glIsShader (GLuint shader); | |||
GL_APICALL GLboolean GL_APIENTRY glIsTexture (GLuint texture); | |||
GL_APICALL void GL_APIENTRY glLineWidth (GLfloat width); | |||
GL_APICALL void GL_APIENTRY glLinkProgram (GLuint program); | |||
GL_APICALL void GL_APIENTRY glPixelStorei (GLenum pname, GLint param); | |||
GL_APICALL void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat units); | |||
GL_APICALL void GL_APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void* pixels); | |||
GL_APICALL void GL_APIENTRY glReleaseShaderCompiler (void); | |||
GL_APICALL void GL_APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); | |||
GL_APICALL void GL_APIENTRY glSampleCoverage (GLclampf value, GLboolean invert); | |||
GL_APICALL void GL_APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height); | |||
GL_APICALL void GL_APIENTRY glShaderBinary (GLint n, const GLuint* shaders, GLenum binaryformat, const void* binary, GLint length); | |||
GL_APICALL void GL_APIENTRY glShaderSource (GLuint shader, GLsizei count, const char** string, const GLint* length); | |||
GL_APICALL void GL_APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask); | |||
GL_APICALL void GL_APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask); | |||
GL_APICALL void GL_APIENTRY glStencilMask (GLuint mask); | |||
GL_APICALL void GL_APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask); | |||
GL_APICALL void GL_APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass); | |||
GL_APICALL void GL_APIENTRY glStencilOpSeparate (GLenum face, GLenum fail, GLenum zfail, GLenum zpass); | |||
GL_APICALL void GL_APIENTRY glTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void* pixels); | |||
GL_APICALL void GL_APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param); | |||
GL_APICALL void GL_APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat* params); | |||
GL_APICALL void GL_APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param); | |||
GL_APICALL void GL_APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint* params); | |||
GL_APICALL void GL_APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void* pixels); | |||
GL_APICALL void GL_APIENTRY glUniform1f (GLint location, GLfloat x); | |||
GL_APICALL void GL_APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat* v); | |||
GL_APICALL void GL_APIENTRY glUniform1i (GLint location, GLint x); | |||
GL_APICALL void GL_APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint* v); | |||
GL_APICALL void GL_APIENTRY glUniform2f (GLint location, GLfloat x, GLfloat y); | |||
GL_APICALL void GL_APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat* v); | |||
GL_APICALL void GL_APIENTRY glUniform2i (GLint location, GLint x, GLint y); | |||
GL_APICALL void GL_APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint* v); | |||
GL_APICALL void GL_APIENTRY glUniform3f (GLint location, GLfloat x, GLfloat y, GLfloat z); | |||
GL_APICALL void GL_APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat* v); | |||
GL_APICALL void GL_APIENTRY glUniform3i (GLint location, GLint x, GLint y, GLint z); | |||
GL_APICALL void GL_APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint* v); | |||
GL_APICALL void GL_APIENTRY glUniform4f (GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w); | |||
GL_APICALL void GL_APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat* v); | |||
GL_APICALL void GL_APIENTRY glUniform4i (GLint location, GLint x, GLint y, GLint z, GLint w); | |||
GL_APICALL void GL_APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint* v); | |||
GL_APICALL void GL_APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); | |||
GL_APICALL void GL_APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); | |||
GL_APICALL void GL_APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); | |||
GL_APICALL void GL_APIENTRY glUseProgram (GLuint program); | |||
GL_APICALL void GL_APIENTRY glValidateProgram (GLuint program); | |||
GL_APICALL void GL_APIENTRY glVertexAttrib1f (GLuint indx, GLfloat x); | |||
GL_APICALL void GL_APIENTRY glVertexAttrib1fv (GLuint indx, const GLfloat* values); | |||
GL_APICALL void GL_APIENTRY glVertexAttrib2f (GLuint indx, GLfloat x, GLfloat y); | |||
GL_APICALL void GL_APIENTRY glVertexAttrib2fv (GLuint indx, const GLfloat* values); | |||
GL_APICALL void GL_APIENTRY glVertexAttrib3f (GLuint indx, GLfloat x, GLfloat y, GLfloat z); | |||
GL_APICALL void GL_APIENTRY glVertexAttrib3fv (GLuint indx, const GLfloat* values); | |||
GL_APICALL void GL_APIENTRY glVertexAttrib4f (GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w); | |||
GL_APICALL void GL_APIENTRY glVertexAttrib4fv (GLuint indx, const GLfloat* values); | |||
GL_APICALL void GL_APIENTRY glVertexAttribPointer (GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void* ptr); | |||
GL_APICALL void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height); | |||
#ifdef __cplusplus | |||
} | |||
#endif | |||
#endif /* __gl2_h_ */ |
@@ -0,0 +1,388 @@ | |||
#ifndef __gl2ext_h_ | |||
#define __gl2ext_h_ | |||
#ifdef __cplusplus | |||
extern "C" { | |||
#endif | |||
/* | |||
** License Applicability. Except to the extent portions of this file are | |||
** made subject to an alternative license as permitted in the SGI Free | |||
** Software License B, Version 1.0 (the "License"), the contents of this | |||
** file are subject only to the provisions of the License. You may not use | |||
** this file except in compliance with the License. You may obtain a copy | |||
** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600 | |||
** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at: | |||
** | |||
** http://oss.sgi.com/projects/FreeB | |||
** | |||
** Note that, as provided in the License, the Software is distributed on an | |||
** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS | |||
** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND | |||
** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A | |||
** PARTICULAR PURPOSE, AND NON-INFRINGEMENT. | |||
** | |||
** Original Code. The Original Code is: OpenGL Sample Implementation, | |||
** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics, | |||
** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc. | |||
** Copyright in any portions created by third parties is as indicated | |||
** elsewhere herein. All Rights Reserved. | |||
** | |||
** Additional Notice Provisions: The application programming interfaces | |||
** established by SGI in conjunction with the Original Code are The | |||
** OpenGL(R) Graphics System: A Specification (Version 1.2.1), released | |||
** April 1, 1999; The OpenGL(R) Graphics System Utility Library (Version | |||
** 1.3), released November 4, 1998; and OpenGL(R) Graphics with the X | |||
** Window System(R) (Version 1.3), released October 19, 1998. This software | |||
** was created using the OpenGL(R) version 1.2.1 Sample Implementation | |||
** published by SGI, but has not been independently verified as being | |||
** compliant with the OpenGL(R) version 1.2.1 Specification. | |||
*/ | |||
#ifndef GL_APIENTRYP | |||
# define GL_APIENTRYP GL_APIENTRY* | |||
#endif | |||
/*------------------------------------------------------------------------* | |||
* OES extension tokens | |||
*------------------------------------------------------------------------*/ | |||
/* GL_OES_compressed_ETC1_RGB8_texture */ | |||
#ifndef GL_OES_compressed_ETC1_RGB8_texture | |||
#define GL_ETC1_RGB8_OES 0x8D64 | |||
#endif | |||
/* GL_OES_compressed_paletted_texture */ | |||
#ifndef GL_OES_compressed_paletted_texture | |||
#define GL_PALETTE4_RGB8_OES 0x8B90 | |||
#define GL_PALETTE4_RGBA8_OES 0x8B91 | |||
#define GL_PALETTE4_R5_G6_B5_OES 0x8B92 | |||
#define GL_PALETTE4_RGBA4_OES 0x8B93 | |||
#define GL_PALETTE4_RGB5_A1_OES 0x8B94 | |||
#define GL_PALETTE8_RGB8_OES 0x8B95 | |||
#define GL_PALETTE8_RGBA8_OES 0x8B96 | |||
#define GL_PALETTE8_R5_G6_B5_OES 0x8B97 | |||
#define GL_PALETTE8_RGBA4_OES 0x8B98 | |||
#define GL_PALETTE8_RGB5_A1_OES 0x8B99 | |||
#endif | |||
/* GL_OES_EGL_image */ | |||
#ifndef GL_OES_EGL_image | |||
typedef void* GLeglImageOES; | |||
#endif | |||
/* GL_OES_depth24 */ | |||
#ifndef GL_OES_depth24 | |||
#define GL_DEPTH_COMPONENT24_OES 0x81A6 | |||
#endif | |||
/* GL_OES_depth32 */ | |||
#ifndef GL_OES_depth32 | |||
#define GL_DEPTH_COMPONENT32_OES 0x81A7 | |||
#endif | |||
/* GL_OES_depth_texture */ | |||
/* No new tokens introduced by this extension. */ | |||
/* GL_OES_mapbuffer */ | |||
#ifndef GL_OES_mapbuffer | |||
/* GL_READ_ONLY and GL_READ_WRITE not supported */ | |||
#define GL_WRITE_ONLY_OES 0x88B9 | |||
#define GL_BUFFER_ACCESS_OES 0x88BB | |||
#define GL_BUFFER_MAPPED_OES 0x88BC | |||
#define GL_BUFFER_MAP_POINTER_OES 0x88BD | |||
#endif | |||
/* GL_OES_packed_depth_stencil */ | |||
#ifndef GL_OES_packed_depth_stencil | |||
#define GL_DEPTH_STENCIL_OES 0x84F9 | |||
#define GL_UNSIGNED_INT_24_8_OES 0x84FA | |||
#define GL_DEPTH24_STENCIL8_OES 0x88F0 | |||
#endif | |||
/* GL_OES_rgb8_rgba8 */ | |||
#ifndef GL_OES_rgb8_rgba8 | |||
#define GL_RGB8_OES 0x8051 | |||
#define GL_RGBA8_OES 0x8058 | |||
#endif | |||
/* GL_OES_standard_derivatives */ | |||
#ifndef GL_OES_standard_derivatives | |||
#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES 0x8B8B | |||
#endif | |||
/* GL_OES_stencil1 */ | |||
#ifndef GL_OES_stencil1 | |||
#define GL_STENCIL_INDEX1_OES 0x8D46 | |||
#endif | |||
/* GL_OES_stencil4 */ | |||
#ifndef GL_OES_stencil4 | |||
#define GL_STENCIL_INDEX4_OES 0x8D47 | |||
#endif | |||
/* GL_OES_texture3D */ | |||
#ifndef GL_OES_texture3D | |||
#define GL_TEXTURE_WRAP_R_OES 0x8072 | |||
#define GL_TEXTURE_3D_OES 0x806F | |||
#define GL_TEXTURE_BINDING_3D_OES 0x806A | |||
#define GL_MAX_3D_TEXTURE_SIZE_OES 0x8073 | |||
#define GL_SAMPLER_3D_OES 0x8B5F | |||
#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES 0x8CD4 | |||
#endif | |||
/* GL_OES_texture_half_float */ | |||
#ifndef GL_OES_texture_half_float | |||
#define GL_HALF_FLOAT_OES 0x8D61 | |||
#endif | |||
/* GL_OES_vertex_half_float */ | |||
/* GL_HALF_FLOAT_OES defined in GL_OES_texture_half_float already. */ | |||
/* GL_OES_vertex_type_10_10_10_2 */ | |||
#ifndef GL_OES_vertex_type_10_10_10_2 | |||
#define GL_UNSIGNED_INT_10_10_10_2_OES 0x8DF6 | |||
#define GL_INT_10_10_10_2_OES 0x8DF7 | |||
#endif | |||
/* GL_OES_get_program_binary */ | |||
#ifndef GL_OES_get_program_binary | |||
#define GL_PROGRAM_BINARY_LENGTH_OES 0x8741 | |||
#define GL_NUM_PROGRAM_BINARY_FORMATS_OES 0x87FE | |||
#define GL_PROGRAM_BINARY_FORMATS_OES 0x87FF | |||
#endif | |||
/* GL_AMD_program_binary_Z400 */ | |||
#ifndef GL_AMD_program_binary_Z400 | |||
#define GL_Z400_BINARY_AMD 0x8740 | |||
#endif | |||
/*------------------------------------------------------------------------* | |||
* AMD extension tokens | |||
*------------------------------------------------------------------------*/ | |||
/* GL_AMD_compressed_3DC_texture */ | |||
#ifndef GL_AMD_compressed_3DC_texture | |||
#define GL_3DC_X_AMD 0x87F9 | |||
#define GL_3DC_XY_AMD 0x87FA | |||
#endif | |||
/* GL_AMD_compressed_ATC_texture */ | |||
#ifndef GL_AMD_compressed_ATC_texture | |||
#define GL_ATC_RGB_AMD 0x8C92 | |||
#define GL_ATC_RGBA_EXPLICIT_ALPHA_AMD 0x8C93 | |||
#define GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD 0x87EE | |||
#endif | |||
/*------------------------------------------------------------------------* | |||
* EXT extension tokens | |||
*------------------------------------------------------------------------*/ | |||
/* GL_EXT_texture_filter_anisotropic */ | |||
#ifndef GL_EXT_texture_filter_anisotropic | |||
#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE | |||
#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF | |||
#endif | |||
/* GL_EXT_texture_type_2_10_10_10_REV */ | |||
#ifndef GL_EXT_texture_type_2_10_10_10_REV | |||
#define GL_UNSIGNED_INT_2_10_10_10_REV_EXT 0x8368 | |||
#endif | |||
/*------------------------------------------------------------------------* | |||
* OES extension functions | |||
*------------------------------------------------------------------------*/ | |||
/* GL_OES_compressed_ETC1_RGB8_texture */ | |||
#ifndef GL_OES_compressed_ETC1_RGB8_texture | |||
#define GL_OES_compressed_ETC1_RGB8_texture 1 | |||
#endif | |||
/* GL_OES_compressed_paletted_texture */ | |||
#ifndef GL_OES_compressed_paletted_texture | |||
#define GL_OES_compressed_paletted_texture 1 | |||
#endif | |||
/* GL_OES_EGL_image */ | |||
#ifndef GL_OES_EGL_image | |||
#define GL_OES_EGL_image 1 | |||
#ifdef GL_GLEXT_PROTOTYPES | |||
GL_APICALL void GL_APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image); | |||
GL_APICALL void GL_APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image); | |||
#endif | |||
typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image); | |||
typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImageOES image); | |||
#endif | |||
/* GL_OES_depth24 */ | |||
#ifndef GL_OES_depth24 | |||
#define GL_OES_depth24 1 | |||
#endif | |||
/* GL_OES_depth32 */ | |||
#ifndef GL_OES_depth32 | |||
#define GL_OES_depth32 1 | |||
#endif | |||
/* GL_OES_depth_texture */ | |||
#ifndef GL_OES_depth_texture | |||
#define GL_OES_depth_texture 1 | |||
#endif | |||
/* GL_OES_element_index_uint */ | |||
#ifndef GL_OES_element_index_uint | |||
#define GL_OES_element_index_uint 1 | |||
#endif | |||
/* GL_OES_fbo_render_mipmap */ | |||
#ifndef GL_OES_fbo_render_mipmap | |||
#define GL_OES_fbo_render_mipmap 1 | |||
#endif | |||
/* GL_OES_fragment_precision_high */ | |||
#ifndef GL_OES_fragment_precision_high | |||
#define GL_OES_fragment_precision_high 1 | |||
#endif | |||
/* GL_OES_mapbuffer */ | |||
#ifndef GL_OES_mapbuffer | |||
#define GL_OES_mapbuffer 1 | |||
#ifdef GL_GLEXT_PROTOTYPES | |||
GL_APICALL void* GL_APIENTRY glMapBufferOES (GLenum target, GLenum access); | |||
GL_APICALL GLboolean GL_APIENTRY glUnmapBufferOES (GLenum target); | |||
GL_APICALL void GL_APIENTRY glGetBufferPointervOES (GLenum target, GLenum pname, void** params); | |||
#endif | |||
typedef void* (GL_APIENTRYP PFNGLMAPBUFFEROESPROC) (GLenum target, GLenum access); | |||
typedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFEROESPROC) (GLenum target); | |||
typedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVOESPROC) (GLenum target, GLenum pname, void** params); | |||
#endif | |||
/* GL_OES_packed_depth_stencil */ | |||
#ifndef GL_OES_packed_depth_stencil | |||
#define GL_OES_packed_depth_stencil 1 | |||
#endif | |||
/* GL_OES_rgb8_rgba8 */ | |||
#ifndef GL_OES_rgb8_rgba8 | |||
#define GL_OES_rgb8_rgba8 1 | |||
#endif | |||
/* GL_OES_standard_derivatives */ | |||
#ifndef GL_OES_standard_derivatives | |||
#define GL_OES_standard_derivatives 1 | |||
#endif | |||
/* GL_OES_stencil1 */ | |||
#ifndef GL_OES_stencil1 | |||
#define GL_OES_stencil1 1 | |||
#endif | |||
/* GL_OES_stencil4 */ | |||
#ifndef GL_OES_stencil4 | |||
#define GL_OES_stencil4 1 | |||
#endif | |||
/* GL_OES_texture_3D */ | |||
#ifndef GL_OES_texture_3D | |||
#define GL_OES_texture_3D 1 | |||
#ifdef GL_GLEXT_PROTOTYPES | |||
GL_APICALL void GL_APIENTRY glTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void* pixels); | |||
GL_APICALL void GL_APIENTRY glTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void* pixels); | |||
GL_APICALL void GL_APIENTRY glCopyTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); | |||
GL_APICALL void GL_APIENTRY glCompressedTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void* data); | |||
GL_APICALL void GL_APIENTRY glCompressedTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void* data); | |||
GL_APICALL void GL_APIENTRY glFramebufferTexture3DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); | |||
#endif | |||
typedef void (GL_APIENTRYP PFNGLTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels); | |||
typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void* pixels); | |||
typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); | |||
typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void* data); | |||
typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void* data); | |||
typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DOES) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); | |||
#endif | |||
/* GL_OES_texture_float_linear */ | |||
#ifndef GL_OES_texture_float_linear | |||
#define GL_OES_texture_float_linear 1 | |||
#endif | |||
/* GL_OES_texture_half_float_linear */ | |||
#ifndef GL_OES_texture_half_float_linear | |||
#define GL_OES_texture_half_float_linear 1 | |||
#endif | |||
/* GL_OES_texture_float */ | |||
#ifndef GL_OES_texture_float | |||
#define GL_OES_texture_float 1 | |||
#endif | |||
/* GL_OES_texture_half_float */ | |||
#ifndef GL_OES_texture_half_float | |||
#define GL_OES_texture_half_float 1 | |||
#endif | |||
/* GL_OES_texture_npot */ | |||
#ifndef GL_OES_texture_npot | |||
#define GL_OES_texture_npot 1 | |||
#endif | |||
/* GL_OES_vertex_half_float */ | |||
#ifndef GL_OES_vertex_half_float | |||
#define GL_OES_vertex_half_float 1 | |||
#endif | |||
/* GL_OES_vertex_type_10_10_10_2 */ | |||
#ifndef GL_OES_vertex_type_10_10_10_2 | |||
#define GL_OES_vertex_type_10_10_10_2 1 | |||
#endif | |||
/* GL_OES_get_program_binary */ | |||
#ifndef GL_OES_get_program_binary | |||
#define GL_OES_get_program_binary 1 | |||
#ifdef GL_GLEXT_PROTOTYPES | |||
GL_APICALL void GL_APIENTRY glGetProgramBinaryOES (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); | |||
GL_APICALL void GL_APIENTRY glProgramBinaryOES (GLuint program, GLenum binaryFormat, const void *binary, GLint length); | |||
#endif | |||
typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYOESPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); | |||
typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYOESPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLint length); | |||
#endif | |||
/*------------------------------------------------------------------------* | |||
* AMD extension functions | |||
*------------------------------------------------------------------------*/ | |||
/* GL_AMD_compressed_3DC_texture */ | |||
#ifndef GL_AMD_compressed_3DC_texture | |||
#define GL_AMD_compressed_3DC_texture 1 | |||
#endif | |||
/* GL_AMD_compressed_ATC_texture */ | |||
#ifndef GL_AMD_compressed_ATC_texture | |||
#define GL_AMD_compressed_ATC_texture 1 | |||
#endif | |||
/* GL_AMD_program_binary_Z400 */ | |||
#ifndef GL_AMD_program_binary_Z400 | |||
#define GL_AMD_program_binary_Z400 1 | |||
#endif | |||
/*------------------------------------------------------------------------* | |||
* EXT extension functions | |||
*------------------------------------------------------------------------*/ | |||
/* GL_EXT_texture_filter_anisotropic */ | |||
#ifndef GL_EXT_texture_filter_anisotropic | |||
#define GL_EXT_texture_filter_anisotropic 1 | |||
#endif | |||
/* GL_EXT_texture_type_2_10_10_10_REV */ | |||
#ifndef GL_EXT_texture_type_2_10_10_10_REV | |||
#define GL_EXT_texture_type_2_10_10_10_REV 1 | |||
#endif | |||
#ifdef __cplusplus | |||
} | |||
#endif | |||
#endif /* __gl2ext_h_ */ |
@@ -0,0 +1,72 @@ | |||
#ifndef __gl2platform_h_ | |||
#define __gl2platform_h_ | |||
#ifdef __cplusplus | |||
extern "C" { | |||
#endif | |||
/* | |||
** License Applicability. Except to the extent portions of this file are | |||
** made subject to an alternative license as permitted in the SGI Free | |||
** Software License B, Version 1.0 (the "License"), the contents of this | |||
** file are subject only to the provisions of the License. You may not use | |||
** this file except in compliance with the License. You may obtain a copy | |||
** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600 | |||
** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at: | |||
** | |||
** http://oss.sgi.com/projects/FreeB | |||
** | |||
** Note that, as provided in the License, the Software is distributed on an | |||
** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS | |||
** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND | |||
** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A | |||
** PARTICULAR PURPOSE, AND NON-INFRINGEMENT. | |||
** | |||
** Original Code. The Original Code is: OpenGL Sample Implementation, | |||
** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics, | |||
** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc. | |||
** Copyright in any portions created by third parties is as indicated | |||
** elsewhere herein. All Rights Reserved. | |||
** | |||
** Additional Notice Provisions: The application programming interfaces | |||
** established by SGI in conjunction with the Original Code are The | |||
** OpenGL(R) Graphics System: A Specification (Version 1.2.1), released | |||
** April 1, 1999; The OpenGL(R) Graphics System Utility Library (Version | |||
** 1.3), released November 4, 1998; and OpenGL(R) Graphics with the X | |||
** Window System(R) (Version 1.3), released October 19, 1998. This software | |||
** was created using the OpenGL(R) version 1.2.1 Sample Implementation | |||
** published by SGI, but has not been independently verified as being | |||
** compliant with the OpenGL(R) version 1.2.1 Specification. | |||
*/ | |||
/*------------------------------------------------------------------------- | |||
* Definition of GL_APICALL and GL_APIENTRY | |||
*-----------------------------------------------------------------------*/ | |||
#ifdef _WIN32 | |||
# ifdef __GL_EXPORTS | |||
# define GL_APICALL __declspec(dllexport) | |||
# else | |||
# define GL_APICALL __declspec(dllimport) | |||
# endif | |||
# ifdef UNDER_CE | |||
# define GL_APIENTRY | |||
# else | |||
# define GL_APIENTRY __stdcall | |||
# endif | |||
#else | |||
# ifdef __GL_EXPORTS | |||
# define GL_APICALL | |||
# else | |||
# define GL_APICALL extern | |||
# endif | |||
# define GL_APIENTRY | |||
#endif | |||
#ifdef __cplusplus | |||
} | |||
#endif | |||
#endif /* __gl2platform_h_ */ |
@@ -1,23 +0,0 @@ | |||
# Makefile for VMS | |||
# contributed by Jouk Jansen joukj@hrem.stm.tudelft.nl | |||
#vms | |||
.ifdef SHARE | |||
GL_SHAR = libMesaGL.exe | |||
GLU_SHAR = libMesaGLU.exe | |||
GLUT_SHAR = libglut.exe | |||
.endif | |||
GL_LIB = libMesaGL.olb | |||
GLU_LIB = libMesaGLU.olb | |||
GLUT_LIB = libglut.olb | |||
CC = cc | |||
CXX = cxx/define=(LIBRARYBUILD=1)/assume=(nostdnew,noglobal_array_new) | |||
CFLAGS1 = | |||
MAKELIB = library/create | |||
RANLIB = true | |||
.ifdef SHARE | |||
XLIBS = [--.vms]xlib_share/opt | |||
.else | |||
XLIBS = [--.vms]xlib/opt | |||
.endif |
@@ -0,0 +1,8 @@ | |||
SConscript([ | |||
'util/SConscript', | |||
'demos/SConscript', | |||
'redbook/SConscript', | |||
'samples/SConscript', | |||
'trivial/SConscript', | |||
'vp/SConscript', | |||
]) |
@@ -0,0 +1,65 @@ | |||
import os | |||
import os.path | |||
import sys | |||
env = Environment( | |||
tools = ['generic'], | |||
toolpath = ['../scons'], | |||
ENV = os.environ, | |||
) | |||
# Use Mesa's headers and libs | |||
if 1: | |||
build_topdir = 'build' | |||
build_subdir = env['platform'] | |||
if env['machine'] != 'generic': | |||
build_subdir += '-' + env['machine'] | |||
if env['debug']: | |||
build_subdir += "-debug" | |||
if env['profile']: | |||
build_subdir += "-profile" | |||
build_dir = os.path.join(build_topdir, build_subdir) | |||
env.Append(CPPDEFINES = ['GLEW_STATIC']) | |||
env.Append(CPPPATH = ['#../include']) | |||
env.Append(LIBPATH = [ | |||
'#../' + build_dir + '/glew/', | |||
'#../' + build_dir + '/glut/glx', | |||
]) | |||
conf = Configure(env) | |||
# OpenGL | |||
if env['platform'] == 'windows': | |||
env.Prepend(LIBS = ['glu32', 'opengl32']) | |||
else: | |||
env.Prepend(LIBS = ['GLU', 'GL']) | |||
# Glut | |||
env['GLUT'] = False | |||
if conf.CheckCHeader('GL/glut.h'): | |||
if env['platform'] == 'windows': | |||
env['GLUT_LIB'] = 'glut32' | |||
else: | |||
env['GLUT_LIB'] = 'glut' | |||
env['GLUT'] = True | |||
# GLEW | |||
env['GLEW'] = False | |||
if conf.CheckCHeader('GL/glew.h'): | |||
env['GLEW_LIB'] = 'glew' | |||
env['GLEW'] = True | |||
env.Prepend(LIBS = ['glew']) | |||
conf.Finish() | |||
Export('env') | |||
SConscript( | |||
'SConscript', | |||
build_dir = env['build'], | |||
duplicate = 0 # http://www.scons.org/doc/0.97/HTML/scons-user/x2261.html | |||
) |
@@ -1,4 +1,3 @@ | |||
.cvsignore | |||
arbfplight | |||
arbfslight | |||
arbocclude | |||
@@ -9,6 +8,7 @@ cubemap | |||
drawpix | |||
engine | |||
extfuncs.h | |||
fbo_firecube | |||
fire | |||
fogcoord | |||
fplight | |||
@@ -54,6 +54,7 @@ texcyl | |||
texdown | |||
texenv | |||
texobj | |||
textures | |||
trackball.c | |||
trackball.h | |||
trispd |
@@ -8,7 +8,7 @@ INCDIR = $(TOP)/include | |||
LIB_DEP = $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME) $(TOP)/$(LIB_DIR)/$(GLU_LIB_NAME) \ | |||
$(TOP)/$(LIB_DIR)/$(GLUT_LIB_NAME) | |||
LIBS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) \ | |||
LIBS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLEW_LIB) -l$(GLU_LIB) -l$(GL_LIB) \ | |||
$(APP_LIB_DEPS) | |||
PROGS = \ | |||
@@ -60,6 +60,7 @@ PROGS = \ | |||
texdown \ | |||
texenv \ | |||
texobj \ | |||
textures \ | |||
trispd \ | |||
tunnel \ | |||
tunnel2 \ | |||
@@ -75,7 +76,7 @@ PROGS = \ | |||
# make executable from .c file: | |||
.c: $(LIB_DEP) readtex.o | |||
$(CC) -I$(INCDIR) $(CFLAGS) $(LDFLAGS) $< readtex.o $(LIBS) -o $@ | |||
$(APP_CC) -I$(INCDIR) $(CFLAGS) $(LDFLAGS) $< readtex.o $(LIBS) -o $@ | |||
##### TARGETS ##### | |||
@@ -91,7 +92,7 @@ readtex.h: $(TOP)/progs/util/readtex.h | |||
cp $< . | |||
readtex.o: readtex.c readtex.h | |||
$(CC) -c -I$(INCDIR) $(CFLAGS) readtex.c | |||
$(APP_CC) -c -I$(INCDIR) $(CFLAGS) readtex.c | |||
showbuffer.c: $(TOP)/progs/util/showbuffer.c | |||
@@ -101,7 +102,7 @@ showbuffer.h: $(TOP)/progs/util/showbuffer.h | |||
cp $< . | |||
showbuffer.o: showbuffer.c showbuffer.h | |||
$(CC) -c -I$(INCDIR) $(CFLAGS) showbuffer.c | |||
$(APP_CC) -c -I$(INCDIR) $(CFLAGS) showbuffer.c | |||
trackball.c: $(TOP)/progs/util/trackball.c | |||
@@ -111,7 +112,7 @@ trackball.h: $(TOP)/progs/util/trackball.h | |||
cp $< . | |||
trackball.o: trackball.c trackball.h | |||
$(CC) -c -I$(INCDIR) $(CFLAGS) trackball.c | |||
$(APP_CC) -c -I$(INCDIR) $(CFLAGS) trackball.c | |||
extfuncs.h: $(TOP)/progs/util/extfuncs.h | |||
@@ -119,38 +120,38 @@ extfuncs.h: $(TOP)/progs/util/extfuncs.h | |||
reflect: reflect.o showbuffer.o readtex.o | |||
$(CC) $(CFLAGS) $(LDFLAGS) reflect.o showbuffer.o readtex.o $(LIBS) -o $@ | |||
$(APP_CC) $(CFLAGS) $(LDFLAGS) reflect.o showbuffer.o readtex.o $(LIBS) -o $@ | |||
reflect.o: reflect.c showbuffer.h | |||
$(CC) -c -I$(INCDIR) $(CFLAGS) reflect.c | |||
$(APP_CC) -c -I$(INCDIR) $(CFLAGS) reflect.c | |||
shadowtex: shadowtex.o showbuffer.o | |||
$(CC) $(CFLAGS) $(LDFLAGS) shadowtex.o showbuffer.o $(LIBS) -o $@ | |||
$(APP_CC) $(CFLAGS) $(LDFLAGS) shadowtex.o showbuffer.o $(LIBS) -o $@ | |||
shadowtex.o: shadowtex.c showbuffer.h | |||
$(CC) -c -I$(INCDIR) $(CFLAGS) shadowtex.c | |||
$(APP_CC) -c -I$(INCDIR) $(CFLAGS) shadowtex.c | |||
gloss: gloss.o trackball.o readtex.o | |||
$(CC) $(CFLAGS) $(LDFLAGS) gloss.o trackball.o readtex.o $(LIBS) -o $@ | |||
$(APP_CC) $(CFLAGS) $(LDFLAGS) gloss.o trackball.o readtex.o $(LIBS) -o $@ | |||
gloss.o: gloss.c trackball.h | |||
$(CC) -c -I$(INCDIR) $(CFLAGS) gloss.c | |||
$(APP_CC) -c -I$(INCDIR) $(CFLAGS) gloss.c | |||
engine: engine.o trackball.o readtex.o | |||
$(CC) $(CFLAGS) $(LDFLAGS) engine.o trackball.o readtex.o $(LIBS) -o $@ | |||
$(APP_CC) $(CFLAGS) $(LDFLAGS) engine.o trackball.o readtex.o $(LIBS) -o $@ | |||
engine.o: engine.c trackball.h | |||
$(CC) -c -I$(INCDIR) $(CFLAGS) engine.c | |||
$(APP_CC) -c -I$(INCDIR) $(CFLAGS) engine.c | |||
fslight: fslight.o | |||
$(CC) $(CFLAGS) $(LDFLAGS) fslight.o $(LIBS) -o $@ | |||
$(APP_CC) $(CFLAGS) $(LDFLAGS) fslight.o $(LIBS) -o $@ | |||
fslight.o: fslight.c extfuncs.h | |||
$(CC) -c -I$(INCDIR) $(CFLAGS) fslight.c | |||
$(APP_CC) -c -I$(INCDIR) $(CFLAGS) fslight.c | |||
rain: particles.o rain.o readtex.o | |||
$(CXX) $(CXXFLAGS) $(LDFLAGS) $^ $(LIBS) -o $@ |
@@ -0,0 +1,89 @@ | |||
Import('*') | |||
if not env['GLUT']: | |||
Return() | |||
env = env.Clone() | |||
env.Prepend(CPPPATH = [ | |||
'../util', | |||
]) | |||
env.Prepend(LIBS = [ | |||
util, | |||
'$GLUT_LIB' | |||
]) | |||
if env['platform'] == 'windows': | |||
env.Append(CPPDEFINES = ['NOMINMAX']) | |||
env.Prepend(LIBS = ['winmm']) | |||
progs = [ | |||
'arbfplight', | |||
'arbfslight', | |||
'arbocclude', | |||
'bounce', | |||
'clearspd', | |||
'copypix', | |||
'cubemap', | |||
'drawpix', | |||
'engine', | |||
'fbo_firecube', | |||
'fire', | |||
'fogcoord', | |||
'fplight', | |||
'fslight', | |||
'gamma', | |||
'gearbox', | |||
'gears', | |||
'geartrain', | |||
'glinfo', | |||
'gloss', | |||
'glslnoise', | |||
'gltestperf', | |||
'glutfx', | |||
'isosurf', | |||
'ipers', | |||
'lodbias', | |||
'morph3d', | |||
'multiarb', | |||
'paltex', | |||
'pointblast', | |||
'ray', | |||
'readpix', | |||
'reflect', | |||
'renormal', | |||
'shadowtex', | |||
'singlebuffer', | |||
'streaming_rect', | |||
'spectex', | |||
'spriteblast', | |||
'stex3d', | |||
'teapot', | |||
'terrain', | |||
'tessdemo', | |||
'texcyl', | |||
'texdown', | |||
'texenv', | |||
'texobj', | |||
'textures', | |||
'trispd', | |||
'tunnel', | |||
'tunnel2', | |||
'vao_demo', | |||
'winpos', | |||
] | |||
for prog in progs: | |||
env.Program( | |||
target = prog, | |||
source = prog + '.c', | |||
) | |||
env.Program( | |||
target = 'rain', | |||
source = [ | |||
'rain.cxx', | |||
'particles.cxx', | |||
] | |||
) |
@@ -1,101 +1,101 @@ | |||
# Microsoft Developer Studio Project File - Name="all" - Package Owner=<4> | |||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 | |||
# ** DO NOT EDIT ** | |||
# TARGTYPE "Win32 (x86) Application" 0x0101 | |||
CFG=all - Win32 Debug | |||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, | |||
!MESSAGE use the Export Makefile command and run | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "all.mak". | |||
!MESSAGE | |||
!MESSAGE You can specify a configuration when running NMAKE | |||
!MESSAGE by defining the macro CFG on the command line. For example: | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "all.mak" CFG="all - Win32 Debug" | |||
!MESSAGE | |||
!MESSAGE Possible choices for configuration are: | |||
!MESSAGE | |||
!MESSAGE "all - Win32 Release" (based on "Win32 (x86) Application") | |||
!MESSAGE "all - Win32 Debug" (based on "Win32 (x86) Application") | |||
!MESSAGE | |||
# Begin Project | |||
# PROP AllowPerConfigDependencies 0 | |||
# PROP Scc_ProjName "" | |||
# PROP Scc_LocalPath "" | |||
CPP=cl.exe | |||
MTL=midl.exe | |||
RSC=rc.exe | |||
!IF "$(CFG)" == "all - Win32 Release" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 0 | |||
# PROP BASE Output_Dir "Release" | |||
# PROP BASE Intermediate_Dir "Release" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 0 | |||
# PROP Output_Dir "Release" | |||
# PROP Intermediate_Dir "Release" | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /YX /FD /c | |||
# ADD CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /YX /FD /c | |||
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 | |||
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 | |||
# ADD BASE RSC /l 0x409 /d "NDEBUG" | |||
# ADD RSC /l 0x409 /d "NDEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 | |||
!ELSEIF "$(CFG)" == "all - Win32 Debug" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 1 | |||
# PROP BASE Output_Dir "Debug" | |||
# PROP BASE Intermediate_Dir "Debug" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 1 | |||
# PROP Output_Dir "Debug" | |||
# PROP Intermediate_Dir "Debug" | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 | |||
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 | |||
# ADD BASE RSC /l 0x409 /d "_DEBUG" | |||
# ADD RSC /l 0x409 /d "_DEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept | |||
!ENDIF | |||
# Begin Target | |||
# Name "all - Win32 Release" | |||
# Name "all - Win32 Debug" | |||
# Begin Group "Source Files" | |||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" | |||
# End Group | |||
# Begin Group "Header Files" | |||
# PROP Default_Filter "h;hpp;hxx;hm;inl" | |||
# End Group | |||
# Begin Group "Resource Files" | |||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | |||
# End Group | |||
# End Target | |||
# End Project | |||
# Microsoft Developer Studio Project File - Name="all" - Package Owner=<4> | |||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 | |||
# ** DO NOT EDIT ** | |||
# TARGTYPE "Win32 (x86) Application" 0x0101 | |||
CFG=all - Win32 Debug | |||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, | |||
!MESSAGE use the Export Makefile command and run | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "all.mak". | |||
!MESSAGE | |||
!MESSAGE You can specify a configuration when running NMAKE | |||
!MESSAGE by defining the macro CFG on the command line. For example: | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "all.mak" CFG="all - Win32 Debug" | |||
!MESSAGE | |||
!MESSAGE Possible choices for configuration are: | |||
!MESSAGE | |||
!MESSAGE "all - Win32 Release" (based on "Win32 (x86) Application") | |||
!MESSAGE "all - Win32 Debug" (based on "Win32 (x86) Application") | |||
!MESSAGE | |||
# Begin Project | |||
# PROP AllowPerConfigDependencies 0 | |||
# PROP Scc_ProjName "" | |||
# PROP Scc_LocalPath "" | |||
CPP=cl.exe | |||
MTL=midl.exe | |||
RSC=rc.exe | |||
!IF "$(CFG)" == "all - Win32 Release" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 0 | |||
# PROP BASE Output_Dir "Release" | |||
# PROP BASE Intermediate_Dir "Release" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 0 | |||
# PROP Output_Dir "Release" | |||
# PROP Intermediate_Dir "Release" | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /YX /FD /c | |||
# ADD CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /YX /FD /c | |||
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 | |||
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 | |||
# ADD BASE RSC /l 0x409 /d "NDEBUG" | |||
# ADD RSC /l 0x409 /d "NDEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 | |||
!ELSEIF "$(CFG)" == "all - Win32 Debug" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 1 | |||
# PROP BASE Output_Dir "Debug" | |||
# PROP BASE Intermediate_Dir "Debug" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 1 | |||
# PROP Output_Dir "Debug" | |||
# PROP Intermediate_Dir "Debug" | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 | |||
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 | |||
# ADD BASE RSC /l 0x409 /d "_DEBUG" | |||
# ADD RSC /l 0x409 /d "_DEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept | |||
!ENDIF | |||
# Begin Target | |||
# Name "all - Win32 Release" | |||
# Name "all - Win32 Debug" | |||
# Begin Group "Source Files" | |||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" | |||
# End Group | |||
# Begin Group "Header Files" | |||
# PROP Default_Filter "h;hpp;hxx;hm;inl" | |||
# End Group | |||
# Begin Group "Resource Files" | |||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | |||
# End Group | |||
# End Target | |||
# End Project |
@@ -1,112 +1,112 @@ | |||
# Microsoft Developer Studio Project File - Name="bounce" - Package Owner=<4> | |||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 | |||
# ** DO NOT EDIT ** | |||
# TARGTYPE "Win32 (x86) Console Application" 0x0103 | |||
CFG=bounce - Win32 Debug | |||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, | |||
!MESSAGE use the Export Makefile command and run | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "bounce.mak". | |||
!MESSAGE | |||
!MESSAGE You can specify a configuration when running NMAKE | |||
!MESSAGE by defining the macro CFG on the command line. For example: | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "bounce.mak" CFG="bounce - Win32 Debug" | |||
!MESSAGE | |||
!MESSAGE Possible choices for configuration are: | |||
!MESSAGE | |||
!MESSAGE "bounce - Win32 Release" (based on "Win32 (x86) Console Application") | |||
!MESSAGE "bounce - Win32 Debug" (based on "Win32 (x86) Console Application") | |||
!MESSAGE | |||
# Begin Project | |||
# PROP AllowPerConfigDependencies 0 | |||
# PROP Scc_ProjName "" | |||
# PROP Scc_LocalPath "" | |||
CPP=cl.exe | |||
RSC=rc.exe | |||
!IF "$(CFG)" == "bounce - Win32 Release" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 0 | |||
# PROP BASE Output_Dir "Release" | |||
# PROP BASE Intermediate_Dir "Release" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 0 | |||
# PROP Output_Dir "Release" | |||
# PROP Intermediate_Dir "Release" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD BASE RSC /l 0x409 /d "NDEBUG" | |||
# ADD RSC /l 0x409 /d "NDEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /machine:I386 /out:"../bounce.exe" | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ELSEIF "$(CFG)" == "bounce - Win32 Debug" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 1 | |||
# PROP BASE Output_Dir "Debug" | |||
# PROP BASE Intermediate_Dir "Debug" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 1 | |||
# PROP Output_Dir "Debug" | |||
# PROP Intermediate_Dir "Debug" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD BASE RSC /l 0x409 /d "_DEBUG" | |||
# ADD RSC /l 0x409 /d "_DEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /debug /machine:I386 /out:"../bounce.exe" /pdbtype:sept | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ENDIF | |||
# Begin Target | |||
# Name "bounce - Win32 Release" | |||
# Name "bounce - Win32 Debug" | |||
# Begin Group "Source Files" | |||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" | |||
# Begin Source File | |||
SOURCE=..\bounce.c | |||
# End Source File | |||
# End Group | |||
# Begin Group "Header Files" | |||
# PROP Default_Filter "h;hpp;hxx;hm;inl" | |||
# End Group | |||
# Begin Group "Resource Files" | |||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | |||
# End Group | |||
# End Target | |||
# End Project | |||
# Microsoft Developer Studio Project File - Name="bounce" - Package Owner=<4> | |||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 | |||
# ** DO NOT EDIT ** | |||
# TARGTYPE "Win32 (x86) Console Application" 0x0103 | |||
CFG=bounce - Win32 Debug | |||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, | |||
!MESSAGE use the Export Makefile command and run | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "bounce.mak". | |||
!MESSAGE | |||
!MESSAGE You can specify a configuration when running NMAKE | |||
!MESSAGE by defining the macro CFG on the command line. For example: | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "bounce.mak" CFG="bounce - Win32 Debug" | |||
!MESSAGE | |||
!MESSAGE Possible choices for configuration are: | |||
!MESSAGE | |||
!MESSAGE "bounce - Win32 Release" (based on "Win32 (x86) Console Application") | |||
!MESSAGE "bounce - Win32 Debug" (based on "Win32 (x86) Console Application") | |||
!MESSAGE | |||
# Begin Project | |||
# PROP AllowPerConfigDependencies 0 | |||
# PROP Scc_ProjName "" | |||
# PROP Scc_LocalPath "" | |||
CPP=cl.exe | |||
RSC=rc.exe | |||
!IF "$(CFG)" == "bounce - Win32 Release" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 0 | |||
# PROP BASE Output_Dir "Release" | |||
# PROP BASE Intermediate_Dir "Release" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 0 | |||
# PROP Output_Dir "Release" | |||
# PROP Intermediate_Dir "Release" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD BASE RSC /l 0x409 /d "NDEBUG" | |||
# ADD RSC /l 0x409 /d "NDEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /machine:I386 /out:"../bounce.exe" | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ELSEIF "$(CFG)" == "bounce - Win32 Debug" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 1 | |||
# PROP BASE Output_Dir "Debug" | |||
# PROP BASE Intermediate_Dir "Debug" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 1 | |||
# PROP Output_Dir "Debug" | |||
# PROP Intermediate_Dir "Debug" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD BASE RSC /l 0x409 /d "_DEBUG" | |||
# ADD RSC /l 0x409 /d "_DEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /debug /machine:I386 /out:"../bounce.exe" /pdbtype:sept | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ENDIF | |||
# Begin Target | |||
# Name "bounce - Win32 Release" | |||
# Name "bounce - Win32 Debug" | |||
# Begin Group "Source Files" | |||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" | |||
# Begin Source File | |||
SOURCE=..\bounce.c | |||
# End Source File | |||
# End Group | |||
# Begin Group "Header Files" | |||
# PROP Default_Filter "h;hpp;hxx;hm;inl" | |||
# End Group | |||
# Begin Group "Resource Files" | |||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | |||
# End Group | |||
# End Target | |||
# End Project |
@@ -1,112 +1,112 @@ | |||
# Microsoft Developer Studio Project File - Name="clearspd" - Package Owner=<4> | |||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 | |||
# ** DO NOT EDIT ** | |||
# TARGTYPE "Win32 (x86) Console Application" 0x0103 | |||
CFG=clearspd - Win32 Debug | |||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, | |||
!MESSAGE use the Export Makefile command and run | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "clearspd.mak". | |||
!MESSAGE | |||
!MESSAGE You can specify a configuration when running NMAKE | |||
!MESSAGE by defining the macro CFG on the command line. For example: | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "clearspd.mak" CFG="clearspd - Win32 Debug" | |||
!MESSAGE | |||
!MESSAGE Possible choices for configuration are: | |||
!MESSAGE | |||
!MESSAGE "clearspd - Win32 Release" (based on "Win32 (x86) Console Application") | |||
!MESSAGE "clearspd - Win32 Debug" (based on "Win32 (x86) Console Application") | |||
!MESSAGE | |||
# Begin Project | |||
# PROP AllowPerConfigDependencies 0 | |||
# PROP Scc_ProjName "" | |||
# PROP Scc_LocalPath "" | |||
CPP=cl.exe | |||
RSC=rc.exe | |||
!IF "$(CFG)" == "clearspd - Win32 Release" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 0 | |||
# PROP BASE Output_Dir "Release" | |||
# PROP BASE Intermediate_Dir "Release" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 0 | |||
# PROP Output_Dir "Release" | |||
# PROP Intermediate_Dir "Release" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD BASE RSC /l 0x409 /d "NDEBUG" | |||
# ADD RSC /l 0x409 /d "NDEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /machine:I386 /out:"../clearspd.exe" | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ELSEIF "$(CFG)" == "clearspd - Win32 Debug" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 1 | |||
# PROP BASE Output_Dir "Debug" | |||
# PROP BASE Intermediate_Dir "Debug" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 1 | |||
# PROP Output_Dir "Debug" | |||
# PROP Intermediate_Dir "Debug" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD BASE RSC /l 0x409 /d "_DEBUG" | |||
# ADD RSC /l 0x409 /d "_DEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /debug /machine:I386 /out:"../clearspd.exe" /pdbtype:sept | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ENDIF | |||
# Begin Target | |||
# Name "clearspd - Win32 Release" | |||
# Name "clearspd - Win32 Debug" | |||
# Begin Group "Source Files" | |||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" | |||
# Begin Source File | |||
SOURCE=..\clearspd.c | |||
# End Source File | |||
# End Group | |||
# Begin Group "Header Files" | |||
# PROP Default_Filter "h;hpp;hxx;hm;inl" | |||
# End Group | |||
# Begin Group "Resource Files" | |||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | |||
# End Group | |||
# End Target | |||
# End Project | |||
# Microsoft Developer Studio Project File - Name="clearspd" - Package Owner=<4> | |||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 | |||
# ** DO NOT EDIT ** | |||
# TARGTYPE "Win32 (x86) Console Application" 0x0103 | |||
CFG=clearspd - Win32 Debug | |||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, | |||
!MESSAGE use the Export Makefile command and run | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "clearspd.mak". | |||
!MESSAGE | |||
!MESSAGE You can specify a configuration when running NMAKE | |||
!MESSAGE by defining the macro CFG on the command line. For example: | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "clearspd.mak" CFG="clearspd - Win32 Debug" | |||
!MESSAGE | |||
!MESSAGE Possible choices for configuration are: | |||
!MESSAGE | |||
!MESSAGE "clearspd - Win32 Release" (based on "Win32 (x86) Console Application") | |||
!MESSAGE "clearspd - Win32 Debug" (based on "Win32 (x86) Console Application") | |||
!MESSAGE | |||
# Begin Project | |||
# PROP AllowPerConfigDependencies 0 | |||
# PROP Scc_ProjName "" | |||
# PROP Scc_LocalPath "" | |||
CPP=cl.exe | |||
RSC=rc.exe | |||
!IF "$(CFG)" == "clearspd - Win32 Release" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 0 | |||
# PROP BASE Output_Dir "Release" | |||
# PROP BASE Intermediate_Dir "Release" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 0 | |||
# PROP Output_Dir "Release" | |||
# PROP Intermediate_Dir "Release" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD BASE RSC /l 0x409 /d "NDEBUG" | |||
# ADD RSC /l 0x409 /d "NDEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /machine:I386 /out:"../clearspd.exe" | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ELSEIF "$(CFG)" == "clearspd - Win32 Debug" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 1 | |||
# PROP BASE Output_Dir "Debug" | |||
# PROP BASE Intermediate_Dir "Debug" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 1 | |||
# PROP Output_Dir "Debug" | |||
# PROP Intermediate_Dir "Debug" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD BASE RSC /l 0x409 /d "_DEBUG" | |||
# ADD RSC /l 0x409 /d "_DEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /debug /machine:I386 /out:"../clearspd.exe" /pdbtype:sept | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ENDIF | |||
# Begin Target | |||
# Name "clearspd - Win32 Release" | |||
# Name "clearspd - Win32 Debug" | |||
# Begin Group "Source Files" | |||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" | |||
# Begin Source File | |||
SOURCE=..\clearspd.c | |||
# End Source File | |||
# End Group | |||
# Begin Group "Header Files" | |||
# PROP Default_Filter "h;hpp;hxx;hm;inl" | |||
# End Group | |||
# Begin Group "Resource Files" | |||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | |||
# End Group | |||
# End Target | |||
# End Project |
@@ -1,112 +1,112 @@ | |||
# Microsoft Developer Studio Project File - Name="cubemap" - Package Owner=<4> | |||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 | |||
# ** DO NOT EDIT ** | |||
# TARGTYPE "Win32 (x86) Console Application" 0x0103 | |||
CFG=cubemap - Win32 Debug | |||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, | |||
!MESSAGE use the Export Makefile command and run | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "cubemap.mak". | |||
!MESSAGE | |||
!MESSAGE You can specify a configuration when running NMAKE | |||
!MESSAGE by defining the macro CFG on the command line. For example: | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "cubemap.mak" CFG="cubemap - Win32 Debug" | |||
!MESSAGE | |||
!MESSAGE Possible choices for configuration are: | |||
!MESSAGE | |||
!MESSAGE "cubemap - Win32 Release" (based on "Win32 (x86) Console Application") | |||
!MESSAGE "cubemap - Win32 Debug" (based on "Win32 (x86) Console Application") | |||
!MESSAGE | |||
# Begin Project | |||
# PROP AllowPerConfigDependencies 0 | |||
# PROP Scc_ProjName "" | |||
# PROP Scc_LocalPath "" | |||
CPP=cl.exe | |||
RSC=rc.exe | |||
!IF "$(CFG)" == "cubemap - Win32 Release" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 0 | |||
# PROP BASE Output_Dir "Release" | |||
# PROP BASE Intermediate_Dir "Release" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 0 | |||
# PROP Output_Dir "Release" | |||
# PROP Intermediate_Dir "Release" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD BASE RSC /l 0x409 /d "NDEBUG" | |||
# ADD RSC /l 0x409 /d "NDEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /machine:I386 /out:"../cubemap.exe" | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ELSEIF "$(CFG)" == "cubemap - Win32 Debug" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 1 | |||
# PROP BASE Output_Dir "Debug" | |||
# PROP BASE Intermediate_Dir "Debug" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 1 | |||
# PROP Output_Dir "Debug" | |||
# PROP Intermediate_Dir "Debug" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD BASE RSC /l 0x409 /d "_DEBUG" | |||
# ADD RSC /l 0x409 /d "_DEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /debug /machine:I386 /out:"../cubemap.exe" /pdbtype:sept | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ENDIF | |||
# Begin Target | |||
# Name "cubemap - Win32 Release" | |||
# Name "cubemap - Win32 Debug" | |||
# Begin Group "Source Files" | |||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" | |||
# Begin Source File | |||
SOURCE=..\cubemap.c | |||
# End Source File | |||
# End Group | |||
# Begin Group "Header Files" | |||
# PROP Default_Filter "h;hpp;hxx;hm;inl" | |||
# End Group | |||
# Begin Group "Resource Files" | |||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | |||
# End Group | |||
# End Target | |||
# End Project | |||
# Microsoft Developer Studio Project File - Name="cubemap" - Package Owner=<4> | |||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 | |||
# ** DO NOT EDIT ** | |||
# TARGTYPE "Win32 (x86) Console Application" 0x0103 | |||
CFG=cubemap - Win32 Debug | |||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, | |||
!MESSAGE use the Export Makefile command and run | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "cubemap.mak". | |||
!MESSAGE | |||
!MESSAGE You can specify a configuration when running NMAKE | |||
!MESSAGE by defining the macro CFG on the command line. For example: | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "cubemap.mak" CFG="cubemap - Win32 Debug" | |||
!MESSAGE | |||
!MESSAGE Possible choices for configuration are: | |||
!MESSAGE | |||
!MESSAGE "cubemap - Win32 Release" (based on "Win32 (x86) Console Application") | |||
!MESSAGE "cubemap - Win32 Debug" (based on "Win32 (x86) Console Application") | |||
!MESSAGE | |||
# Begin Project | |||
# PROP AllowPerConfigDependencies 0 | |||
# PROP Scc_ProjName "" | |||
# PROP Scc_LocalPath "" | |||
CPP=cl.exe | |||
RSC=rc.exe | |||
!IF "$(CFG)" == "cubemap - Win32 Release" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 0 | |||
# PROP BASE Output_Dir "Release" | |||
# PROP BASE Intermediate_Dir "Release" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 0 | |||
# PROP Output_Dir "Release" | |||
# PROP Intermediate_Dir "Release" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD BASE RSC /l 0x409 /d "NDEBUG" | |||
# ADD RSC /l 0x409 /d "NDEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /machine:I386 /out:"../cubemap.exe" | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ELSEIF "$(CFG)" == "cubemap - Win32 Debug" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 1 | |||
# PROP BASE Output_Dir "Debug" | |||
# PROP BASE Intermediate_Dir "Debug" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 1 | |||
# PROP Output_Dir "Debug" | |||
# PROP Intermediate_Dir "Debug" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD BASE RSC /l 0x409 /d "_DEBUG" | |||
# ADD RSC /l 0x409 /d "_DEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /debug /machine:I386 /out:"../cubemap.exe" /pdbtype:sept | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ENDIF | |||
# Begin Target | |||
# Name "cubemap - Win32 Release" | |||
# Name "cubemap - Win32 Debug" | |||
# Begin Group "Source Files" | |||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" | |||
# Begin Source File | |||
SOURCE=..\cubemap.c | |||
# End Source File | |||
# End Group | |||
# Begin Group "Header Files" | |||
# PROP Default_Filter "h;hpp;hxx;hm;inl" | |||
# End Group | |||
# Begin Group "Resource Files" | |||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | |||
# End Group | |||
# End Target | |||
# End Project |
@@ -1,112 +1,112 @@ | |||
# Microsoft Developer Studio Project File - Name="drawpix" - Package Owner=<4> | |||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 | |||
# ** DO NOT EDIT ** | |||
# TARGTYPE "Win32 (x86) Console Application" 0x0103 | |||
CFG=drawpix - Win32 Debug | |||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, | |||
!MESSAGE use the Export Makefile command and run | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "drawpix.mak". | |||
!MESSAGE | |||
!MESSAGE You can specify a configuration when running NMAKE | |||
!MESSAGE by defining the macro CFG on the command line. For example: | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "drawpix.mak" CFG="drawpix - Win32 Debug" | |||
!MESSAGE | |||
!MESSAGE Possible choices for configuration are: | |||
!MESSAGE | |||
!MESSAGE "drawpix - Win32 Release" (based on "Win32 (x86) Console Application") | |||
!MESSAGE "drawpix - Win32 Debug" (based on "Win32 (x86) Console Application") | |||
!MESSAGE | |||
# Begin Project | |||
# PROP AllowPerConfigDependencies 0 | |||
# PROP Scc_ProjName "" | |||
# PROP Scc_LocalPath "" | |||
CPP=cl.exe | |||
RSC=rc.exe | |||
!IF "$(CFG)" == "drawpix - Win32 Release" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 0 | |||
# PROP BASE Output_Dir "Release" | |||
# PROP BASE Intermediate_Dir "Release" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 0 | |||
# PROP Output_Dir "Release" | |||
# PROP Intermediate_Dir "Release" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD CPP /nologo /W3 /GX /O2 /I "../" /I "../../../include" /I "../../util" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD BASE RSC /l 0x409 /d "NDEBUG" | |||
# ADD RSC /l 0x409 /d "NDEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /machine:I386 /out:"../drawpix.exe" | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ELSEIF "$(CFG)" == "drawpix - Win32 Debug" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 1 | |||
# PROP BASE Output_Dir "Debug" | |||
# PROP BASE Intermediate_Dir "Debug" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 1 | |||
# PROP Output_Dir "Debug" | |||
# PROP Intermediate_Dir "Debug" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../util" /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD BASE RSC /l 0x409 /d "_DEBUG" | |||
# ADD RSC /l 0x409 /d "_DEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /debug /machine:I386 /out:"../drawpix.exe" /pdbtype:sept | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ENDIF | |||
# Begin Target | |||
# Name "drawpix - Win32 Release" | |||
# Name "drawpix - Win32 Debug" | |||
# Begin Group "Source Files" | |||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" | |||
# Begin Source File | |||
SOURCE=..\drawpix.c | |||
# End Source File | |||
# End Group | |||
# Begin Group "Header Files" | |||
# PROP Default_Filter "h;hpp;hxx;hm;inl" | |||
# End Group | |||
# Begin Group "Resource Files" | |||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | |||
# End Group | |||
# End Target | |||
# End Project | |||
# Microsoft Developer Studio Project File - Name="drawpix" - Package Owner=<4> | |||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 | |||
# ** DO NOT EDIT ** | |||
# TARGTYPE "Win32 (x86) Console Application" 0x0103 | |||
CFG=drawpix - Win32 Debug | |||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, | |||
!MESSAGE use the Export Makefile command and run | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "drawpix.mak". | |||
!MESSAGE | |||
!MESSAGE You can specify a configuration when running NMAKE | |||
!MESSAGE by defining the macro CFG on the command line. For example: | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "drawpix.mak" CFG="drawpix - Win32 Debug" | |||
!MESSAGE | |||
!MESSAGE Possible choices for configuration are: | |||
!MESSAGE | |||
!MESSAGE "drawpix - Win32 Release" (based on "Win32 (x86) Console Application") | |||
!MESSAGE "drawpix - Win32 Debug" (based on "Win32 (x86) Console Application") | |||
!MESSAGE | |||
# Begin Project | |||
# PROP AllowPerConfigDependencies 0 | |||
# PROP Scc_ProjName "" | |||
# PROP Scc_LocalPath "" | |||
CPP=cl.exe | |||
RSC=rc.exe | |||
!IF "$(CFG)" == "drawpix - Win32 Release" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 0 | |||
# PROP BASE Output_Dir "Release" | |||
# PROP BASE Intermediate_Dir "Release" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 0 | |||
# PROP Output_Dir "Release" | |||
# PROP Intermediate_Dir "Release" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD CPP /nologo /W3 /GX /O2 /I "../" /I "../../../include" /I "../../util" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD BASE RSC /l 0x409 /d "NDEBUG" | |||
# ADD RSC /l 0x409 /d "NDEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /machine:I386 /out:"../drawpix.exe" | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ELSEIF "$(CFG)" == "drawpix - Win32 Debug" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 1 | |||
# PROP BASE Output_Dir "Debug" | |||
# PROP BASE Intermediate_Dir "Debug" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 1 | |||
# PROP Output_Dir "Debug" | |||
# PROP Intermediate_Dir "Debug" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../util" /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD BASE RSC /l 0x409 /d "_DEBUG" | |||
# ADD RSC /l 0x409 /d "_DEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /debug /machine:I386 /out:"../drawpix.exe" /pdbtype:sept | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ENDIF | |||
# Begin Target | |||
# Name "drawpix - Win32 Release" | |||
# Name "drawpix - Win32 Debug" | |||
# Begin Group "Source Files" | |||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" | |||
# Begin Source File | |||
SOURCE=..\drawpix.c | |||
# End Source File | |||
# End Group | |||
# Begin Group "Header Files" | |||
# PROP Default_Filter "h;hpp;hxx;hm;inl" | |||
# End Group | |||
# Begin Group "Resource Files" | |||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | |||
# End Group | |||
# End Target | |||
# End Project |
@@ -1,112 +1,112 @@ | |||
# Microsoft Developer Studio Project File - Name="fire" - Package Owner=<4> | |||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 | |||
# ** DO NOT EDIT ** | |||
# TARGTYPE "Win32 (x86) Console Application" 0x0103 | |||
CFG=fire - Win32 Debug | |||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, | |||
!MESSAGE use the Export Makefile command and run | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "fire.mak". | |||
!MESSAGE | |||
!MESSAGE You can specify a configuration when running NMAKE | |||
!MESSAGE by defining the macro CFG on the command line. For example: | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "fire.mak" CFG="fire - Win32 Debug" | |||
!MESSAGE | |||
!MESSAGE Possible choices for configuration are: | |||
!MESSAGE | |||
!MESSAGE "fire - Win32 Release" (based on "Win32 (x86) Console Application") | |||
!MESSAGE "fire - Win32 Debug" (based on "Win32 (x86) Console Application") | |||
!MESSAGE | |||
# Begin Project | |||
# PROP AllowPerConfigDependencies 0 | |||
# PROP Scc_ProjName "" | |||
# PROP Scc_LocalPath "" | |||
CPP=cl.exe | |||
RSC=rc.exe | |||
!IF "$(CFG)" == "fire - Win32 Release" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 0 | |||
# PROP BASE Output_Dir "Release" | |||
# PROP BASE Intermediate_Dir "Release" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 0 | |||
# PROP Output_Dir "Release" | |||
# PROP Intermediate_Dir "Release" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD CPP /nologo /W3 /GX /O2 /I "../../util" /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD BASE RSC /l 0x409 /d "NDEBUG" | |||
# ADD RSC /l 0x409 /d "NDEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /machine:I386 /out:"../fire.exe" | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ELSEIF "$(CFG)" == "fire - Win32 Debug" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 1 | |||
# PROP BASE Output_Dir "Debug" | |||
# PROP BASE Intermediate_Dir "Debug" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 1 | |||
# PROP Output_Dir "Debug" | |||
# PROP Intermediate_Dir "Debug" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../util" /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD BASE RSC /l 0x409 /d "_DEBUG" | |||
# ADD RSC /l 0x409 /d "_DEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /debug /machine:I386 /out:"../fire.exe" /pdbtype:sept | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ENDIF | |||
# Begin Target | |||
# Name "fire - Win32 Release" | |||
# Name "fire - Win32 Debug" | |||
# Begin Group "Source Files" | |||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" | |||
# Begin Source File | |||
SOURCE=..\fire.c | |||
# End Source File | |||
# End Group | |||
# Begin Group "Header Files" | |||
# PROP Default_Filter "h;hpp;hxx;hm;inl" | |||
# End Group | |||
# Begin Group "Resource Files" | |||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | |||
# End Group | |||
# End Target | |||
# End Project | |||
# Microsoft Developer Studio Project File - Name="fire" - Package Owner=<4> | |||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 | |||
# ** DO NOT EDIT ** | |||
# TARGTYPE "Win32 (x86) Console Application" 0x0103 | |||
CFG=fire - Win32 Debug | |||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, | |||
!MESSAGE use the Export Makefile command and run | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "fire.mak". | |||
!MESSAGE | |||
!MESSAGE You can specify a configuration when running NMAKE | |||
!MESSAGE by defining the macro CFG on the command line. For example: | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "fire.mak" CFG="fire - Win32 Debug" | |||
!MESSAGE | |||
!MESSAGE Possible choices for configuration are: | |||
!MESSAGE | |||
!MESSAGE "fire - Win32 Release" (based on "Win32 (x86) Console Application") | |||
!MESSAGE "fire - Win32 Debug" (based on "Win32 (x86) Console Application") | |||
!MESSAGE | |||
# Begin Project | |||
# PROP AllowPerConfigDependencies 0 | |||
# PROP Scc_ProjName "" | |||
# PROP Scc_LocalPath "" | |||
CPP=cl.exe | |||
RSC=rc.exe | |||
!IF "$(CFG)" == "fire - Win32 Release" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 0 | |||
# PROP BASE Output_Dir "Release" | |||
# PROP BASE Intermediate_Dir "Release" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 0 | |||
# PROP Output_Dir "Release" | |||
# PROP Intermediate_Dir "Release" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD CPP /nologo /W3 /GX /O2 /I "../../util" /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD BASE RSC /l 0x409 /d "NDEBUG" | |||
# ADD RSC /l 0x409 /d "NDEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /machine:I386 /out:"../fire.exe" | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ELSEIF "$(CFG)" == "fire - Win32 Debug" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 1 | |||
# PROP BASE Output_Dir "Debug" | |||
# PROP BASE Intermediate_Dir "Debug" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 1 | |||
# PROP Output_Dir "Debug" | |||
# PROP Intermediate_Dir "Debug" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../util" /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD BASE RSC /l 0x409 /d "_DEBUG" | |||
# ADD RSC /l 0x409 /d "_DEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /debug /machine:I386 /out:"../fire.exe" /pdbtype:sept | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ENDIF | |||
# Begin Target | |||
# Name "fire - Win32 Release" | |||
# Name "fire - Win32 Debug" | |||
# Begin Group "Source Files" | |||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" | |||
# Begin Source File | |||
SOURCE=..\fire.c | |||
# End Source File | |||
# End Group | |||
# Begin Group "Header Files" | |||
# PROP Default_Filter "h;hpp;hxx;hm;inl" | |||
# End Group | |||
# Begin Group "Resource Files" | |||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | |||
# End Group | |||
# End Target | |||
# End Project |
@@ -1,112 +1,112 @@ | |||
# Microsoft Developer Studio Project File - Name="gears" - Package Owner=<4> | |||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 | |||
# ** DO NOT EDIT ** | |||
# TARGTYPE "Win32 (x86) Console Application" 0x0103 | |||
CFG=gears - Win32 Debug | |||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, | |||
!MESSAGE use the Export Makefile command and run | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "gears.mak". | |||
!MESSAGE | |||
!MESSAGE You can specify a configuration when running NMAKE | |||
!MESSAGE by defining the macro CFG on the command line. For example: | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "gears.mak" CFG="gears - Win32 Debug" | |||
!MESSAGE | |||
!MESSAGE Possible choices for configuration are: | |||
!MESSAGE | |||
!MESSAGE "gears - Win32 Release" (based on "Win32 (x86) Console Application") | |||
!MESSAGE "gears - Win32 Debug" (based on "Win32 (x86) Console Application") | |||
!MESSAGE | |||
# Begin Project | |||
# PROP AllowPerConfigDependencies 0 | |||
# PROP Scc_ProjName "" | |||
# PROP Scc_LocalPath "" | |||
CPP=cl.exe | |||
RSC=rc.exe | |||
!IF "$(CFG)" == "gears - Win32 Release" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 0 | |||
# PROP BASE Output_Dir "Release" | |||
# PROP BASE Intermediate_Dir "Release" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 0 | |||
# PROP Output_Dir "Release" | |||
# PROP Intermediate_Dir "Release" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD BASE RSC /l 0x409 /d "NDEBUG" | |||
# ADD RSC /l 0x409 /d "NDEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /machine:I386 /out:"../gears.exe" | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ELSEIF "$(CFG)" == "gears - Win32 Debug" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 1 | |||
# PROP BASE Output_Dir "Debug" | |||
# PROP BASE Intermediate_Dir "Debug" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 1 | |||
# PROP Output_Dir "Debug" | |||
# PROP Intermediate_Dir "Debug" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD BASE RSC /l 0x409 /d "_DEBUG" | |||
# ADD RSC /l 0x409 /d "_DEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /debug /machine:I386 /out:"../gears.exe" /pdbtype:sept | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ENDIF | |||
# Begin Target | |||
# Name "gears - Win32 Release" | |||
# Name "gears - Win32 Debug" | |||
# Begin Group "Source Files" | |||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" | |||
# Begin Source File | |||
SOURCE=..\gears.c | |||
# End Source File | |||
# End Group | |||
# Begin Group "Header Files" | |||
# PROP Default_Filter "h;hpp;hxx;hm;inl" | |||
# End Group | |||
# Begin Group "Resource Files" | |||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | |||
# End Group | |||
# End Target | |||
# End Project | |||
# Microsoft Developer Studio Project File - Name="gears" - Package Owner=<4> | |||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 | |||
# ** DO NOT EDIT ** | |||
# TARGTYPE "Win32 (x86) Console Application" 0x0103 | |||
CFG=gears - Win32 Debug | |||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, | |||
!MESSAGE use the Export Makefile command and run | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "gears.mak". | |||
!MESSAGE | |||
!MESSAGE You can specify a configuration when running NMAKE | |||
!MESSAGE by defining the macro CFG on the command line. For example: | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "gears.mak" CFG="gears - Win32 Debug" | |||
!MESSAGE | |||
!MESSAGE Possible choices for configuration are: | |||
!MESSAGE | |||
!MESSAGE "gears - Win32 Release" (based on "Win32 (x86) Console Application") | |||
!MESSAGE "gears - Win32 Debug" (based on "Win32 (x86) Console Application") | |||
!MESSAGE | |||
# Begin Project | |||
# PROP AllowPerConfigDependencies 0 | |||
# PROP Scc_ProjName "" | |||
# PROP Scc_LocalPath "" | |||
CPP=cl.exe | |||
RSC=rc.exe | |||
!IF "$(CFG)" == "gears - Win32 Release" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 0 | |||
# PROP BASE Output_Dir "Release" | |||
# PROP BASE Intermediate_Dir "Release" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 0 | |||
# PROP Output_Dir "Release" | |||
# PROP Intermediate_Dir "Release" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD BASE RSC /l 0x409 /d "NDEBUG" | |||
# ADD RSC /l 0x409 /d "NDEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /machine:I386 /out:"../gears.exe" | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ELSEIF "$(CFG)" == "gears - Win32 Debug" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 1 | |||
# PROP BASE Output_Dir "Debug" | |||
# PROP BASE Intermediate_Dir "Debug" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 1 | |||
# PROP Output_Dir "Debug" | |||
# PROP Intermediate_Dir "Debug" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD BASE RSC /l 0x409 /d "_DEBUG" | |||
# ADD RSC /l 0x409 /d "_DEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /debug /machine:I386 /out:"../gears.exe" /pdbtype:sept | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ENDIF | |||
# Begin Target | |||
# Name "gears - Win32 Release" | |||
# Name "gears - Win32 Debug" | |||
# Begin Group "Source Files" | |||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" | |||
# Begin Source File | |||
SOURCE=..\gears.c | |||
# End Source File | |||
# End Group | |||
# Begin Group "Header Files" | |||
# PROP Default_Filter "h;hpp;hxx;hm;inl" | |||
# End Group | |||
# Begin Group "Resource Files" | |||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | |||
# End Group | |||
# End Target | |||
# End Project |
@@ -1,112 +1,112 @@ | |||
# Microsoft Developer Studio Project File - Name="geartrain" - Package Owner=<4> | |||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 | |||
# ** DO NOT EDIT ** | |||
# TARGTYPE "Win32 (x86) Console Application" 0x0103 | |||
CFG=geartrain - Win32 Debug | |||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, | |||
!MESSAGE use the Export Makefile command and run | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "geartrain.mak". | |||
!MESSAGE | |||
!MESSAGE You can specify a configuration when running NMAKE | |||
!MESSAGE by defining the macro CFG on the command line. For example: | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "geartrain.mak" CFG="geartrain - Win32 Debug" | |||
!MESSAGE | |||
!MESSAGE Possible choices for configuration are: | |||
!MESSAGE | |||
!MESSAGE "geartrain - Win32 Release" (based on "Win32 (x86) Console Application") | |||
!MESSAGE "geartrain - Win32 Debug" (based on "Win32 (x86) Console Application") | |||
!MESSAGE | |||
# Begin Project | |||
# PROP AllowPerConfigDependencies 0 | |||
# PROP Scc_ProjName "" | |||
# PROP Scc_LocalPath "" | |||
CPP=cl.exe | |||
RSC=rc.exe | |||
!IF "$(CFG)" == "geartrain - Win32 Release" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 0 | |||
# PROP BASE Output_Dir "Release" | |||
# PROP BASE Intermediate_Dir "Release" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 0 | |||
# PROP Output_Dir "Release" | |||
# PROP Intermediate_Dir "Release" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD BASE RSC /l 0x409 /d "NDEBUG" | |||
# ADD RSC /l 0x409 /d "NDEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /machine:I386 /out:"../geartrain.exe" | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ELSEIF "$(CFG)" == "geartrain - Win32 Debug" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 1 | |||
# PROP BASE Output_Dir "Debug" | |||
# PROP BASE Intermediate_Dir "Debug" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 1 | |||
# PROP Output_Dir "Debug" | |||
# PROP Intermediate_Dir "Debug" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD BASE RSC /l 0x409 /d "_DEBUG" | |||
# ADD RSC /l 0x409 /d "_DEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /debug /machine:I386 /out:"../geartrain.exe" /pdbtype:sept | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ENDIF | |||
# Begin Target | |||
# Name "geartrain - Win32 Release" | |||
# Name "geartrain - Win32 Debug" | |||
# Begin Group "Source Files" | |||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" | |||
# Begin Source File | |||
SOURCE=..\geartrain.c | |||
# End Source File | |||
# End Group | |||
# Begin Group "Header Files" | |||
# PROP Default_Filter "h;hpp;hxx;hm;inl" | |||
# End Group | |||
# Begin Group "Resource Files" | |||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | |||
# End Group | |||
# End Target | |||
# End Project | |||
# Microsoft Developer Studio Project File - Name="geartrain" - Package Owner=<4> | |||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 | |||
# ** DO NOT EDIT ** | |||
# TARGTYPE "Win32 (x86) Console Application" 0x0103 | |||
CFG=geartrain - Win32 Debug | |||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, | |||
!MESSAGE use the Export Makefile command and run | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "geartrain.mak". | |||
!MESSAGE | |||
!MESSAGE You can specify a configuration when running NMAKE | |||
!MESSAGE by defining the macro CFG on the command line. For example: | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "geartrain.mak" CFG="geartrain - Win32 Debug" | |||
!MESSAGE | |||
!MESSAGE Possible choices for configuration are: | |||
!MESSAGE | |||
!MESSAGE "geartrain - Win32 Release" (based on "Win32 (x86) Console Application") | |||
!MESSAGE "geartrain - Win32 Debug" (based on "Win32 (x86) Console Application") | |||
!MESSAGE | |||
# Begin Project | |||
# PROP AllowPerConfigDependencies 0 | |||
# PROP Scc_ProjName "" | |||
# PROP Scc_LocalPath "" | |||
CPP=cl.exe | |||
RSC=rc.exe | |||
!IF "$(CFG)" == "geartrain - Win32 Release" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 0 | |||
# PROP BASE Output_Dir "Release" | |||
# PROP BASE Intermediate_Dir "Release" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 0 | |||
# PROP Output_Dir "Release" | |||
# PROP Intermediate_Dir "Release" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD BASE RSC /l 0x409 /d "NDEBUG" | |||
# ADD RSC /l 0x409 /d "NDEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /machine:I386 /out:"../geartrain.exe" | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ELSEIF "$(CFG)" == "geartrain - Win32 Debug" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 1 | |||
# PROP BASE Output_Dir "Debug" | |||
# PROP BASE Intermediate_Dir "Debug" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 1 | |||
# PROP Output_Dir "Debug" | |||
# PROP Intermediate_Dir "Debug" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD BASE RSC /l 0x409 /d "_DEBUG" | |||
# ADD RSC /l 0x409 /d "_DEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /debug /machine:I386 /out:"../geartrain.exe" /pdbtype:sept | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ENDIF | |||
# Begin Target | |||
# Name "geartrain - Win32 Release" | |||
# Name "geartrain - Win32 Debug" | |||
# Begin Group "Source Files" | |||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" | |||
# Begin Source File | |||
SOURCE=..\geartrain.c | |||
# End Source File | |||
# End Group | |||
# Begin Group "Header Files" | |||
# PROP Default_Filter "h;hpp;hxx;hm;inl" | |||
# End Group | |||
# Begin Group "Resource Files" | |||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | |||
# End Group | |||
# End Target | |||
# End Project |
@@ -1,112 +1,112 @@ | |||
# Microsoft Developer Studio Project File - Name="glinfo" - Package Owner=<4> | |||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 | |||
# ** DO NOT EDIT ** | |||
# TARGTYPE "Win32 (x86) Console Application" 0x0103 | |||
CFG=glinfo - Win32 Debug | |||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, | |||
!MESSAGE use the Export Makefile command and run | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "glinfo.mak". | |||
!MESSAGE | |||
!MESSAGE You can specify a configuration when running NMAKE | |||
!MESSAGE by defining the macro CFG on the command line. For example: | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "glinfo.mak" CFG="glinfo - Win32 Debug" | |||
!MESSAGE | |||
!MESSAGE Possible choices for configuration are: | |||
!MESSAGE | |||
!MESSAGE "glinfo - Win32 Release" (based on "Win32 (x86) Console Application") | |||
!MESSAGE "glinfo - Win32 Debug" (based on "Win32 (x86) Console Application") | |||
!MESSAGE | |||
# Begin Project | |||
# PROP AllowPerConfigDependencies 0 | |||
# PROP Scc_ProjName "" | |||
# PROP Scc_LocalPath "" | |||
CPP=cl.exe | |||
RSC=rc.exe | |||
!IF "$(CFG)" == "glinfo - Win32 Release" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 0 | |||
# PROP BASE Output_Dir "Release" | |||
# PROP BASE Intermediate_Dir "Release" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 0 | |||
# PROP Output_Dir "Release" | |||
# PROP Intermediate_Dir "Release" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD BASE RSC /l 0x409 /d "NDEBUG" | |||
# ADD RSC /l 0x409 /d "NDEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /machine:I386 /out:"../glinfo.exe" | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ELSEIF "$(CFG)" == "glinfo - Win32 Debug" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 1 | |||
# PROP BASE Output_Dir "Debug" | |||
# PROP BASE Intermediate_Dir "Debug" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 1 | |||
# PROP Output_Dir "Debug" | |||
# PROP Intermediate_Dir "Debug" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD BASE RSC /l 0x409 /d "_DEBUG" | |||
# ADD RSC /l 0x409 /d "_DEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /debug /machine:I386 /out:"../glinfo.exe" /pdbtype:sept | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ENDIF | |||
# Begin Target | |||
# Name "glinfo - Win32 Release" | |||
# Name "glinfo - Win32 Debug" | |||
# Begin Group "Source Files" | |||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" | |||
# Begin Source File | |||
SOURCE=..\glinfo.c | |||
# End Source File | |||
# End Group | |||
# Begin Group "Header Files" | |||
# PROP Default_Filter "h;hpp;hxx;hm;inl" | |||
# End Group | |||
# Begin Group "Resource Files" | |||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | |||
# End Group | |||
# End Target | |||
# End Project | |||
# Microsoft Developer Studio Project File - Name="glinfo" - Package Owner=<4> | |||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 | |||
# ** DO NOT EDIT ** | |||
# TARGTYPE "Win32 (x86) Console Application" 0x0103 | |||
CFG=glinfo - Win32 Debug | |||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, | |||
!MESSAGE use the Export Makefile command and run | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "glinfo.mak". | |||
!MESSAGE | |||
!MESSAGE You can specify a configuration when running NMAKE | |||
!MESSAGE by defining the macro CFG on the command line. For example: | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "glinfo.mak" CFG="glinfo - Win32 Debug" | |||
!MESSAGE | |||
!MESSAGE Possible choices for configuration are: | |||
!MESSAGE | |||
!MESSAGE "glinfo - Win32 Release" (based on "Win32 (x86) Console Application") | |||
!MESSAGE "glinfo - Win32 Debug" (based on "Win32 (x86) Console Application") | |||
!MESSAGE | |||
# Begin Project | |||
# PROP AllowPerConfigDependencies 0 | |||
# PROP Scc_ProjName "" | |||
# PROP Scc_LocalPath "" | |||
CPP=cl.exe | |||
RSC=rc.exe | |||
!IF "$(CFG)" == "glinfo - Win32 Release" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 0 | |||
# PROP BASE Output_Dir "Release" | |||
# PROP BASE Intermediate_Dir "Release" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 0 | |||
# PROP Output_Dir "Release" | |||
# PROP Intermediate_Dir "Release" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD BASE RSC /l 0x409 /d "NDEBUG" | |||
# ADD RSC /l 0x409 /d "NDEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /machine:I386 /out:"../glinfo.exe" | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ELSEIF "$(CFG)" == "glinfo - Win32 Debug" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 1 | |||
# PROP BASE Output_Dir "Debug" | |||
# PROP BASE Intermediate_Dir "Debug" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 1 | |||
# PROP Output_Dir "Debug" | |||
# PROP Intermediate_Dir "Debug" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD BASE RSC /l 0x409 /d "_DEBUG" | |||
# ADD RSC /l 0x409 /d "_DEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /debug /machine:I386 /out:"../glinfo.exe" /pdbtype:sept | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ENDIF | |||
# Begin Target | |||
# Name "glinfo - Win32 Release" | |||
# Name "glinfo - Win32 Debug" | |||
# Begin Group "Source Files" | |||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" | |||
# Begin Source File | |||
SOURCE=..\glinfo.c | |||
# End Source File | |||
# End Group | |||
# Begin Group "Header Files" | |||
# PROP Default_Filter "h;hpp;hxx;hm;inl" | |||
# End Group | |||
# Begin Group "Resource Files" | |||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | |||
# End Group | |||
# End Target | |||
# End Project |
@@ -1,112 +1,112 @@ | |||
# Microsoft Developer Studio Project File - Name="gloss" - Package Owner=<4> | |||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 | |||
# ** DO NOT EDIT ** | |||
# TARGTYPE "Win32 (x86) Console Application" 0x0103 | |||
CFG=gloss - Win32 Debug | |||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, | |||
!MESSAGE use the Export Makefile command and run | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "gloss.mak". | |||
!MESSAGE | |||
!MESSAGE You can specify a configuration when running NMAKE | |||
!MESSAGE by defining the macro CFG on the command line. For example: | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "gloss.mak" CFG="gloss - Win32 Debug" | |||
!MESSAGE | |||
!MESSAGE Possible choices for configuration are: | |||
!MESSAGE | |||
!MESSAGE "gloss - Win32 Release" (based on "Win32 (x86) Console Application") | |||
!MESSAGE "gloss - Win32 Debug" (based on "Win32 (x86) Console Application") | |||
!MESSAGE | |||
# Begin Project | |||
# PROP AllowPerConfigDependencies 0 | |||
# PROP Scc_ProjName "" | |||
# PROP Scc_LocalPath "" | |||
CPP=cl.exe | |||
RSC=rc.exe | |||
!IF "$(CFG)" == "gloss - Win32 Release" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 0 | |||
# PROP BASE Output_Dir "Release" | |||
# PROP BASE Intermediate_Dir "Release" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 0 | |||
# PROP Output_Dir "Release" | |||
# PROP Intermediate_Dir "Release" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD CPP /nologo /W3 /GX /O2 /I "../../util" /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD BASE RSC /l 0x409 /d "NDEBUG" | |||
# ADD RSC /l 0x409 /d "NDEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /machine:I386 /out:"../gloss.exe" | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ELSEIF "$(CFG)" == "gloss - Win32 Debug" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 1 | |||
# PROP BASE Output_Dir "Debug" | |||
# PROP BASE Intermediate_Dir "Debug" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 1 | |||
# PROP Output_Dir "Debug" | |||
# PROP Intermediate_Dir "Debug" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../util" /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD BASE RSC /l 0x409 /d "_DEBUG" | |||
# ADD RSC /l 0x409 /d "_DEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /debug /machine:I386 /out:"../gloss.exe" /pdbtype:sept | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ENDIF | |||
# Begin Target | |||
# Name "gloss - Win32 Release" | |||
# Name "gloss - Win32 Debug" | |||
# Begin Group "Source Files" | |||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" | |||
# Begin Source File | |||
SOURCE=..\gloss.c | |||
# End Source File | |||
# End Group | |||
# Begin Group "Header Files" | |||
# PROP Default_Filter "h;hpp;hxx;hm;inl" | |||
# End Group | |||
# Begin Group "Resource Files" | |||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | |||
# End Group | |||
# End Target | |||
# End Project | |||
# Microsoft Developer Studio Project File - Name="gloss" - Package Owner=<4> | |||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 | |||
# ** DO NOT EDIT ** | |||
# TARGTYPE "Win32 (x86) Console Application" 0x0103 | |||
CFG=gloss - Win32 Debug | |||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, | |||
!MESSAGE use the Export Makefile command and run | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "gloss.mak". | |||
!MESSAGE | |||
!MESSAGE You can specify a configuration when running NMAKE | |||
!MESSAGE by defining the macro CFG on the command line. For example: | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "gloss.mak" CFG="gloss - Win32 Debug" | |||
!MESSAGE | |||
!MESSAGE Possible choices for configuration are: | |||
!MESSAGE | |||
!MESSAGE "gloss - Win32 Release" (based on "Win32 (x86) Console Application") | |||
!MESSAGE "gloss - Win32 Debug" (based on "Win32 (x86) Console Application") | |||
!MESSAGE | |||
# Begin Project | |||
# PROP AllowPerConfigDependencies 0 | |||
# PROP Scc_ProjName "" | |||
# PROP Scc_LocalPath "" | |||
CPP=cl.exe | |||
RSC=rc.exe | |||
!IF "$(CFG)" == "gloss - Win32 Release" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 0 | |||
# PROP BASE Output_Dir "Release" | |||
# PROP BASE Intermediate_Dir "Release" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 0 | |||
# PROP Output_Dir "Release" | |||
# PROP Intermediate_Dir "Release" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD CPP /nologo /W3 /GX /O2 /I "../../util" /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD BASE RSC /l 0x409 /d "NDEBUG" | |||
# ADD RSC /l 0x409 /d "NDEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /machine:I386 /out:"../gloss.exe" | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ELSEIF "$(CFG)" == "gloss - Win32 Debug" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 1 | |||
# PROP BASE Output_Dir "Debug" | |||
# PROP BASE Intermediate_Dir "Debug" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 1 | |||
# PROP Output_Dir "Debug" | |||
# PROP Intermediate_Dir "Debug" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../util" /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD BASE RSC /l 0x409 /d "_DEBUG" | |||
# ADD RSC /l 0x409 /d "_DEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /debug /machine:I386 /out:"../gloss.exe" /pdbtype:sept | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ENDIF | |||
# Begin Target | |||
# Name "gloss - Win32 Release" | |||
# Name "gloss - Win32 Debug" | |||
# Begin Group "Source Files" | |||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" | |||
# Begin Source File | |||
SOURCE=..\gloss.c | |||
# End Source File | |||
# End Group | |||
# Begin Group "Header Files" | |||
# PROP Default_Filter "h;hpp;hxx;hm;inl" | |||
# End Group | |||
# Begin Group "Resource Files" | |||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | |||
# End Group | |||
# End Target | |||
# End Project |
@@ -1,112 +1,112 @@ | |||
# Microsoft Developer Studio Project File - Name="gltestperf" - Package Owner=<4> | |||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 | |||
# ** DO NOT EDIT ** | |||
# TARGTYPE "Win32 (x86) Console Application" 0x0103 | |||
CFG=gltestperf - Win32 Debug | |||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, | |||
!MESSAGE use the Export Makefile command and run | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "gltestperf.mak". | |||
!MESSAGE | |||
!MESSAGE You can specify a configuration when running NMAKE | |||
!MESSAGE by defining the macro CFG on the command line. For example: | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "gltestperf.mak" CFG="gltestperf - Win32 Debug" | |||
!MESSAGE | |||
!MESSAGE Possible choices for configuration are: | |||
!MESSAGE | |||
!MESSAGE "gltestperf - Win32 Release" (based on "Win32 (x86) Console Application") | |||
!MESSAGE "gltestperf - Win32 Debug" (based on "Win32 (x86) Console Application") | |||
!MESSAGE | |||
# Begin Project | |||
# PROP AllowPerConfigDependencies 0 | |||
# PROP Scc_ProjName "" | |||
# PROP Scc_LocalPath "" | |||
CPP=cl.exe | |||
RSC=rc.exe | |||
!IF "$(CFG)" == "gltestperf - Win32 Release" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 0 | |||
# PROP BASE Output_Dir "Release" | |||
# PROP BASE Intermediate_Dir "Release" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 0 | |||
# PROP Output_Dir "Release" | |||
# PROP Intermediate_Dir "Release" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD BASE RSC /l 0x409 /d "NDEBUG" | |||
# ADD RSC /l 0x409 /d "NDEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /machine:I386 /out:"../gltestperf.exe" | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ELSEIF "$(CFG)" == "gltestperf - Win32 Debug" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 1 | |||
# PROP BASE Output_Dir "Debug" | |||
# PROP BASE Intermediate_Dir "Debug" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 1 | |||
# PROP Output_Dir "Debug" | |||
# PROP Intermediate_Dir "Debug" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD BASE RSC /l 0x409 /d "_DEBUG" | |||
# ADD RSC /l 0x409 /d "_DEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /debug /machine:I386 /out:"../gltestperf.exe" /pdbtype:sept | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ENDIF | |||
# Begin Target | |||
# Name "gltestperf - Win32 Release" | |||
# Name "gltestperf - Win32 Debug" | |||
# Begin Group "Source Files" | |||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" | |||
# Begin Source File | |||
SOURCE=..\gltestperf.c | |||
# End Source File | |||
# End Group | |||
# Begin Group "Header Files" | |||
# PROP Default_Filter "h;hpp;hxx;hm;inl" | |||
# End Group | |||
# Begin Group "Resource Files" | |||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | |||
# End Group | |||
# End Target | |||
# End Project | |||
# Microsoft Developer Studio Project File - Name="gltestperf" - Package Owner=<4> | |||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 | |||
# ** DO NOT EDIT ** | |||
# TARGTYPE "Win32 (x86) Console Application" 0x0103 | |||
CFG=gltestperf - Win32 Debug | |||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, | |||
!MESSAGE use the Export Makefile command and run | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "gltestperf.mak". | |||
!MESSAGE | |||
!MESSAGE You can specify a configuration when running NMAKE | |||
!MESSAGE by defining the macro CFG on the command line. For example: | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "gltestperf.mak" CFG="gltestperf - Win32 Debug" | |||
!MESSAGE | |||
!MESSAGE Possible choices for configuration are: | |||
!MESSAGE | |||
!MESSAGE "gltestperf - Win32 Release" (based on "Win32 (x86) Console Application") | |||
!MESSAGE "gltestperf - Win32 Debug" (based on "Win32 (x86) Console Application") | |||
!MESSAGE | |||
# Begin Project | |||
# PROP AllowPerConfigDependencies 0 | |||
# PROP Scc_ProjName "" | |||
# PROP Scc_LocalPath "" | |||
CPP=cl.exe | |||
RSC=rc.exe | |||
!IF "$(CFG)" == "gltestperf - Win32 Release" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 0 | |||
# PROP BASE Output_Dir "Release" | |||
# PROP BASE Intermediate_Dir "Release" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 0 | |||
# PROP Output_Dir "Release" | |||
# PROP Intermediate_Dir "Release" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD BASE RSC /l 0x409 /d "NDEBUG" | |||
# ADD RSC /l 0x409 /d "NDEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /machine:I386 /out:"../gltestperf.exe" | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ELSEIF "$(CFG)" == "gltestperf - Win32 Debug" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 1 | |||
# PROP BASE Output_Dir "Debug" | |||
# PROP BASE Intermediate_Dir "Debug" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 1 | |||
# PROP Output_Dir "Debug" | |||
# PROP Intermediate_Dir "Debug" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD BASE RSC /l 0x409 /d "_DEBUG" | |||
# ADD RSC /l 0x409 /d "_DEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /debug /machine:I386 /out:"../gltestperf.exe" /pdbtype:sept | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ENDIF | |||
# Begin Target | |||
# Name "gltestperf - Win32 Release" | |||
# Name "gltestperf - Win32 Debug" | |||
# Begin Group "Source Files" | |||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" | |||
# Begin Source File | |||
SOURCE=..\gltestperf.c | |||
# End Source File | |||
# End Group | |||
# Begin Group "Header Files" | |||
# PROP Default_Filter "h;hpp;hxx;hm;inl" | |||
# End Group | |||
# Begin Group "Resource Files" | |||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | |||
# End Group | |||
# End Target | |||
# End Project |
@@ -1,112 +1,112 @@ | |||
# Microsoft Developer Studio Project File - Name="glutfx" - Package Owner=<4> | |||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 | |||
# ** DO NOT EDIT ** | |||
# TARGTYPE "Win32 (x86) Console Application" 0x0103 | |||
CFG=glutfx - Win32 Debug | |||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, | |||
!MESSAGE use the Export Makefile command and run | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "glutfx.mak". | |||
!MESSAGE | |||
!MESSAGE You can specify a configuration when running NMAKE | |||
!MESSAGE by defining the macro CFG on the command line. For example: | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "glutfx.mak" CFG="glutfx - Win32 Debug" | |||
!MESSAGE | |||
!MESSAGE Possible choices for configuration are: | |||
!MESSAGE | |||
!MESSAGE "glutfx - Win32 Release" (based on "Win32 (x86) Console Application") | |||
!MESSAGE "glutfx - Win32 Debug" (based on "Win32 (x86) Console Application") | |||
!MESSAGE | |||
# Begin Project | |||
# PROP AllowPerConfigDependencies 0 | |||
# PROP Scc_ProjName "" | |||
# PROP Scc_LocalPath "" | |||
CPP=cl.exe | |||
RSC=rc.exe | |||
!IF "$(CFG)" == "glutfx - Win32 Release" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 0 | |||
# PROP BASE Output_Dir "Release" | |||
# PROP BASE Intermediate_Dir "Release" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 0 | |||
# PROP Output_Dir "Release" | |||
# PROP Intermediate_Dir "Release" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD BASE RSC /l 0x409 /d "NDEBUG" | |||
# ADD RSC /l 0x409 /d "NDEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /machine:I386 /out:"../glutfx.exe" | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ELSEIF "$(CFG)" == "glutfx - Win32 Debug" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 1 | |||
# PROP BASE Output_Dir "Debug" | |||
# PROP BASE Intermediate_Dir "Debug" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 1 | |||
# PROP Output_Dir "Debug" | |||
# PROP Intermediate_Dir "Debug" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD BASE RSC /l 0x409 /d "_DEBUG" | |||
# ADD RSC /l 0x409 /d "_DEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /debug /machine:I386 /out:"../glutfx.exe" /pdbtype:sept | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ENDIF | |||
# Begin Target | |||
# Name "glutfx - Win32 Release" | |||
# Name "glutfx - Win32 Debug" | |||
# Begin Group "Source Files" | |||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" | |||
# Begin Source File | |||
SOURCE=..\glutfx.c | |||
# End Source File | |||
# End Group | |||
# Begin Group "Header Files" | |||
# PROP Default_Filter "h;hpp;hxx;hm;inl" | |||
# End Group | |||
# Begin Group "Resource Files" | |||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | |||
# End Group | |||
# End Target | |||
# End Project | |||
# Microsoft Developer Studio Project File - Name="glutfx" - Package Owner=<4> | |||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 | |||
# ** DO NOT EDIT ** | |||
# TARGTYPE "Win32 (x86) Console Application" 0x0103 | |||
CFG=glutfx - Win32 Debug | |||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, | |||
!MESSAGE use the Export Makefile command and run | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "glutfx.mak". | |||
!MESSAGE | |||
!MESSAGE You can specify a configuration when running NMAKE | |||
!MESSAGE by defining the macro CFG on the command line. For example: | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "glutfx.mak" CFG="glutfx - Win32 Debug" | |||
!MESSAGE | |||
!MESSAGE Possible choices for configuration are: | |||
!MESSAGE | |||
!MESSAGE "glutfx - Win32 Release" (based on "Win32 (x86) Console Application") | |||
!MESSAGE "glutfx - Win32 Debug" (based on "Win32 (x86) Console Application") | |||
!MESSAGE | |||
# Begin Project | |||
# PROP AllowPerConfigDependencies 0 | |||
# PROP Scc_ProjName "" | |||
# PROP Scc_LocalPath "" | |||
CPP=cl.exe | |||
RSC=rc.exe | |||
!IF "$(CFG)" == "glutfx - Win32 Release" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 0 | |||
# PROP BASE Output_Dir "Release" | |||
# PROP BASE Intermediate_Dir "Release" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 0 | |||
# PROP Output_Dir "Release" | |||
# PROP Intermediate_Dir "Release" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD BASE RSC /l 0x409 /d "NDEBUG" | |||
# ADD RSC /l 0x409 /d "NDEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /machine:I386 /out:"../glutfx.exe" | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ELSEIF "$(CFG)" == "glutfx - Win32 Debug" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 1 | |||
# PROP BASE Output_Dir "Debug" | |||
# PROP BASE Intermediate_Dir "Debug" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 1 | |||
# PROP Output_Dir "Debug" | |||
# PROP Intermediate_Dir "Debug" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD BASE RSC /l 0x409 /d "_DEBUG" | |||
# ADD RSC /l 0x409 /d "_DEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /debug /machine:I386 /out:"../glutfx.exe" /pdbtype:sept | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ENDIF | |||
# Begin Target | |||
# Name "glutfx - Win32 Release" | |||
# Name "glutfx - Win32 Debug" | |||
# Begin Group "Source Files" | |||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" | |||
# Begin Source File | |||
SOURCE=..\glutfx.c | |||
# End Source File | |||
# End Group | |||
# Begin Group "Header Files" | |||
# PROP Default_Filter "h;hpp;hxx;hm;inl" | |||
# End Group | |||
# Begin Group "Resource Files" | |||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | |||
# End Group | |||
# End Target | |||
# End Project |
@@ -1,112 +1,112 @@ | |||
# Microsoft Developer Studio Project File - Name="ipers" - Package Owner=<4> | |||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 | |||
# ** DO NOT EDIT ** | |||
# TARGTYPE "Win32 (x86) Console Application" 0x0103 | |||
CFG=ipers - Win32 Debug | |||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, | |||
!MESSAGE use the Export Makefile command and run | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "ipers.mak". | |||
!MESSAGE | |||
!MESSAGE You can specify a configuration when running NMAKE | |||
!MESSAGE by defining the macro CFG on the command line. For example: | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "ipers.mak" CFG="ipers - Win32 Debug" | |||
!MESSAGE | |||
!MESSAGE Possible choices for configuration are: | |||
!MESSAGE | |||
!MESSAGE "ipers - Win32 Release" (based on "Win32 (x86) Console Application") | |||
!MESSAGE "ipers - Win32 Debug" (based on "Win32 (x86) Console Application") | |||
!MESSAGE | |||
# Begin Project | |||
# PROP AllowPerConfigDependencies 0 | |||
# PROP Scc_ProjName "" | |||
# PROP Scc_LocalPath "" | |||
CPP=cl.exe | |||
RSC=rc.exe | |||
!IF "$(CFG)" == "ipers - Win32 Release" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 0 | |||
# PROP BASE Output_Dir "Release" | |||
# PROP BASE Intermediate_Dir "Release" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 0 | |||
# PROP Output_Dir "Release" | |||
# PROP Intermediate_Dir "Release" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD CPP /nologo /W3 /GX /O2 /I "../../util" /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD BASE RSC /l 0x409 /d "NDEBUG" | |||
# ADD RSC /l 0x409 /d "NDEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /machine:I386 /out:"../ipers.exe" | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ELSEIF "$(CFG)" == "ipers - Win32 Debug" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 1 | |||
# PROP BASE Output_Dir "Debug" | |||
# PROP BASE Intermediate_Dir "Debug" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 1 | |||
# PROP Output_Dir "Debug" | |||
# PROP Intermediate_Dir "Debug" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../util" /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD BASE RSC /l 0x409 /d "_DEBUG" | |||
# ADD RSC /l 0x409 /d "_DEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /debug /machine:I386 /out:"../ipers.exe" /pdbtype:sept | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ENDIF | |||
# Begin Target | |||
# Name "ipers - Win32 Release" | |||
# Name "ipers - Win32 Debug" | |||
# Begin Group "Source Files" | |||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" | |||
# Begin Source File | |||
SOURCE=..\ipers.c | |||
# End Source File | |||
# End Group | |||
# Begin Group "Header Files" | |||
# PROP Default_Filter "h;hpp;hxx;hm;inl" | |||
# End Group | |||
# Begin Group "Resource Files" | |||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | |||
# End Group | |||
# End Target | |||
# End Project | |||
# Microsoft Developer Studio Project File - Name="ipers" - Package Owner=<4> | |||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 | |||
# ** DO NOT EDIT ** | |||
# TARGTYPE "Win32 (x86) Console Application" 0x0103 | |||
CFG=ipers - Win32 Debug | |||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, | |||
!MESSAGE use the Export Makefile command and run | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "ipers.mak". | |||
!MESSAGE | |||
!MESSAGE You can specify a configuration when running NMAKE | |||
!MESSAGE by defining the macro CFG on the command line. For example: | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "ipers.mak" CFG="ipers - Win32 Debug" | |||
!MESSAGE | |||
!MESSAGE Possible choices for configuration are: | |||
!MESSAGE | |||
!MESSAGE "ipers - Win32 Release" (based on "Win32 (x86) Console Application") | |||
!MESSAGE "ipers - Win32 Debug" (based on "Win32 (x86) Console Application") | |||
!MESSAGE | |||
# Begin Project | |||
# PROP AllowPerConfigDependencies 0 | |||
# PROP Scc_ProjName "" | |||
# PROP Scc_LocalPath "" | |||
CPP=cl.exe | |||
RSC=rc.exe | |||
!IF "$(CFG)" == "ipers - Win32 Release" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 0 | |||
# PROP BASE Output_Dir "Release" | |||
# PROP BASE Intermediate_Dir "Release" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 0 | |||
# PROP Output_Dir "Release" | |||
# PROP Intermediate_Dir "Release" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD CPP /nologo /W3 /GX /O2 /I "../../util" /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD BASE RSC /l 0x409 /d "NDEBUG" | |||
# ADD RSC /l 0x409 /d "NDEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /machine:I386 /out:"../ipers.exe" | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ELSEIF "$(CFG)" == "ipers - Win32 Debug" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 1 | |||
# PROP BASE Output_Dir "Debug" | |||
# PROP BASE Intermediate_Dir "Debug" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 1 | |||
# PROP Output_Dir "Debug" | |||
# PROP Intermediate_Dir "Debug" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../util" /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD BASE RSC /l 0x409 /d "_DEBUG" | |||
# ADD RSC /l 0x409 /d "_DEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /debug /machine:I386 /out:"../ipers.exe" /pdbtype:sept | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ENDIF | |||
# Begin Target | |||
# Name "ipers - Win32 Release" | |||
# Name "ipers - Win32 Debug" | |||
# Begin Group "Source Files" | |||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" | |||
# Begin Source File | |||
SOURCE=..\ipers.c | |||
# End Source File | |||
# End Group | |||
# Begin Group "Header Files" | |||
# PROP Default_Filter "h;hpp;hxx;hm;inl" | |||
# End Group | |||
# Begin Group "Resource Files" | |||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | |||
# End Group | |||
# End Target | |||
# End Project |
@@ -1,112 +1,112 @@ | |||
# Microsoft Developer Studio Project File - Name="isosurf" - Package Owner=<4> | |||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 | |||
# ** DO NOT EDIT ** | |||
# TARGTYPE "Win32 (x86) Console Application" 0x0103 | |||
CFG=isosurf - Win32 Debug | |||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, | |||
!MESSAGE use the Export Makefile command and run | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "isosurf.mak". | |||
!MESSAGE | |||
!MESSAGE You can specify a configuration when running NMAKE | |||
!MESSAGE by defining the macro CFG on the command line. For example: | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "isosurf.mak" CFG="isosurf - Win32 Debug" | |||
!MESSAGE | |||
!MESSAGE Possible choices for configuration are: | |||
!MESSAGE | |||
!MESSAGE "isosurf - Win32 Release" (based on "Win32 (x86) Console Application") | |||
!MESSAGE "isosurf - Win32 Debug" (based on "Win32 (x86) Console Application") | |||
!MESSAGE | |||
# Begin Project | |||
# PROP AllowPerConfigDependencies 0 | |||
# PROP Scc_ProjName "" | |||
# PROP Scc_LocalPath "" | |||
CPP=cl.exe | |||
RSC=rc.exe | |||
!IF "$(CFG)" == "isosurf - Win32 Release" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 0 | |||
# PROP BASE Output_Dir "Release" | |||
# PROP BASE Intermediate_Dir "Release" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 0 | |||
# PROP Output_Dir "Release" | |||
# PROP Intermediate_Dir "Release" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD CPP /nologo /W3 /GX /O2 /I "../../util" /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD BASE RSC /l 0x409 /d "NDEBUG" | |||
# ADD RSC /l 0x409 /d "NDEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /machine:I386 /out:"../isosurf.exe" | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ELSEIF "$(CFG)" == "isosurf - Win32 Debug" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 1 | |||
# PROP BASE Output_Dir "Debug" | |||
# PROP BASE Intermediate_Dir "Debug" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 1 | |||
# PROP Output_Dir "Debug" | |||
# PROP Intermediate_Dir "Debug" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../util" /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD BASE RSC /l 0x409 /d "_DEBUG" | |||
# ADD RSC /l 0x409 /d "_DEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /debug /machine:I386 /out:"../isosurf.exe" /pdbtype:sept | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ENDIF | |||
# Begin Target | |||
# Name "isosurf - Win32 Release" | |||
# Name "isosurf - Win32 Debug" | |||
# Begin Group "Source Files" | |||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" | |||
# Begin Source File | |||
SOURCE=..\isosurf.c | |||
# End Source File | |||
# End Group | |||
# Begin Group "Header Files" | |||
# PROP Default_Filter "h;hpp;hxx;hm;inl" | |||
# End Group | |||
# Begin Group "Resource Files" | |||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | |||
# End Group | |||
# End Target | |||
# End Project | |||
# Microsoft Developer Studio Project File - Name="isosurf" - Package Owner=<4> | |||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 | |||
# ** DO NOT EDIT ** | |||
# TARGTYPE "Win32 (x86) Console Application" 0x0103 | |||
CFG=isosurf - Win32 Debug | |||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, | |||
!MESSAGE use the Export Makefile command and run | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "isosurf.mak". | |||
!MESSAGE | |||
!MESSAGE You can specify a configuration when running NMAKE | |||
!MESSAGE by defining the macro CFG on the command line. For example: | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "isosurf.mak" CFG="isosurf - Win32 Debug" | |||
!MESSAGE | |||
!MESSAGE Possible choices for configuration are: | |||
!MESSAGE | |||
!MESSAGE "isosurf - Win32 Release" (based on "Win32 (x86) Console Application") | |||
!MESSAGE "isosurf - Win32 Debug" (based on "Win32 (x86) Console Application") | |||
!MESSAGE | |||
# Begin Project | |||
# PROP AllowPerConfigDependencies 0 | |||
# PROP Scc_ProjName "" | |||
# PROP Scc_LocalPath "" | |||
CPP=cl.exe | |||
RSC=rc.exe | |||
!IF "$(CFG)" == "isosurf - Win32 Release" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 0 | |||
# PROP BASE Output_Dir "Release" | |||
# PROP BASE Intermediate_Dir "Release" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 0 | |||
# PROP Output_Dir "Release" | |||
# PROP Intermediate_Dir "Release" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD CPP /nologo /W3 /GX /O2 /I "../../util" /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD BASE RSC /l 0x409 /d "NDEBUG" | |||
# ADD RSC /l 0x409 /d "NDEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /machine:I386 /out:"../isosurf.exe" | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ELSEIF "$(CFG)" == "isosurf - Win32 Debug" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 1 | |||
# PROP BASE Output_Dir "Debug" | |||
# PROP BASE Intermediate_Dir "Debug" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 1 | |||
# PROP Output_Dir "Debug" | |||
# PROP Intermediate_Dir "Debug" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../util" /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD BASE RSC /l 0x409 /d "_DEBUG" | |||
# ADD RSC /l 0x409 /d "_DEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /debug /machine:I386 /out:"../isosurf.exe" /pdbtype:sept | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ENDIF | |||
# Begin Target | |||
# Name "isosurf - Win32 Release" | |||
# Name "isosurf - Win32 Debug" | |||
# Begin Group "Source Files" | |||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" | |||
# Begin Source File | |||
SOURCE=..\isosurf.c | |||
# End Source File | |||
# End Group | |||
# Begin Group "Header Files" | |||
# PROP Default_Filter "h;hpp;hxx;hm;inl" | |||
# End Group | |||
# Begin Group "Resource Files" | |||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | |||
# End Group | |||
# End Target | |||
# End Project |
@@ -1,112 +1,112 @@ | |||
# Microsoft Developer Studio Project File - Name="lodbias" - Package Owner=<4> | |||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 | |||
# ** DO NOT EDIT ** | |||
# TARGTYPE "Win32 (x86) Console Application" 0x0103 | |||
CFG=lodbias - Win32 Debug | |||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, | |||
!MESSAGE use the Export Makefile command and run | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "lodbias.mak". | |||
!MESSAGE | |||
!MESSAGE You can specify a configuration when running NMAKE | |||
!MESSAGE by defining the macro CFG on the command line. For example: | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "lodbias.mak" CFG="lodbias - Win32 Debug" | |||
!MESSAGE | |||
!MESSAGE Possible choices for configuration are: | |||
!MESSAGE | |||
!MESSAGE "lodbias - Win32 Release" (based on "Win32 (x86) Console Application") | |||
!MESSAGE "lodbias - Win32 Debug" (based on "Win32 (x86) Console Application") | |||
!MESSAGE | |||
# Begin Project | |||
# PROP AllowPerConfigDependencies 0 | |||
# PROP Scc_ProjName "" | |||
# PROP Scc_LocalPath "" | |||
CPP=cl.exe | |||
RSC=rc.exe | |||
!IF "$(CFG)" == "lodbias - Win32 Release" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 0 | |||
# PROP BASE Output_Dir "Release" | |||
# PROP BASE Intermediate_Dir "Release" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 0 | |||
# PROP Output_Dir "Release" | |||
# PROP Intermediate_Dir "Release" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD CPP /nologo /W3 /GX /O2 /I "../../util" /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD BASE RSC /l 0x409 /d "NDEBUG" | |||
# ADD RSC /l 0x409 /d "NDEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /machine:I386 /out:"../lodbias.exe" | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ELSEIF "$(CFG)" == "lodbias - Win32 Debug" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 1 | |||
# PROP BASE Output_Dir "Debug" | |||
# PROP BASE Intermediate_Dir "Debug" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 1 | |||
# PROP Output_Dir "Debug" | |||
# PROP Intermediate_Dir "Debug" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../util" /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD BASE RSC /l 0x409 /d "_DEBUG" | |||
# ADD RSC /l 0x409 /d "_DEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /debug /machine:I386 /out:"../lodbias.exe" /pdbtype:sept | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ENDIF | |||
# Begin Target | |||
# Name "lodbias - Win32 Release" | |||
# Name "lodbias - Win32 Debug" | |||
# Begin Group "Source Files" | |||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" | |||
# Begin Source File | |||
SOURCE=..\lodbias.c | |||
# End Source File | |||
# End Group | |||
# Begin Group "Header Files" | |||
# PROP Default_Filter "h;hpp;hxx;hm;inl" | |||
# End Group | |||
# Begin Group "Resource Files" | |||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | |||
# End Group | |||
# End Target | |||
# End Project | |||
# Microsoft Developer Studio Project File - Name="lodbias" - Package Owner=<4> | |||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 | |||
# ** DO NOT EDIT ** | |||
# TARGTYPE "Win32 (x86) Console Application" 0x0103 | |||
CFG=lodbias - Win32 Debug | |||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, | |||
!MESSAGE use the Export Makefile command and run | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "lodbias.mak". | |||
!MESSAGE | |||
!MESSAGE You can specify a configuration when running NMAKE | |||
!MESSAGE by defining the macro CFG on the command line. For example: | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "lodbias.mak" CFG="lodbias - Win32 Debug" | |||
!MESSAGE | |||
!MESSAGE Possible choices for configuration are: | |||
!MESSAGE | |||
!MESSAGE "lodbias - Win32 Release" (based on "Win32 (x86) Console Application") | |||
!MESSAGE "lodbias - Win32 Debug" (based on "Win32 (x86) Console Application") | |||
!MESSAGE | |||
# Begin Project | |||
# PROP AllowPerConfigDependencies 0 | |||
# PROP Scc_ProjName "" | |||
# PROP Scc_LocalPath "" | |||
CPP=cl.exe | |||
RSC=rc.exe | |||
!IF "$(CFG)" == "lodbias - Win32 Release" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 0 | |||
# PROP BASE Output_Dir "Release" | |||
# PROP BASE Intermediate_Dir "Release" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 0 | |||
# PROP Output_Dir "Release" | |||
# PROP Intermediate_Dir "Release" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD CPP /nologo /W3 /GX /O2 /I "../../util" /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD BASE RSC /l 0x409 /d "NDEBUG" | |||
# ADD RSC /l 0x409 /d "NDEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /machine:I386 /out:"../lodbias.exe" | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ELSEIF "$(CFG)" == "lodbias - Win32 Debug" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 1 | |||
# PROP BASE Output_Dir "Debug" | |||
# PROP BASE Intermediate_Dir "Debug" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 1 | |||
# PROP Output_Dir "Debug" | |||
# PROP Intermediate_Dir "Debug" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../util" /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD BASE RSC /l 0x409 /d "_DEBUG" | |||
# ADD RSC /l 0x409 /d "_DEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /debug /machine:I386 /out:"../lodbias.exe" /pdbtype:sept | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ENDIF | |||
# Begin Target | |||
# Name "lodbias - Win32 Release" | |||
# Name "lodbias - Win32 Debug" | |||
# Begin Group "Source Files" | |||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" | |||
# Begin Source File | |||
SOURCE=..\lodbias.c | |||
# End Source File | |||
# End Group | |||
# Begin Group "Header Files" | |||
# PROP Default_Filter "h;hpp;hxx;hm;inl" | |||
# End Group | |||
# Begin Group "Resource Files" | |||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | |||
# End Group | |||
# End Target | |||
# End Project |
@@ -1,112 +1,112 @@ | |||
# Microsoft Developer Studio Project File - Name="morph3d" - Package Owner=<4> | |||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 | |||
# ** DO NOT EDIT ** | |||
# TARGTYPE "Win32 (x86) Console Application" 0x0103 | |||
CFG=morph3d - Win32 Debug | |||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, | |||
!MESSAGE use the Export Makefile command and run | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "morph3d.mak". | |||
!MESSAGE | |||
!MESSAGE You can specify a configuration when running NMAKE | |||
!MESSAGE by defining the macro CFG on the command line. For example: | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "morph3d.mak" CFG="morph3d - Win32 Debug" | |||
!MESSAGE | |||
!MESSAGE Possible choices for configuration are: | |||
!MESSAGE | |||
!MESSAGE "morph3d - Win32 Release" (based on "Win32 (x86) Console Application") | |||
!MESSAGE "morph3d - Win32 Debug" (based on "Win32 (x86) Console Application") | |||
!MESSAGE | |||
# Begin Project | |||
# PROP AllowPerConfigDependencies 0 | |||
# PROP Scc_ProjName "" | |||
# PROP Scc_LocalPath "" | |||
CPP=cl.exe | |||
RSC=rc.exe | |||
!IF "$(CFG)" == "morph3d - Win32 Release" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 0 | |||
# PROP BASE Output_Dir "Release" | |||
# PROP BASE Intermediate_Dir "Release" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 0 | |||
# PROP Output_Dir "Release" | |||
# PROP Intermediate_Dir "Release" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD BASE RSC /l 0x409 /d "NDEBUG" | |||
# ADD RSC /l 0x409 /d "NDEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /machine:I386 /out:"../morph3d.exe" | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ELSEIF "$(CFG)" == "morph3d - Win32 Debug" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 1 | |||
# PROP BASE Output_Dir "Debug" | |||
# PROP BASE Intermediate_Dir "Debug" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 1 | |||
# PROP Output_Dir "Debug" | |||
# PROP Intermediate_Dir "Debug" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD BASE RSC /l 0x409 /d "_DEBUG" | |||
# ADD RSC /l 0x409 /d "_DEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /debug /machine:I386 /out:"../morph3d.exe" /pdbtype:sept | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ENDIF | |||
# Begin Target | |||
# Name "morph3d - Win32 Release" | |||
# Name "morph3d - Win32 Debug" | |||
# Begin Group "Source Files" | |||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" | |||
# Begin Source File | |||
SOURCE=..\morph3d.c | |||
# End Source File | |||
# End Group | |||
# Begin Group "Header Files" | |||
# PROP Default_Filter "h;hpp;hxx;hm;inl" | |||
# End Group | |||
# Begin Group "Resource Files" | |||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | |||
# End Group | |||
# End Target | |||
# End Project | |||
# Microsoft Developer Studio Project File - Name="morph3d" - Package Owner=<4> | |||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 | |||
# ** DO NOT EDIT ** | |||
# TARGTYPE "Win32 (x86) Console Application" 0x0103 | |||
CFG=morph3d - Win32 Debug | |||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, | |||
!MESSAGE use the Export Makefile command and run | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "morph3d.mak". | |||
!MESSAGE | |||
!MESSAGE You can specify a configuration when running NMAKE | |||
!MESSAGE by defining the macro CFG on the command line. For example: | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "morph3d.mak" CFG="morph3d - Win32 Debug" | |||
!MESSAGE | |||
!MESSAGE Possible choices for configuration are: | |||
!MESSAGE | |||
!MESSAGE "morph3d - Win32 Release" (based on "Win32 (x86) Console Application") | |||
!MESSAGE "morph3d - Win32 Debug" (based on "Win32 (x86) Console Application") | |||
!MESSAGE | |||
# Begin Project | |||
# PROP AllowPerConfigDependencies 0 | |||
# PROP Scc_ProjName "" | |||
# PROP Scc_LocalPath "" | |||
CPP=cl.exe | |||
RSC=rc.exe | |||
!IF "$(CFG)" == "morph3d - Win32 Release" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 0 | |||
# PROP BASE Output_Dir "Release" | |||
# PROP BASE Intermediate_Dir "Release" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 0 | |||
# PROP Output_Dir "Release" | |||
# PROP Intermediate_Dir "Release" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD BASE RSC /l 0x409 /d "NDEBUG" | |||
# ADD RSC /l 0x409 /d "NDEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /machine:I386 /out:"../morph3d.exe" | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ELSEIF "$(CFG)" == "morph3d - Win32 Debug" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 1 | |||
# PROP BASE Output_Dir "Debug" | |||
# PROP BASE Intermediate_Dir "Debug" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 1 | |||
# PROP Output_Dir "Debug" | |||
# PROP Intermediate_Dir "Debug" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD BASE RSC /l 0x409 /d "_DEBUG" | |||
# ADD RSC /l 0x409 /d "_DEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /debug /machine:I386 /out:"../morph3d.exe" /pdbtype:sept | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ENDIF | |||
# Begin Target | |||
# Name "morph3d - Win32 Release" | |||
# Name "morph3d - Win32 Debug" | |||
# Begin Group "Source Files" | |||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" | |||
# Begin Source File | |||
SOURCE=..\morph3d.c | |||
# End Source File | |||
# End Group | |||
# Begin Group "Header Files" | |||
# PROP Default_Filter "h;hpp;hxx;hm;inl" | |||
# End Group | |||
# Begin Group "Resource Files" | |||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | |||
# End Group | |||
# End Target | |||
# End Project |
@@ -1,112 +1,112 @@ | |||
# Microsoft Developer Studio Project File - Name="multiarb" - Package Owner=<4> | |||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 | |||
# ** DO NOT EDIT ** | |||
# TARGTYPE "Win32 (x86) Console Application" 0x0103 | |||
CFG=multiarb - Win32 Debug | |||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, | |||
!MESSAGE use the Export Makefile command and run | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "multiarb.mak". | |||
!MESSAGE | |||
!MESSAGE You can specify a configuration when running NMAKE | |||
!MESSAGE by defining the macro CFG on the command line. For example: | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "multiarb.mak" CFG="multiarb - Win32 Debug" | |||
!MESSAGE | |||
!MESSAGE Possible choices for configuration are: | |||
!MESSAGE | |||
!MESSAGE "multiarb - Win32 Release" (based on "Win32 (x86) Console Application") | |||
!MESSAGE "multiarb - Win32 Debug" (based on "Win32 (x86) Console Application") | |||
!MESSAGE | |||
# Begin Project | |||
# PROP AllowPerConfigDependencies 0 | |||
# PROP Scc_ProjName "" | |||
# PROP Scc_LocalPath "" | |||
CPP=cl.exe | |||
RSC=rc.exe | |||
!IF "$(CFG)" == "multiarb - Win32 Release" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 0 | |||
# PROP BASE Output_Dir "Release" | |||
# PROP BASE Intermediate_Dir "Release" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 0 | |||
# PROP Output_Dir "Release" | |||
# PROP Intermediate_Dir "Release" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD CPP /nologo /W3 /GX /O2 /I "../../util" /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD BASE RSC /l 0x409 /d "NDEBUG" | |||
# ADD RSC /l 0x409 /d "NDEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /machine:I386 /out:"../multiarb.exe" | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ELSEIF "$(CFG)" == "multiarb - Win32 Debug" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 1 | |||
# PROP BASE Output_Dir "Debug" | |||
# PROP BASE Intermediate_Dir "Debug" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 1 | |||
# PROP Output_Dir "Debug" | |||
# PROP Intermediate_Dir "Debug" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../util" /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD BASE RSC /l 0x409 /d "_DEBUG" | |||
# ADD RSC /l 0x409 /d "_DEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /debug /machine:I386 /out:"../multiarb.exe" /pdbtype:sept | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ENDIF | |||
# Begin Target | |||
# Name "multiarb - Win32 Release" | |||
# Name "multiarb - Win32 Debug" | |||
# Begin Group "Source Files" | |||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" | |||
# Begin Source File | |||
SOURCE=..\multiarb.c | |||
# End Source File | |||
# End Group | |||
# Begin Group "Header Files" | |||
# PROP Default_Filter "h;hpp;hxx;hm;inl" | |||
# End Group | |||
# Begin Group "Resource Files" | |||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | |||
# End Group | |||
# End Target | |||
# End Project | |||
# Microsoft Developer Studio Project File - Name="multiarb" - Package Owner=<4> | |||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 | |||
# ** DO NOT EDIT ** | |||
# TARGTYPE "Win32 (x86) Console Application" 0x0103 | |||
CFG=multiarb - Win32 Debug | |||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, | |||
!MESSAGE use the Export Makefile command and run | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "multiarb.mak". | |||
!MESSAGE | |||
!MESSAGE You can specify a configuration when running NMAKE | |||
!MESSAGE by defining the macro CFG on the command line. For example: | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "multiarb.mak" CFG="multiarb - Win32 Debug" | |||
!MESSAGE | |||
!MESSAGE Possible choices for configuration are: | |||
!MESSAGE | |||
!MESSAGE "multiarb - Win32 Release" (based on "Win32 (x86) Console Application") | |||
!MESSAGE "multiarb - Win32 Debug" (based on "Win32 (x86) Console Application") | |||
!MESSAGE | |||
# Begin Project | |||
# PROP AllowPerConfigDependencies 0 | |||
# PROP Scc_ProjName "" | |||
# PROP Scc_LocalPath "" | |||
CPP=cl.exe | |||
RSC=rc.exe | |||
!IF "$(CFG)" == "multiarb - Win32 Release" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 0 | |||
# PROP BASE Output_Dir "Release" | |||
# PROP BASE Intermediate_Dir "Release" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 0 | |||
# PROP Output_Dir "Release" | |||
# PROP Intermediate_Dir "Release" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD CPP /nologo /W3 /GX /O2 /I "../../util" /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD BASE RSC /l 0x409 /d "NDEBUG" | |||
# ADD RSC /l 0x409 /d "NDEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /machine:I386 /out:"../multiarb.exe" | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ELSEIF "$(CFG)" == "multiarb - Win32 Debug" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 1 | |||
# PROP BASE Output_Dir "Debug" | |||
# PROP BASE Intermediate_Dir "Debug" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 1 | |||
# PROP Output_Dir "Debug" | |||
# PROP Intermediate_Dir "Debug" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../util" /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD BASE RSC /l 0x409 /d "_DEBUG" | |||
# ADD RSC /l 0x409 /d "_DEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /debug /machine:I386 /out:"../multiarb.exe" /pdbtype:sept | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ENDIF | |||
# Begin Target | |||
# Name "multiarb - Win32 Release" | |||
# Name "multiarb - Win32 Debug" | |||
# Begin Group "Source Files" | |||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" | |||
# Begin Source File | |||
SOURCE=..\multiarb.c | |||
# End Source File | |||
# End Group | |||
# Begin Group "Header Files" | |||
# PROP Default_Filter "h;hpp;hxx;hm;inl" | |||
# End Group | |||
# Begin Group "Resource Files" | |||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | |||
# End Group | |||
# End Target | |||
# End Project |
@@ -1,112 +1,112 @@ | |||
# Microsoft Developer Studio Project File - Name="occlude" - Package Owner=<4> | |||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 | |||
# ** DO NOT EDIT ** | |||
# TARGTYPE "Win32 (x86) Console Application" 0x0103 | |||
CFG=occlude - Win32 Debug | |||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, | |||
!MESSAGE use the Export Makefile command and run | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "occlude.mak". | |||
!MESSAGE | |||
!MESSAGE You can specify a configuration when running NMAKE | |||
!MESSAGE by defining the macro CFG on the command line. For example: | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "occlude.mak" CFG="occlude - Win32 Debug" | |||
!MESSAGE | |||
!MESSAGE Possible choices for configuration are: | |||
!MESSAGE | |||
!MESSAGE "occlude - Win32 Release" (based on "Win32 (x86) Console Application") | |||
!MESSAGE "occlude - Win32 Debug" (based on "Win32 (x86) Console Application") | |||
!MESSAGE | |||
# Begin Project | |||
# PROP AllowPerConfigDependencies 0 | |||
# PROP Scc_ProjName "" | |||
# PROP Scc_LocalPath "" | |||
CPP=cl.exe | |||
RSC=rc.exe | |||
!IF "$(CFG)" == "occlude - Win32 Release" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 0 | |||
# PROP BASE Output_Dir "Release" | |||
# PROP BASE Intermediate_Dir "Release" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 0 | |||
# PROP Output_Dir "Release" | |||
# PROP Intermediate_Dir "Release" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD BASE RSC /l 0x409 /d "NDEBUG" | |||
# ADD RSC /l 0x409 /d "NDEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /machine:I386 /out:"../occlude.exe" | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ELSEIF "$(CFG)" == "occlude - Win32 Debug" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 1 | |||
# PROP BASE Output_Dir "Debug" | |||
# PROP BASE Intermediate_Dir "Debug" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 1 | |||
# PROP Output_Dir "Debug" | |||
# PROP Intermediate_Dir "Debug" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD BASE RSC /l 0x409 /d "_DEBUG" | |||
# ADD RSC /l 0x409 /d "_DEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /debug /machine:I386 /out:"../occlude.exe" /pdbtype:sept | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ENDIF | |||
# Begin Target | |||
# Name "occlude - Win32 Release" | |||
# Name "occlude - Win32 Debug" | |||
# Begin Group "Source Files" | |||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" | |||
# Begin Source File | |||
SOURCE=..\occlude.c | |||
# End Source File | |||
# End Group | |||
# Begin Group "Header Files" | |||
# PROP Default_Filter "h;hpp;hxx;hm;inl" | |||
# End Group | |||
# Begin Group "Resource Files" | |||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | |||
# End Group | |||
# End Target | |||
# End Project | |||
# Microsoft Developer Studio Project File - Name="occlude" - Package Owner=<4> | |||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 | |||
# ** DO NOT EDIT ** | |||
# TARGTYPE "Win32 (x86) Console Application" 0x0103 | |||
CFG=occlude - Win32 Debug | |||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, | |||
!MESSAGE use the Export Makefile command and run | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "occlude.mak". | |||
!MESSAGE | |||
!MESSAGE You can specify a configuration when running NMAKE | |||
!MESSAGE by defining the macro CFG on the command line. For example: | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "occlude.mak" CFG="occlude - Win32 Debug" | |||
!MESSAGE | |||
!MESSAGE Possible choices for configuration are: | |||
!MESSAGE | |||
!MESSAGE "occlude - Win32 Release" (based on "Win32 (x86) Console Application") | |||
!MESSAGE "occlude - Win32 Debug" (based on "Win32 (x86) Console Application") | |||
!MESSAGE | |||
# Begin Project | |||
# PROP AllowPerConfigDependencies 0 | |||
# PROP Scc_ProjName "" | |||
# PROP Scc_LocalPath "" | |||
CPP=cl.exe | |||
RSC=rc.exe | |||
!IF "$(CFG)" == "occlude - Win32 Release" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 0 | |||
# PROP BASE Output_Dir "Release" | |||
# PROP BASE Intermediate_Dir "Release" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 0 | |||
# PROP Output_Dir "Release" | |||
# PROP Intermediate_Dir "Release" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD BASE RSC /l 0x409 /d "NDEBUG" | |||
# ADD RSC /l 0x409 /d "NDEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /machine:I386 /out:"../occlude.exe" | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ELSEIF "$(CFG)" == "occlude - Win32 Debug" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 1 | |||
# PROP BASE Output_Dir "Debug" | |||
# PROP BASE Intermediate_Dir "Debug" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 1 | |||
# PROP Output_Dir "Debug" | |||
# PROP Intermediate_Dir "Debug" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD BASE RSC /l 0x409 /d "_DEBUG" | |||
# ADD RSC /l 0x409 /d "_DEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /debug /machine:I386 /out:"../occlude.exe" /pdbtype:sept | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ENDIF | |||
# Begin Target | |||
# Name "occlude - Win32 Release" | |||
# Name "occlude - Win32 Debug" | |||
# Begin Group "Source Files" | |||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" | |||
# Begin Source File | |||
SOURCE=..\occlude.c | |||
# End Source File | |||
# End Group | |||
# Begin Group "Header Files" | |||
# PROP Default_Filter "h;hpp;hxx;hm;inl" | |||
# End Group | |||
# Begin Group "Resource Files" | |||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | |||
# End Group | |||
# End Target | |||
# End Project |
@@ -1,112 +1,112 @@ | |||
# Microsoft Developer Studio Project File - Name="osdemo" - Package Owner=<4> | |||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 | |||
# ** DO NOT EDIT ** | |||
# TARGTYPE "Win32 (x86) Console Application" 0x0103 | |||
CFG=osdemo - Win32 Debug | |||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, | |||
!MESSAGE use the Export Makefile command and run | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "osdemo.mak". | |||
!MESSAGE | |||
!MESSAGE You can specify a configuration when running NMAKE | |||
!MESSAGE by defining the macro CFG on the command line. For example: | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "osdemo.mak" CFG="osdemo - Win32 Debug" | |||
!MESSAGE | |||
!MESSAGE Possible choices for configuration are: | |||
!MESSAGE | |||
!MESSAGE "osdemo - Win32 Release" (based on "Win32 (x86) Console Application") | |||
!MESSAGE "osdemo - Win32 Debug" (based on "Win32 (x86) Console Application") | |||
!MESSAGE | |||
# Begin Project | |||
# PROP AllowPerConfigDependencies 0 | |||
# PROP Scc_ProjName "" | |||
# PROP Scc_LocalPath "" | |||
CPP=cl.exe | |||
RSC=rc.exe | |||
!IF "$(CFG)" == "osdemo - Win32 Release" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 0 | |||
# PROP BASE Output_Dir "Release" | |||
# PROP BASE Intermediate_Dir "Release" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 0 | |||
# PROP Output_Dir "Release" | |||
# PROP Intermediate_Dir "Release" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD BASE RSC /l 0x409 /d "NDEBUG" | |||
# ADD RSC /l 0x409 /d "NDEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB ../../../lib/OSMESA32.LIB /nologo /subsystem:console /machine:I386 /out:"../osdemo.exe" | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ELSEIF "$(CFG)" == "osdemo - Win32 Debug" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 1 | |||
# PROP BASE Output_Dir "Debug" | |||
# PROP BASE Intermediate_Dir "Debug" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 1 | |||
# PROP Output_Dir "Debug" | |||
# PROP Intermediate_Dir "Debug" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD BASE RSC /l 0x409 /d "_DEBUG" | |||
# ADD RSC /l 0x409 /d "_DEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB ../../../lib/OSMESA32.LIB /nologo /subsystem:console /debug /machine:I386 /out:"../osdemo.exe" /pdbtype:sept | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ENDIF | |||
# Begin Target | |||
# Name "osdemo - Win32 Release" | |||
# Name "osdemo - Win32 Debug" | |||
# Begin Group "Source Files" | |||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" | |||
# Begin Source File | |||
SOURCE=..\osdemo.c | |||
# End Source File | |||
# End Group | |||
# Begin Group "Header Files" | |||
# PROP Default_Filter "h;hpp;hxx;hm;inl" | |||
# End Group | |||
# Begin Group "Resource Files" | |||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | |||
# End Group | |||
# End Target | |||
# End Project | |||
# Microsoft Developer Studio Project File - Name="osdemo" - Package Owner=<4> | |||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 | |||
# ** DO NOT EDIT ** | |||
# TARGTYPE "Win32 (x86) Console Application" 0x0103 | |||
CFG=osdemo - Win32 Debug | |||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, | |||
!MESSAGE use the Export Makefile command and run | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "osdemo.mak". | |||
!MESSAGE | |||
!MESSAGE You can specify a configuration when running NMAKE | |||
!MESSAGE by defining the macro CFG on the command line. For example: | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "osdemo.mak" CFG="osdemo - Win32 Debug" | |||
!MESSAGE | |||
!MESSAGE Possible choices for configuration are: | |||
!MESSAGE | |||
!MESSAGE "osdemo - Win32 Release" (based on "Win32 (x86) Console Application") | |||
!MESSAGE "osdemo - Win32 Debug" (based on "Win32 (x86) Console Application") | |||
!MESSAGE | |||
# Begin Project | |||
# PROP AllowPerConfigDependencies 0 | |||
# PROP Scc_ProjName "" | |||
# PROP Scc_LocalPath "" | |||
CPP=cl.exe | |||
RSC=rc.exe | |||
!IF "$(CFG)" == "osdemo - Win32 Release" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 0 | |||
# PROP BASE Output_Dir "Release" | |||
# PROP BASE Intermediate_Dir "Release" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 0 | |||
# PROP Output_Dir "Release" | |||
# PROP Intermediate_Dir "Release" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD BASE RSC /l 0x409 /d "NDEBUG" | |||
# ADD RSC /l 0x409 /d "NDEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB ../../../lib/OSMESA32.LIB /nologo /subsystem:console /machine:I386 /out:"../osdemo.exe" | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ELSEIF "$(CFG)" == "osdemo - Win32 Debug" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 1 | |||
# PROP BASE Output_Dir "Debug" | |||
# PROP BASE Intermediate_Dir "Debug" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 1 | |||
# PROP Output_Dir "Debug" | |||
# PROP Intermediate_Dir "Debug" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD BASE RSC /l 0x409 /d "_DEBUG" | |||
# ADD RSC /l 0x409 /d "_DEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB ../../../lib/OSMESA32.LIB /nologo /subsystem:console /debug /machine:I386 /out:"../osdemo.exe" /pdbtype:sept | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ENDIF | |||
# Begin Target | |||
# Name "osdemo - Win32 Release" | |||
# Name "osdemo - Win32 Debug" | |||
# Begin Group "Source Files" | |||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" | |||
# Begin Source File | |||
SOURCE=..\osdemo.c | |||
# End Source File | |||
# End Group | |||
# Begin Group "Header Files" | |||
# PROP Default_Filter "h;hpp;hxx;hm;inl" | |||
# End Group | |||
# Begin Group "Resource Files" | |||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | |||
# End Group | |||
# End Target | |||
# End Project |
@@ -1,112 +1,112 @@ | |||
# Microsoft Developer Studio Project File - Name="paltex" - Package Owner=<4> | |||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 | |||
# ** DO NOT EDIT ** | |||
# TARGTYPE "Win32 (x86) Console Application" 0x0103 | |||
CFG=paltex - Win32 Debug | |||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, | |||
!MESSAGE use the Export Makefile command and run | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "paltex.mak". | |||
!MESSAGE | |||
!MESSAGE You can specify a configuration when running NMAKE | |||
!MESSAGE by defining the macro CFG on the command line. For example: | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "paltex.mak" CFG="paltex - Win32 Debug" | |||
!MESSAGE | |||
!MESSAGE Possible choices for configuration are: | |||
!MESSAGE | |||
!MESSAGE "paltex - Win32 Release" (based on "Win32 (x86) Console Application") | |||
!MESSAGE "paltex - Win32 Debug" (based on "Win32 (x86) Console Application") | |||
!MESSAGE | |||
# Begin Project | |||
# PROP AllowPerConfigDependencies 0 | |||
# PROP Scc_ProjName "" | |||
# PROP Scc_LocalPath "" | |||
CPP=cl.exe | |||
RSC=rc.exe | |||
!IF "$(CFG)" == "paltex - Win32 Release" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 0 | |||
# PROP BASE Output_Dir "Release" | |||
# PROP BASE Intermediate_Dir "Release" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 0 | |||
# PROP Output_Dir "Release" | |||
# PROP Intermediate_Dir "Release" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD BASE RSC /l 0x409 /d "NDEBUG" | |||
# ADD RSC /l 0x409 /d "NDEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /machine:I386 /out:"../paltex.exe" | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ELSEIF "$(CFG)" == "paltex - Win32 Debug" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 1 | |||
# PROP BASE Output_Dir "Debug" | |||
# PROP BASE Intermediate_Dir "Debug" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 1 | |||
# PROP Output_Dir "Debug" | |||
# PROP Intermediate_Dir "Debug" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD BASE RSC /l 0x409 /d "_DEBUG" | |||
# ADD RSC /l 0x409 /d "_DEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /debug /machine:I386 /out:"../paltex.exe" /pdbtype:sept | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ENDIF | |||
# Begin Target | |||
# Name "paltex - Win32 Release" | |||
# Name "paltex - Win32 Debug" | |||
# Begin Group "Source Files" | |||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" | |||
# Begin Source File | |||
SOURCE=..\paltex.c | |||
# End Source File | |||
# End Group | |||
# Begin Group "Header Files" | |||
# PROP Default_Filter "h;hpp;hxx;hm;inl" | |||
# End Group | |||
# Begin Group "Resource Files" | |||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | |||
# End Group | |||
# End Target | |||
# End Project | |||
# Microsoft Developer Studio Project File - Name="paltex" - Package Owner=<4> | |||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 | |||
# ** DO NOT EDIT ** | |||
# TARGTYPE "Win32 (x86) Console Application" 0x0103 | |||
CFG=paltex - Win32 Debug | |||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, | |||
!MESSAGE use the Export Makefile command and run | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "paltex.mak". | |||
!MESSAGE | |||
!MESSAGE You can specify a configuration when running NMAKE | |||
!MESSAGE by defining the macro CFG on the command line. For example: | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "paltex.mak" CFG="paltex - Win32 Debug" | |||
!MESSAGE | |||
!MESSAGE Possible choices for configuration are: | |||
!MESSAGE | |||
!MESSAGE "paltex - Win32 Release" (based on "Win32 (x86) Console Application") | |||
!MESSAGE "paltex - Win32 Debug" (based on "Win32 (x86) Console Application") | |||
!MESSAGE | |||
# Begin Project | |||
# PROP AllowPerConfigDependencies 0 | |||
# PROP Scc_ProjName "" | |||
# PROP Scc_LocalPath "" | |||
CPP=cl.exe | |||
RSC=rc.exe | |||
!IF "$(CFG)" == "paltex - Win32 Release" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 0 | |||
# PROP BASE Output_Dir "Release" | |||
# PROP BASE Intermediate_Dir "Release" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 0 | |||
# PROP Output_Dir "Release" | |||
# PROP Intermediate_Dir "Release" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD CPP /nologo /W3 /GX /O2 /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD BASE RSC /l 0x409 /d "NDEBUG" | |||
# ADD RSC /l 0x409 /d "NDEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /machine:I386 /out:"../paltex.exe" | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ELSEIF "$(CFG)" == "paltex - Win32 Debug" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 1 | |||
# PROP BASE Output_Dir "Debug" | |||
# PROP BASE Intermediate_Dir "Debug" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 1 | |||
# PROP Output_Dir "Debug" | |||
# PROP Intermediate_Dir "Debug" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD BASE RSC /l 0x409 /d "_DEBUG" | |||
# ADD RSC /l 0x409 /d "_DEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /debug /machine:I386 /out:"../paltex.exe" /pdbtype:sept | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ENDIF | |||
# Begin Target | |||
# Name "paltex - Win32 Release" | |||
# Name "paltex - Win32 Debug" | |||
# Begin Group "Source Files" | |||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" | |||
# Begin Source File | |||
SOURCE=..\paltex.c | |||
# End Source File | |||
# End Group | |||
# Begin Group "Header Files" | |||
# PROP Default_Filter "h;hpp;hxx;hm;inl" | |||
# End Group | |||
# Begin Group "Resource Files" | |||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | |||
# End Group | |||
# End Target | |||
# End Project |
@@ -1,112 +1,112 @@ | |||
# Microsoft Developer Studio Project File - Name="pixeltex" - Package Owner=<4> | |||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 | |||
# ** DO NOT EDIT ** | |||
# TARGTYPE "Win32 (x86) Console Application" 0x0103 | |||
CFG=pixeltex - Win32 Debug | |||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, | |||
!MESSAGE use the Export Makefile command and run | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "pixeltex.mak". | |||
!MESSAGE | |||
!MESSAGE You can specify a configuration when running NMAKE | |||
!MESSAGE by defining the macro CFG on the command line. For example: | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "pixeltex.mak" CFG="pixeltex - Win32 Debug" | |||
!MESSAGE | |||
!MESSAGE Possible choices for configuration are: | |||
!MESSAGE | |||
!MESSAGE "pixeltex - Win32 Release" (based on "Win32 (x86) Console Application") | |||
!MESSAGE "pixeltex - Win32 Debug" (based on "Win32 (x86) Console Application") | |||
!MESSAGE | |||
# Begin Project | |||
# PROP AllowPerConfigDependencies 0 | |||
# PROP Scc_ProjName "" | |||
# PROP Scc_LocalPath "" | |||
CPP=cl.exe | |||
RSC=rc.exe | |||
!IF "$(CFG)" == "pixeltex - Win32 Release" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 0 | |||
# PROP BASE Output_Dir "Release" | |||
# PROP BASE Intermediate_Dir "Release" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 0 | |||
# PROP Output_Dir "Release" | |||
# PROP Intermediate_Dir "Release" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD CPP /nologo /W3 /GX /O2 /I "../../util" /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD BASE RSC /l 0x409 /d "NDEBUG" | |||
# ADD RSC /l 0x409 /d "NDEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /machine:I386 /out:"../pixeltex.exe" | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ELSEIF "$(CFG)" == "pixeltex - Win32 Debug" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 1 | |||
# PROP BASE Output_Dir "Debug" | |||
# PROP BASE Intermediate_Dir "Debug" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 1 | |||
# PROP Output_Dir "Debug" | |||
# PROP Intermediate_Dir "Debug" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../util" /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD BASE RSC /l 0x409 /d "_DEBUG" | |||
# ADD RSC /l 0x409 /d "_DEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /debug /machine:I386 /out:"../pixeltex.exe" /pdbtype:sept | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ENDIF | |||
# Begin Target | |||
# Name "pixeltex - Win32 Release" | |||
# Name "pixeltex - Win32 Debug" | |||
# Begin Group "Source Files" | |||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" | |||
# Begin Source File | |||
SOURCE=..\pixeltex.c | |||
# End Source File | |||
# End Group | |||
# Begin Group "Header Files" | |||
# PROP Default_Filter "h;hpp;hxx;hm;inl" | |||
# End Group | |||
# Begin Group "Resource Files" | |||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | |||
# End Group | |||
# End Target | |||
# End Project | |||
# Microsoft Developer Studio Project File - Name="pixeltex" - Package Owner=<4> | |||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 | |||
# ** DO NOT EDIT ** | |||
# TARGTYPE "Win32 (x86) Console Application" 0x0103 | |||
CFG=pixeltex - Win32 Debug | |||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, | |||
!MESSAGE use the Export Makefile command and run | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "pixeltex.mak". | |||
!MESSAGE | |||
!MESSAGE You can specify a configuration when running NMAKE | |||
!MESSAGE by defining the macro CFG on the command line. For example: | |||
!MESSAGE | |||
!MESSAGE NMAKE /f "pixeltex.mak" CFG="pixeltex - Win32 Debug" | |||
!MESSAGE | |||
!MESSAGE Possible choices for configuration are: | |||
!MESSAGE | |||
!MESSAGE "pixeltex - Win32 Release" (based on "Win32 (x86) Console Application") | |||
!MESSAGE "pixeltex - Win32 Debug" (based on "Win32 (x86) Console Application") | |||
!MESSAGE | |||
# Begin Project | |||
# PROP AllowPerConfigDependencies 0 | |||
# PROP Scc_ProjName "" | |||
# PROP Scc_LocalPath "" | |||
CPP=cl.exe | |||
RSC=rc.exe | |||
!IF "$(CFG)" == "pixeltex - Win32 Release" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 0 | |||
# PROP BASE Output_Dir "Release" | |||
# PROP BASE Intermediate_Dir "Release" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 0 | |||
# PROP Output_Dir "Release" | |||
# PROP Intermediate_Dir "Release" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD CPP /nologo /W3 /GX /O2 /I "../../util" /I "../../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c | |||
# ADD BASE RSC /l 0x409 /d "NDEBUG" | |||
# ADD RSC /l 0x409 /d "NDEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /machine:I386 /out:"../pixeltex.exe" | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ELSEIF "$(CFG)" == "pixeltex - Win32 Debug" | |||
# PROP BASE Use_MFC 0 | |||
# PROP BASE Use_Debug_Libraries 1 | |||
# PROP BASE Output_Dir "Debug" | |||
# PROP BASE Intermediate_Dir "Debug" | |||
# PROP BASE Target_Dir "" | |||
# PROP Use_MFC 0 | |||
# PROP Use_Debug_Libraries 1 | |||
# PROP Output_Dir "Debug" | |||
# PROP Intermediate_Dir "Debug" | |||
# PROP Ignore_Export_Lib 0 | |||
# PROP Target_Dir "" | |||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../util" /I "../../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |||
# ADD BASE RSC /l 0x409 /d "_DEBUG" | |||
# ADD RSC /l 0x409 /d "_DEBUG" | |||
BSC32=bscmake.exe | |||
# ADD BASE BSC32 /nologo | |||
# ADD BSC32 /nologo | |||
LINK32=link.exe | |||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept | |||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../../../lib/GLUT32.LIB ../../../lib/GLU32.LIB ../../../lib/OPENGL32.LIB /nologo /subsystem:console /debug /machine:I386 /out:"../pixeltex.exe" /pdbtype:sept | |||
# Begin Special Build Tool | |||
SOURCE="$(InputPath)" | |||
PostBuild_Desc=Copy DLLs | |||
PostBuild_Cmds=copy ..\..\..\lib\*.dll .. | |||
# End Special Build Tool | |||
!ENDIF | |||
# Begin Target | |||
# Name "pixeltex - Win32 Release" | |||
# Name "pixeltex - Win32 Debug" | |||
# Begin Group "Source Files" | |||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" | |||
# Begin Source File | |||
SOURCE=..\pixeltex.c | |||
# End Source File | |||
# End Group | |||
# Begin Group "Header Files" | |||
# PROP Default_Filter "h;hpp;hxx;hm;inl" | |||
# End Group | |||
# Begin Group "Resource Files" | |||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | |||
# End Group | |||
# End Target | |||
# End Project |