/vbox/src/VBox/Additions/x11/x11include/mesa-7.2/src/mesa/main/ |
H A D | lines.h | 43 _mesa_LineStipple( GLint factor, GLushort pattern );
|
H A D | texformat_tmp.h | 270 const GLushort *src = TEXEL_ADDR(GLushort, texImage, i, j, k, 1); 278 const GLushort *depth = (const GLushort *) texel; 279 GLushort *dst = TEXEL_ADDR(GLushort, texImage, i, j, k, 1); 763 const GLushort *src = TEXEL_ADDR(GLushort, texImage, i, j, k, 1); 764 const GLushort s = *src; 776 GLushort *ds [all...] |
H A D | pixel.h | 48 _mesa_GetPixelMapusv( GLenum map, GLushort *values ); 57 _mesa_PixelMapusv(GLenum map, GLsizei mapsize, const GLushort *values );
|
H A D | macros.h | 57 /** Convert GLushort in [0,65536] to GLfloat in [0.0,1.0] */ 92 #define BYTE_TO_USHORT(b) ((b) < 0 ? 0 : ((GLushort) (((b) * 65535) / 255))) 93 #define UBYTE_TO_USHORT(b) (((GLushort) (b) << 8) | (GLushort) (b)) 94 #define SHORT_TO_USHORT(s) ((s) < 0 ? 0 : ((GLushort) (((s) * 65535 / 32767)))) 95 #define INT_TO_USHORT(i) ((i) < 0 ? 0 : ((GLushort) ((i) >> 15))) 96 #define UINT_TO_USHORT(i) ((i) < 0 ? 0 : ((GLushort) ((i) >> 16))) 98 us = ( (GLushort) IROUND( CLAMP((f), 0.0, 1.0) * 65535.0F) ) 100 us = ( (GLushort) IROUND( (f) * 65535.0F) )
|
H A D | config.h | 255 #define DEFAULT_SOFTWARE_DEPTH_TYPE GLushort
|
/vbox/src/VBox/HostServices/SharedOpenGL/unpacker/ |
H A D | unpack_pixelmap.c | 46 GLushort *values; 49 values = (GLushort*) (uintptr_t) READ_DATA(sizeof(int) + 12, GLint); 51 values = DATA_POINTER( sizeof( int ) + 16, GLushort );
|
H A D | unpack_misc.c | 69 GLushort *values; 73 values = DATA_POINTER(12, GLushort);
|
H A D | unpack_program.c | 304 const GLushort *v = DATA_POINTER(4, const GLushort); 344 const GLushort *v = DATA_POINTER(4, const GLushort);
|
/vbox/src/VBox/HostServices/SharedOpenGL/crserverlib/ |
H A D | server_getpixelmap.c | 117 void SERVER_DISPATCH_APIENTRY crServerDispatchGetPixelMapusv( GLenum map, GLushort *values ) 124 pbo_offset = (GLushort*) ((uintptr_t) *((GLint*)values)); 131 int size = sizeof( GLushort ); 133 GLushort *local_values; 136 local_values = (GLushort*)crAlloc( size );
|
H A D | server_lists.c | 152 const GLushort *src = (const GLushort *) lists;
|
/vbox/src/VBox/GuestHost/OpenGL/include/state/ |
H A D | cr_line.h | 29 GLushort pattern;
|
H A D | cr_statetypes.h | 24 #define CR_MAXUSHORT ((GLushort) 0xFFFF) 50 VECTOR(GLushort,GLvectorus); 61 COLOR(GLushort,GLcolorus); 71 TEXCOORD(GLushort,GLtexcoordus);
|
/vbox/src/VBox/GuestHost/OpenGL/util/ |
H A D | calllists.c | 41 EXPAND(GL_UNSIGNED_SHORT, GLushort,++,*array); 67 EXPAND_WITH_DATA(GL_UNSIGNED_SHORT, GLushort,++,*array);
|
/vbox/src/VBox/GuestHost/OpenGL/packer/ |
H A D | pack_pixelmap.c | 58 const GLushort *values)
|
H A D | pack_swap_pixelmap.c | 56 const GLushort *values )
|
H A D | pack_program.c | 446 void PACK_APIENTRY crPackVertexAttrib4NusvARB(GLuint index, const GLushort * v) 454 WRITE_DATA( 4, GLushort, v[0] ); 455 WRITE_DATA( 6, GLushort, v[1] ); 456 WRITE_DATA( 8, GLushort, v[2] ); 457 WRITE_DATA( 10, GLushort, v[3] ); 510 void PACK_APIENTRY crPackVertexAttrib4usvARB(GLuint index, const GLushort * v) 518 WRITE_DATA( 4, GLushort, v[0] ); 519 WRITE_DATA( 6, GLushort, v[1] ); 520 WRITE_DATA( 8, GLushort, v[2] ); 521 WRITE_DATA( 10, GLushort, [all...] |
H A D | pack_client.c | 21 /*Convert from GLushort to GLfloat in [0.f,1.f]*/ 84 GLushort *usPtr = (GLushort*) p; 105 GLushort usv[4]; 374 case 3: crPackColor3usv((GLushort *)p); break; 375 case 4: crPackColor4usv((GLushort *)p); break; 432 crPackSecondaryColor3usvEXT((GLushort *)p); break; 655 return sizeof(GLushort); 818 crPackExpandArrayElement((GLint) * (GLushort *) p, c, pZva); 819 p+=sizeof (GLushort); [all...] |
/vbox/src/VBox/HostServices/SharedOpenGL/dlm/ |
H A D | dlm_arrays.c | 115 case 3: crDLMCompileColor3usv((GLushort *)p); break; 116 case 4: crDLMCompileColor4usv((GLushort *)p); break; 174 crDLMCompileSecondaryColor3usvEXT((GLushort *)p); break; 288 crDLMCompileArrayElement((GLint) * (GLushort *) p, c); 289 p+=sizeof (GLushort); 344 crDLMCompileArrayElement((GLint) * (GLushort *) p, c); 345 p+=sizeof (GLushort);
|
/vbox/src/VBox/GuestHost/OpenGL/state_tracker/ |
H A D | state_line.c | 63 void STATE_APIENTRY crStateLineStipple(GLint factor, GLushort pattern)
|
H A D | state_pixel.c | 337 void STATE_APIENTRY crStatePixelMapusv (GLenum map, GLint mapsize, const GLushort * values) 486 void STATE_APIENTRY crStateGetPixelMapusv (GLenum map, GLushort * values) 512 values[i] = (GLushort) (p->mapItoR[i] * maxUshort); 517 values[i] = (GLushort) (p->mapItoG[i] * maxUshort); 522 values[i] = (GLushort) (p->mapItoB[i] * maxUshort); 527 values[i] = (GLushort) (p->mapItoA[i] * maxUshort); 532 values[i] = (GLushort) (p->mapRtoR[i] * maxUshort); 537 values[i] = (GLushort) (p->mapGtoG[i] * maxUshort); 542 values[i] = (GLushort) (p->mapBtoB[i] * maxUshort); 547 values[i] = (GLushort) ( [all...] |
/vbox/src/VBox/Additions/x11/x11include/mesa-7.2/src/mesa/math/ |
H A D | m_translate.h | 35 * For example, convert array of GLushort[3] to GLfloat[4]. 86 extern void _math_trans_4us(GLushort (*to)[4],
|
/vbox/src/VBox/Additions/common/crOpenGL/pack/ |
H A D | packspu.h | 47 GLushort us[4];
|
/vbox/include/VBox/HostServices/ |
H A D | wglext.h | 424 extern GLboolean WINAPI wglCreateDisplayColorTableEXT (GLushort); 425 extern GLboolean WINAPI wglLoadDisplayColorTableEXT (const GLushort *, GLuint); 426 extern GLboolean WINAPI wglBindDisplayColorTableEXT (GLushort); 427 extern VOID WINAPI wglDestroyDisplayColorTableEXT (GLushort); 429 typedef GLboolean (WINAPI * PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC) (GLushort id); 430 typedef GLboolean (WINAPI * PFNWGLLOADDISPLAYCOLORTABLEEXTPROC) (const GLushort *table, GLuint length); 431 typedef GLboolean (WINAPI * PFNWGLBINDDISPLAYCOLORTABLEEXTPROC) (GLushort id); 432 typedef VOID (WINAPI * PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC) (GLushort id);
|
/vbox/src/VBox/Additions/common/crOpenGL/ |
H A D | vboxdri_drv.c | 265 GLushort *P = (GLushort *)drb->Base.Data + (drb->Base.Height - (Y)) * drb->pitch + (X) * 2; 284 GLushort *P = (GLushort *)drb->Base.Data + (drb->Base.Height - (Y)) * drb->pitch + (X) * 2;
|
/vbox/src/VBox/Additions/x11/x11include/mesa-7.2/src/mesa/swrast/ |
H A D | s_context.h | 264 ((TYPE == GL_UNSIGNED_SHORT) ? 4 * sizeof(GLushort) \
|