Defines |
| #define | MAXSTRING 4000 /* for vsnprintf() */ |
Functions |
| void | _mesa_exit (int status) |
|
| void * | _mesa_malloc (size_t bytes) |
| void * | _mesa_calloc (size_t bytes) |
| void | _mesa_free (void *ptr) |
| void * | _mesa_align_malloc (size_t bytes, unsigned long alignment) |
| void * | _mesa_align_calloc (size_t bytes, unsigned long alignment) |
| void | _mesa_align_free (void *ptr) |
| void * | _mesa_align_realloc (void *oldBuffer, size_t oldSize, size_t newSize, unsigned long alignment) |
| void * | _mesa_realloc (void *oldBuffer, size_t oldSize, size_t newSize) |
| void * | _mesa_memcpy (void *dest, const void *src, size_t n) |
| void | _mesa_memset (void *dst, int val, size_t n) |
| void | _mesa_memset16 (unsigned short *dst, unsigned short val, size_t n) |
| void | _mesa_bzero (void *dst, size_t n) |
| int | _mesa_memcmp (const void *s1, const void *s2, size_t n) |
|
| void * | _mesa_bsearch (const void *key, const void *base, size_t nmemb, size_t size, int(*compar)(const void *, const void *)) |
|
| char * | _mesa_getenv (const char *var) |
|
| char * | _mesa_strstr (const char *haystack, const char *needle) |
| char * | _mesa_strncat (char *dest, const char *src, size_t n) |
| char * | _mesa_strcpy (char *dest, const char *src) |
| char * | _mesa_strncpy (char *dest, const char *src, size_t n) |
| size_t | _mesa_strlen (const char *s) |
| int | _mesa_strcmp (const char *s1, const char *s2) |
| int | _mesa_strncmp (const char *s1, const char *s2, size_t n) |
| char * | _mesa_strdup (const char *s) |
| int | _mesa_atoi (const char *s) |
| double | _mesa_strtod (const char *s, char **end) |
|
| int | _mesa_sprintf (char *str, const char *fmt,...) |
| int | _mesa_snprintf (char *str, size_t size, const char *fmt,...) |
| void | _mesa_printf (const char *fmtString,...) |
| void | _mesa_fprintf (FILE *f, const char *fmtString,...) |
| int | _mesa_vsprintf (char *str, const char *fmt, va_list args) |
|
| void | _mesa_warning (GLcontext *ctx, const char *fmtString,...) |
| void | _mesa_problem (const GLcontext *ctx, const char *fmtString,...) |
| void | _mesa_error (GLcontext *ctx, GLenum error, const char *fmtString,...) |
| void | _mesa_debug (const GLcontext *ctx, const char *fmtString,...) |
Math |
| static short | sqrttab [0x100] |
| double | _mesa_sin (double a) |
| float | _mesa_sinf (float a) |
| double | _mesa_cos (double a) |
| float | _mesa_asinf (float x) |
| float | _mesa_atanf (float x) |
| double | _mesa_sqrtd (double x) |
| void | _mesa_init_sqrt_table (void) |
| float | _mesa_sqrtf (float x) |
| float | _mesa_inv_sqrtf (float n) |
| double | _mesa_pow (double x, double y) |
| int | _mesa_ffs (int i) |
| int | _mesa_ffsll (long long val) |
| unsigned int | _mesa_bitcount (unsigned int n) |
| GLhalfARB | _mesa_float_to_half (float val) |
| float | _mesa_half_to_float (GLhalfARB val) |