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

histogram.c File Reference

#include "glheader.h"
#include "bufferobj.h"
#include "colormac.h"
#include "context.h"
#include "image.h"
#include "histogram.h"

Defines

#define PACK_MACRO(TYPE)

Functions

static void pack_histogram (GLcontext *ctx, GLuint n, CONST GLuint rgba[][4], GLenum format, GLenum type, GLvoid *destination, const struct gl_pixelstore_attrib *packing)
static GLint base_histogram_format (GLenum format)
void GLAPIENTRY _mesa_GetMinmax (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values)
void GLAPIENTRY _mesa_GetHistogram (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values)
void GLAPIENTRY _mesa_GetHistogramParameterfv (GLenum target, GLenum pname, GLfloat *params)
void GLAPIENTRY _mesa_GetHistogramParameteriv (GLenum target, GLenum pname, GLint *params)
void GLAPIENTRY _mesa_GetMinmaxParameterfv (GLenum target, GLenum pname, GLfloat *params)
void GLAPIENTRY _mesa_GetMinmaxParameteriv (GLenum target, GLenum pname, GLint *params)
void GLAPIENTRY _mesa_Histogram (GLenum target, GLsizei width, GLenum internalFormat, GLboolean sink)
void GLAPIENTRY _mesa_Minmax (GLenum target, GLenum internalFormat, GLboolean sink)
void GLAPIENTRY _mesa_ResetHistogram (GLenum target)
void GLAPIENTRY _mesa_ResetMinmax (GLenum target)
void _mesa_init_histogram (GLcontext *ctx)


Define Documentation

#define PACK_MACRO ( TYPE   ) 


Function Documentation

void GLAPIENTRY _mesa_GetHistogram ( GLenum  target,
GLboolean  reset,
GLenum  format,
GLenum  type,
GLvoid *  values 
)

void GLAPIENTRY _mesa_GetHistogramParameterfv ( GLenum  target,
GLenum  pname,
GLfloat *  params 
)

void GLAPIENTRY _mesa_GetHistogramParameteriv ( GLenum  target,
GLenum  pname,
GLint *  params 
)

void GLAPIENTRY _mesa_GetMinmax ( GLenum  target,
GLboolean  reset,
GLenum  format,
GLenum  type,
GLvoid *  values 
)

void GLAPIENTRY _mesa_GetMinmaxParameterfv ( GLenum  target,
GLenum  pname,
GLfloat *  params 
)

void GLAPIENTRY _mesa_GetMinmaxParameteriv ( GLenum  target,
GLenum  pname,
GLint *  params 
)

void GLAPIENTRY _mesa_Histogram ( GLenum  target,
GLsizei  width,
GLenum  internalFormat,
GLboolean  sink 
)

void _mesa_init_histogram ( GLcontext ctx  ) 

void GLAPIENTRY _mesa_Minmax ( GLenum  target,
GLenum  internalFormat,
GLboolean  sink 
)

void GLAPIENTRY _mesa_ResetHistogram ( GLenum  target  ) 

void GLAPIENTRY _mesa_ResetMinmax ( GLenum  target  ) 

static GLint base_histogram_format ( GLenum  format  )  [static]

static void pack_histogram ( GLcontext ctx,
GLuint  n,
CONST GLuint  rgba[][4],
GLenum  format,
GLenum  type,
GLvoid *  destination,
const struct gl_pixelstore_attrib packing 
) [static]


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