#include "main/glheader.h"
#include "main/context.h"
#include "main/scissor.h"
Functions | |
void GLAPIENTRY | _mesa_Scissor (GLint x, GLint y, GLsizei width, GLsizei height) |
Called via glScissor. | |
void | _mesa_set_scissor (GLcontext *ctx, GLint x, GLint y, GLsizei width, GLsizei height) |
Define the scissor box. | |
void | _mesa_init_scissor (GLcontext *ctx) |
Initialize the context's scissor state. |
void _mesa_init_scissor | ( | GLcontext * | ctx | ) |
Initialize the context's scissor state.
ctx | the GL context. |
void GLAPIENTRY _mesa_Scissor | ( | GLint | x, | |
GLint | y, | |||
GLsizei | width, | |||
GLsizei | height | |||
) |
Called via glScissor.
void _mesa_set_scissor | ( | GLcontext * | ctx, | |
GLint | x, | |||
GLint | y, | |||
GLsizei | width, | |||
GLsizei | height | |||
) |
Define the scissor box.
x,y | coordinates of the scissor box lower-left corner. | |
width | width of the scissor box. | |
height | height of the scissor box. |