#
#  GLT flags file
#
#  Indicates flags (or values) to be associated with a given class name and 
#  function regexp.  Class names are in square brackets.  Function regexps
#  follow the class name, with optional values after each regexp.
#
#  Kekoa Proudfoot
#  4/14/98
#

[masked]
# Ignored, since these are hard coded into the player for now
glBegin
glClear
glEnd
glVertex[234][dfis]v?

[ignore]
gl.*SGI[XS]?

[noencode]
# Functions that return things
glAreTexturesResident(EXT)?
glFeedbackBuffer
glSelectBuffer
glGen.*
glGet.*
glIs.*
glReadBuffer
glReadPixels
glRenderMode

[noencode]
# Functions that have to do with vertex arrays
# Even though these functions are marked as noencode, they are still traced
# This is because these have specialencode clauses in trace/glimpl.c.sp
# When traced, these are converted to Vertex, Normal, Color, etc. as needed
glArrayElement(EXT)?
gl(Dis|En)ableClientState
glDrawArrays(EXT)?
glDrawElements
glInterleavedArrays
gl.*Pointer(EXT)?

[noencode]
# Functions that are obscure
glBitmap
glEval.*
glMap.*
glPixelMap.*
glSeparableFilter2DEXT
glTexGen.*
glTexImage[13]D(EXT)?
glTexSubImage[13]D(EXT)?
gl.*Convolution.*EXT

[noencode]
# More functions that are obscure
glBlend(Color|Equation)EXT?
glCopyTex(Sub)?Image[123]D(EXT)?
#glEdgeFlagv?
#glHint
glHistogramEXT
glInitNames
gl(Line|Polygon)Stipple
gl(Load|Push|Pop)Name
glLogicOp
glMinmaxEXT
glPassThrough
gl(Push|Pop)ClientAttrib
glReset(Histogram|Minmax)EXT

[notopengl]
glt.*

[lengths]
# Fixed lengths
gl.*1([df]|u?[bis])v 1
gl.*2([df]|u?[bis])v 2
gl.*3([df]|u?[bis])v 3
gl.*4([df]|u?[bis])v 4
glClipPlane 4
glEdgeFlagv 1
glIndex([dfis]|ub)v 1
gl(Load|Mult)Matrix[fd] 16
glPolygonStipple 128
glRect[dfis]v 2

[lengths]
# Maximum lengths
glFog[fi]v 4
glLight[fi]v 4
glLightModel[fi]v 4
glMaterial[fi]v 4
glTexEnv[fi]v 4
glTexParameter[fi]v 4

[structalign]
.* 4

[maxvoidsize]
# Max size of GLvoid * data, for alignment
# A value of 8 means a GLvoid * pointer can point to doubles
# A value of 4 means a GLvoid * pointer only points to ints or smaller
# Be conservative with the default value
.* 8
glCallLists 4
gl(Sub)?TexImage2D 4
glDrawPixels 4
