Searched defs:EXPAND (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/GuestHost/OpenGL/util/
H A Dcalllists.c10 #define EXPAND(typeEnum, typeCast, increment, value) \ macro
38 EXPAND(GL_BYTE, GLbyte,++,*array);
39 EXPAND(GL_UNSIGNED_BYTE, GLubyte,++,*array);
40 EXPAND(GL_SHORT, GLshort,++,*array);
41 EXPAND(GL_UNSIGNED_SHORT, GLushort,++,*array);
42 EXPAND(GL_INT, GLint,++,*array);
43 EXPAND(GL_UNSIGNED_INT, GLuint,++,*array);
44 EXPAND(GL_FLOAT, GLfloat,++,*array);
46 EXPAND(GL_2_BYTES, GLubyte, +=2, 256*array[0] + array[1]);
47 EXPAND(GL_3_BYTE
[all...]
/vbox/src/VBox/HostServices/SharedOpenGL/dlm/
H A Ddlm.c415 * values correctly. It uses the current value of the EXPAND() macro,
421 EXPAND(GL_BYTE, GLbyte *, *p, p++)\
422 EXPAND(GL_UNSIGNED_BYTE, GLubyte *, *p, p++)\
423 EXPAND(GL_SHORT, GLshort *, *p, p++)\
424 EXPAND(GL_UNSIGNED_SHORT, GLushort *, *p, p++)\
425 EXPAND(GL_INT, GLint *, *p, p++)\
426 EXPAND(GL_FLOAT, GLfloat *, *p, p++)\
427 EXPAND(GL_2_BYTES, unsigned char *, 256*p[0] + p[1], p += 2)\
428 EXPAND(GL_3_BYTES, unsigned char *, 65536*p[0] + 256*p[1] + p[2], p += 3)\
429 EXPAND(GL_4_BYTE
439 #define EXPAND macro
451 #undef EXPAND macro
468 #define EXPAND macro
480 #undef EXPAND macro
[all...]

Completed in 42 milliseconds