#include "glheader.h"
#include "imports.h"
#include "bufferobj.h"
#include "context.h"
#include "readpix.h"
#include "framebuffer.h"
#include "image.h"
#include "state.h"
Functions | |
GLboolean | _mesa_error_check_format_type (GLcontext *ctx, GLenum format, GLenum type, GLboolean drawing) |
Do error checking of the format/type parameters to glReadPixels and glDrawPixels. | |
void GLAPIENTRY | _mesa_ReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels) |
GLboolean _mesa_error_check_format_type | ( | GLcontext * | ctx, | |
GLenum | format, | |||
GLenum | type, | |||
GLboolean | drawing | |||
) |
Do error checking of the format/type parameters to glReadPixels and glDrawPixels.
drawing | if GL_TRUE do checking for DrawPixels, else do checking for ReadPixels. |
void GLAPIENTRY _mesa_ReadPixels | ( | GLint | x, | |
GLint | y, | |||
GLsizei | width, | |||
GLsizei | height, | |||
GLenum | format, | |||
GLenum | type, | |||
GLvoid * | pixels | |||
) |