Searched refs:GLushort (Results 1 - 25 of 84) sorted by relevance

1234

/vbox/src/VBox/Additions/x11/x11include/mesa-7.2/src/mesa/main/
H A Dlines.h43 _mesa_LineStipple( GLint factor, GLushort pattern );
H A Dtexformat_tmp.h270 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 Dpixel.h48 _mesa_GetPixelMapusv( GLenum map, GLushort *values );
57 _mesa_PixelMapusv(GLenum map, GLsizei mapsize, const GLushort *values );
H A Dmacros.h57 /** 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 Dconfig.h255 #define DEFAULT_SOFTWARE_DEPTH_TYPE GLushort
/vbox/src/VBox/HostServices/SharedOpenGL/unpacker/
H A Dunpack_pixelmap.c46 GLushort *values;
49 values = (GLushort*) (uintptr_t) READ_DATA(sizeof(int) + 12, GLint);
51 values = DATA_POINTER( sizeof( int ) + 16, GLushort );
H A Dunpack_misc.c69 GLushort *values;
73 values = DATA_POINTER(12, GLushort);
H A Dunpack_program.c304 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 Dserver_getpixelmap.c117 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 Dserver_lists.c152 const GLushort *src = (const GLushort *) lists;
/vbox/src/VBox/GuestHost/OpenGL/include/state/
H A Dcr_line.h29 GLushort pattern;
H A Dcr_statetypes.h24 #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 Dcalllists.c41 EXPAND(GL_UNSIGNED_SHORT, GLushort,++,*array);
67 EXPAND_WITH_DATA(GL_UNSIGNED_SHORT, GLushort,++,*array);
/vbox/src/VBox/GuestHost/OpenGL/packer/
H A Dpack_pixelmap.c58 const GLushort *values)
H A Dpack_swap_pixelmap.c56 const GLushort *values )
H A Dpack_program.c446 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 Dpack_client.c21 /*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 Ddlm_arrays.c115 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 Dstate_line.c63 void STATE_APIENTRY crStateLineStipple(GLint factor, GLushort pattern)
H A Dstate_pixel.c337 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 Dm_translate.h35 * 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 Dpackspu.h47 GLushort us[4];
/vbox/include/VBox/HostServices/
H A Dwglext.h424 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 Dvboxdri_drv.c265 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 Ds_context.h264 ((TYPE == GL_UNSIGNED_SHORT) ? 4 * sizeof(GLushort) \

Completed in 143 milliseconds

1234