core | glapi | vbo | math | shader | swrast | swrast_setup | tnl | tnl_dd

cpuinfo.c File Reference

#include "main/imports.h"
#include "main/cpuinfo.h"

Defines

#define MAX_STRING   50

Functions

void _mesa_get_cpu_features (void)
 This function should be called before the various "cpu_has_foo" macros are used.
char * _mesa_get_cpu_string (void)
 Return a string describing the CPU architexture and extensions that Mesa is using (such as SSE or Altivec).


Define Documentation

#define MAX_STRING   50


Function Documentation

void _mesa_get_cpu_features ( void   ) 

This function should be called before the various "cpu_has_foo" macros are used.

char* _mesa_get_cpu_string ( void   ) 

Return a string describing the CPU architexture and extensions that Mesa is using (such as SSE or Altivec).

Returns:
information string, free it with _mesa_free()


Generated on Sun Sep 27 06:47:45 2009 for Mesa Main by  doxygen 1.5.4