#include "glheader.h"
#include "blend.h"
#include "context.h"
#include "enums.h"
#include "macros.h"
#include "mtypes.h"
#include "glapi/glapitable.h"
Functions | |
void GLAPIENTRY | _mesa_BlendFunc (GLenum sfactor, GLenum dfactor) |
Specify the blending operation. | |
void GLAPIENTRY | _mesa_BlendFuncSeparateEXT (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorA, GLenum dfactorA) |
Process GL_EXT_blend_func_separate(). | |
static GLboolean | _mesa_validate_blend_equation (GLcontext *ctx, GLenum mode, GLboolean is_separate) |
void GLAPIENTRY | _mesa_BlendEquation (GLenum mode) |
void GLAPIENTRY | _mesa_BlendEquationSeparateEXT (GLenum modeRGB, GLenum modeA) |
void GLAPIENTRY | _mesa_BlendColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) |
Set the blending color. | |
void GLAPIENTRY | _mesa_AlphaFunc (GLenum func, GLclampf ref) |
Specify the alpha test function. | |
void GLAPIENTRY | _mesa_LogicOp (GLenum opcode) |
Specify a logic pixel operation for color index rendering. | |
void GLAPIENTRY | _mesa_IndexMask (GLuint mask) |
void GLAPIENTRY | _mesa_ColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) |
Enable or disable writing of frame buffer color components. | |
void GLAPIENTRY | _mesa_ClampColorARB (GLenum target, GLenum clamp) |
Initialization | |
void | _mesa_init_color (GLcontext *ctx) |
Initialization of the context's Color attribute group. |
void GLAPIENTRY _mesa_AlphaFunc | ( | GLenum | func, | |
GLclampf | ref | |||
) |
Specify the alpha test function.
func | alpha comparison function. | |
ref | reference value. |
void GLAPIENTRY _mesa_BlendColor | ( | GLclampf | red, | |
GLclampf | green, | |||
GLclampf | blue, | |||
GLclampf | alpha | |||
) |
Set the blending color.
red | red color component. | |
green | green color component. | |
blue | blue color component. | |
alpha | alpha color component. |
void GLAPIENTRY _mesa_BlendEquation | ( | GLenum | mode | ) |
void GLAPIENTRY _mesa_BlendEquationSeparateEXT | ( | GLenum | modeRGB, | |
GLenum | modeA | |||
) |
void GLAPIENTRY _mesa_BlendFunc | ( | GLenum | sfactor, | |
GLenum | dfactor | |||
) |
Specify the blending operation.
sfactor | source factor operator. | |
dfactor | destination factor operator. |
void GLAPIENTRY _mesa_BlendFuncSeparateEXT | ( | GLenum | sfactorRGB, | |
GLenum | dfactorRGB, | |||
GLenum | sfactorA, | |||
GLenum | dfactorA | |||
) |
Process GL_EXT_blend_func_separate().
sfactorRGB | RGB source factor operator. | |
dfactorRGB | RGB destination factor operator. | |
sfactorA | alpha source factor operator. | |
dfactorA | alpha destination factor operator. |
void GLAPIENTRY _mesa_ClampColorARB | ( | GLenum | target, | |
GLenum | clamp | |||
) |
void GLAPIENTRY _mesa_ColorMask | ( | GLboolean | red, | |
GLboolean | green, | |||
GLboolean | blue, | |||
GLboolean | alpha | |||
) |
Enable or disable writing of frame buffer color components.
red | whether to mask writing of the red color component. | |
green | whether to mask writing of the green color component. | |
blue | whether to mask writing of the blue color component. | |
alpha | whether to mask writing of the alpha color component. |
void GLAPIENTRY _mesa_IndexMask | ( | GLuint | mask | ) |
void _mesa_init_color | ( | GLcontext * | ctx | ) |
Initialization of the context's Color attribute group.
ctx | GL context. |
void GLAPIENTRY _mesa_LogicOp | ( | GLenum | opcode | ) |
Specify a logic pixel operation for color index rendering.
opcode | operation. |
opcode
is a valid enum and updates gl_colorbuffer_attrib::LogicOp. On a change, flushes the vertices and notifies the driver via the dd_function_table::LogicOpcode callback.
static GLboolean _mesa_validate_blend_equation | ( | GLcontext * | ctx, | |
GLenum | mode, | |||
GLboolean | is_separate | |||
) | [static] |