[GB.OPENGL]
* BUG: Add more OpenGL constants. git-svn-id: svn://localhost/gambas/trunk@2997 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
405f8f89fe
commit
b065f55995
1 changed files with 51 additions and 51 deletions
|
@ -650,57 +650,57 @@ GB_DESC Cgl[] =
|
|||
/* Scissor box */
|
||||
GB_CONSTANT("GL_SCISSOR_BOX", "i", GL_SCISSOR_BOX),
|
||||
GB_CONSTANT("GL_SCISSOR_TEST", "i", GL_SCISSOR_TEST),
|
||||
#if 0
|
||||
/* Pixel Mode / Transfer */
|
||||
#define GL_MAP_COLOR 0x0D10
|
||||
#define GL_MAP_STENCIL 0x0D11
|
||||
#define GL_INDEX_SHIFT 0x0D12
|
||||
#define GL_INDEX_OFFSET 0x0D13
|
||||
#define GL_RED_SCALE 0x0D14
|
||||
#define GL_RED_BIAS 0x0D15
|
||||
#define GL_GREEN_SCALE 0x0D18
|
||||
#define GL_GREEN_BIAS 0x0D19
|
||||
#define GL_BLUE_SCALE 0x0D1A
|
||||
#define GL_BLUE_BIAS 0x0D1B
|
||||
#define GL_ALPHA_SCALE 0x0D1C
|
||||
#define GL_ALPHA_BIAS 0x0D1D
|
||||
#define GL_DEPTH_SCALE 0x0D1E
|
||||
#define GL_DEPTH_BIAS 0x0D1F
|
||||
#define GL_PIXEL_MAP_S_TO_S_SIZE 0x0CB1
|
||||
#define GL_PIXEL_MAP_I_TO_I_SIZE 0x0CB0
|
||||
#define GL_PIXEL_MAP_I_TO_R_SIZE 0x0CB2
|
||||
#define GL_PIXEL_MAP_I_TO_G_SIZE 0x0CB3
|
||||
#define GL_PIXEL_MAP_I_TO_B_SIZE 0x0CB4
|
||||
#define GL_PIXEL_MAP_I_TO_A_SIZE 0x0CB5
|
||||
#define GL_PIXEL_MAP_R_TO_R_SIZE 0x0CB6
|
||||
#define GL_PIXEL_MAP_G_TO_G_SIZE 0x0CB7
|
||||
#define GL_PIXEL_MAP_B_TO_B_SIZE 0x0CB8
|
||||
#define GL_PIXEL_MAP_A_TO_A_SIZE 0x0CB9
|
||||
#define GL_PIXEL_MAP_S_TO_S 0x0C71
|
||||
#define GL_PIXEL_MAP_I_TO_I 0x0C70
|
||||
#define GL_PIXEL_MAP_I_TO_R 0x0C72
|
||||
#define GL_PIXEL_MAP_I_TO_G 0x0C73
|
||||
#define GL_PIXEL_MAP_I_TO_B 0x0C74
|
||||
#define GL_PIXEL_MAP_I_TO_A 0x0C75
|
||||
#define GL_PIXEL_MAP_R_TO_R 0x0C76
|
||||
#define GL_PIXEL_MAP_G_TO_G 0x0C77
|
||||
#define GL_PIXEL_MAP_B_TO_B 0x0C78
|
||||
#define GL_PIXEL_MAP_A_TO_A 0x0C79
|
||||
#define GL_PACK_ALIGNMENT 0x0D05
|
||||
#define GL_PACK_LSB_FIRST 0x0D01
|
||||
#define GL_PACK_ROW_LENGTH 0x0D02
|
||||
#define GL_PACK_SKIP_PIXELS 0x0D04
|
||||
#define GL_PACK_SKIP_ROWS 0x0D03
|
||||
#define GL_PACK_SWAP_BYTES 0x0D00
|
||||
#define GL_UNPACK_ALIGNMENT 0x0CF5
|
||||
#define GL_UNPACK_LSB_FIRST 0x0CF1
|
||||
#define GL_UNPACK_ROW_LENGTH 0x0CF2
|
||||
#define GL_UNPACK_SKIP_PIXELS 0x0CF4
|
||||
#define GL_UNPACK_SKIP_ROWS 0x0CF3
|
||||
#define GL_UNPACK_SWAP_BYTES 0x0CF0
|
||||
#define GL_ZOOM_X 0x0D16
|
||||
#define GL_ZOOM_Y 0x0D17
|
||||
#endif
|
||||
|
||||
/* Pixel Mode / Transfer */
|
||||
GB_CONSTANT("GL_MAP_COLOR", "i", GL_MAP_COLOR),
|
||||
GB_CONSTANT("GL_MAP_STENCIL", "i", GL_MAP_STENCIL),
|
||||
GB_CONSTANT("GL_INDEX_SHIFT", "i", GL_INDEX_SHIFT),
|
||||
GB_CONSTANT("GL_INDEX_OFFSET", "i", GL_INDEX_OFFSET),
|
||||
GB_CONSTANT("GL_RED_SCALE", "i", GL_RED_SCALE),
|
||||
GB_CONSTANT("GL_RED_BIAS", "i", GL_RED_BIAS),
|
||||
GB_CONSTANT("GL_GREEN_SCALE", "i", GL_GREEN_SCALE),
|
||||
GB_CONSTANT("GL_GREEN_BIAS", "i", GL_GREEN_BIAS),
|
||||
GB_CONSTANT("GL_BLUE_SCALE", "i", GL_BLUE_SCALE),
|
||||
GB_CONSTANT("GL_BLUE_BIAS", "i", GL_BLUE_BIAS),
|
||||
GB_CONSTANT("GL_ALPHA_SCALE", "i", GL_ALPHA_SCALE),
|
||||
GB_CONSTANT("GL_ALPHA_BIAS", "i", GL_ALPHA_BIAS),
|
||||
GB_CONSTANT("GL_DEPTH_SCALE", "i", GL_DEPTH_SCALE),
|
||||
GB_CONSTANT("GL_DEPTH_BIAS", "i", GL_DEPTH_BIAS),
|
||||
GB_CONSTANT("GL_PIXEL_MAP_S_TO_S_SIZE", "i", GL_PIXEL_MAP_S_TO_S_SIZE),
|
||||
GB_CONSTANT("GL_PIXEL_MAP_I_TO_I_SIZE", "i", GL_PIXEL_MAP_I_TO_I_SIZE),
|
||||
GB_CONSTANT("GL_PIXEL_MAP_I_TO_R_SIZE", "i", GL_PIXEL_MAP_I_TO_R_SIZE),
|
||||
GB_CONSTANT("GL_PIXEL_MAP_I_TO_G_SIZE", "i", GL_PIXEL_MAP_I_TO_G_SIZE),
|
||||
GB_CONSTANT("GL_PIXEL_MAP_I_TO_B_SIZE", "i", GL_PIXEL_MAP_I_TO_B_SIZE),
|
||||
GB_CONSTANT("GL_PIXEL_MAP_I_TO_A_SIZE", "i", GL_PIXEL_MAP_I_TO_A_SIZE),
|
||||
GB_CONSTANT("GL_PIXEL_MAP_R_TO_R_SIZE", "i", GL_PIXEL_MAP_R_TO_R_SIZE),
|
||||
GB_CONSTANT("GL_PIXEL_MAP_G_TO_G_SIZE", "i", GL_PIXEL_MAP_G_TO_G_SIZE),
|
||||
GB_CONSTANT("GL_PIXEL_MAP_B_TO_B_SIZE", "i", GL_PIXEL_MAP_B_TO_B_SIZE),
|
||||
GB_CONSTANT("GL_PIXEL_MAP_A_TO_A_SIZE", "i", GL_PIXEL_MAP_A_TO_A_SIZE),
|
||||
GB_CONSTANT("GL_PIXEL_MAP_S_TO_S", "i", GL_PIXEL_MAP_S_TO_S),
|
||||
GB_CONSTANT("GL_PIXEL_MAP_I_TO_I", "i", GL_PIXEL_MAP_I_TO_I),
|
||||
GB_CONSTANT("GL_PIXEL_MAP_I_TO_R", "i", GL_PIXEL_MAP_I_TO_R),
|
||||
GB_CONSTANT("GL_PIXEL_MAP_I_TO_G", "i", GL_PIXEL_MAP_I_TO_G),
|
||||
GB_CONSTANT("GL_PIXEL_MAP_I_TO_B", "i", GL_PIXEL_MAP_I_TO_B),
|
||||
GB_CONSTANT("GL_PIXEL_MAP_I_TO_A", "i", GL_PIXEL_MAP_I_TO_A),
|
||||
GB_CONSTANT("GL_PIXEL_MAP_R_TO_R", "i", GL_PIXEL_MAP_R_TO_R),
|
||||
GB_CONSTANT("GL_PIXEL_MAP_G_TO_G", "i", GL_PIXEL_MAP_G_TO_G),
|
||||
GB_CONSTANT("GL_PIXEL_MAP_B_TO_B", "i", GL_PIXEL_MAP_B_TO_B),
|
||||
GB_CONSTANT("GL_PIXEL_MAP_A_TO_A", "i", GL_PIXEL_MAP_A_TO_A),
|
||||
GB_CONSTANT("GL_PACK_ALIGNMENT", "i", GL_PACK_ALIGNMENT),
|
||||
GB_CONSTANT("GL_PACK_LSB_FIRST", "i", GL_PACK_LSB_FIRST),
|
||||
GB_CONSTANT("GL_PACK_ROW_LENGTH", "i", GL_PACK_ROW_LENGTH),
|
||||
GB_CONSTANT("GL_PACK_SKIP_PIXELS", "i", GL_PACK_SKIP_PIXELS),
|
||||
GB_CONSTANT("GL_PACK_SKIP_ROWS", "i", GL_PACK_SKIP_ROWS),
|
||||
GB_CONSTANT("GL_PACK_SWAP_BYTES", "i", GL_PACK_SWAP_BYTES),
|
||||
GB_CONSTANT("GL_UNPACK_ALIGNMENT", "i", GL_UNPACK_ALIGNMENT),
|
||||
GB_CONSTANT("GL_UNPACK_LSB_FIRST", "i", GL_UNPACK_LSB_FIRST),
|
||||
GB_CONSTANT("GL_UNPACK_ROW_LENGTH", "i", GL_UNPACK_ROW_LENGTH),
|
||||
GB_CONSTANT("GL_UNPACK_SKIP_PIXELS", "i", GL_UNPACK_SKIP_PIXELS),
|
||||
GB_CONSTANT("GL_UNPACK_SKIP_ROWS", "i", GL_UNPACK_SKIP_ROWS),
|
||||
GB_CONSTANT("GL_UNPACK_SWAP_BYTES", "i", GL_UNPACK_SWAP_BYTES),
|
||||
GB_CONSTANT("GL_ZOOM_X", "i", GL_ZOOM_X),
|
||||
GB_CONSTANT("GL_ZOOM_Y", "i", GL_ZOOM_Y),
|
||||
|
||||
/* Texture mapping */
|
||||
GB_CONSTANT("GL_TEXTURE_ENV", "i", GL_TEXTURE_ENV),
|
||||
GB_CONSTANT("GL_TEXTURE_ENV_MODE", "i", GL_TEXTURE_ENV_MODE),
|
||||
|
|
Loading…
Reference in a new issue