This code is not used if optimized assembly stubs are available (e.g., using x86/glapi_x86.S on IA32 or sparc/glapi_sparc.S on SPARC).
#include "main/glheader.h"
#include "main/compiler.h"
#include "glapi/glapi.h"
#include "glapi/glapitable.h"
#include "glapi/glthread.h"
#include "glapi/dispatch.h"
#include "glapi/glapitemp.h"
Defines | |
#define | KEYWORD1 PUBLIC |
#define | KEYWORD2 GLAPIENTRY |
#define | NAME(func) gl##func |
#define | DISPATCH(FUNC, ARGS, MESSAGE) CALL_ ## FUNC(GET_DISPATCH(), ARGS); |
#define | RETURN_DISPATCH(FUNC, ARGS, MESSAGE) return CALL_ ## FUNC(GET_DISPATCH(), ARGS); |
#define DISPATCH | ( | FUNC, | |||
ARGS, | |||||
MESSAGE | ) | CALL_ ## FUNC(GET_DISPATCH(), ARGS); |
#define KEYWORD1 PUBLIC |
#define KEYWORD2 GLAPIENTRY |
#define NAME | ( | func | ) | gl##func |
#define RETURN_DISPATCH | ( | FUNC, | |||
ARGS, | |||||
MESSAGE | ) | return CALL_ ## FUNC(GET_DISPATCH(), ARGS); |