46#include FT_INTERNAL_DEBUG_H
49#ifdef FT_DEBUG_LEVEL_ERROR
54 FT_Message(
const char*
fmt,
69 FT_Panic(
const char*
fmt,
101#ifdef FT_DEBUG_LEVEL_TRACE
104 int ft_trace_levels[trace_count];
108#define FT_TRACE_DEF( x ) #x ,
110 static const char* ft_trace_toggles[trace_count + 1] =
112#include FT_INTERNAL_TRACE_H
137 return ft_trace_toggles[
idx];
164 const char* ft2_debug =
ft_getenv(
"FT2_DEBUG" );
169 const char*
p = ft2_debug;
176 if ( *
p ==
' ' || *
p ==
'\t' || *
p ==
',' || *
p ==
';' || *
p ==
'=' )
181 while ( *
p && *
p !=
':' )
187 if ( *
p ==
':' &&
p >
q )
193 for (
n = 0;
n < trace_count;
n++ )
195 const char* toggle = ft_trace_toggles[
n];
198 for (
i = 0;
i <
len;
i++ )
200 if ( toggle[
i] !=
q[
i] )
204 if (
i ==
len && toggle[
i] == 0 )
216 if ( level < 0 || level > 7 )
220 if ( found >= 0 &&
level >= 0 )
222 if ( found == trace_any )
225 for (
n = 0;
n < trace_count;
n++ )
226 ft_trace_levels[
n] =
level;
229 ft_trace_levels[found] =
level;
FT_Trace_Get_Name(FT_Int idx)
GLdouble GLdouble GLdouble GLdouble q
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
_Check_return_opt_ _CRTIMP int __cdecl vfprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format, va_list _ArgList)
void int int ULONGLONG int va_list * ap