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

123456789

/xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
H A Dlines.h47 _mesa_LineStipple( GLint factor, GLushort pattern );
H A Dpixel.h48 _mesa_PixelMapusv(GLenum map, GLsizei mapsize, const GLushort *values );
58 _mesa_GetnPixelMapusvARB( GLenum map, GLsizei bufSize, GLushort *values );
60 _mesa_GetPixelMapusv( GLenum map, GLushort *values );
H A Dpack.c328 const GLushort *s = (const GLushort *) src;
331 GLushort value = s[i];
571 dst[i] = (GLushort) (indexes[i] & 0xffff);
631 GLushort *dst = (GLushort *) dest;
634 dst[i] = (GLushort) source[i];
637 _mesa_swap2( (GLushort *) dst, n );
649 _mesa_swap2( (GLushort *) dst, n );
698 _mesa_swap2( (GLushort *) ds
[all...]
H A Dapi_loopback.h49 _mesa_Color3us( GLushort red, GLushort green, GLushort blue );
63 _mesa_Color3usv( const GLushort *v );
80 _mesa_Color4us( GLushort red, GLushort green, GLushort blue,
81 GLushort alpha );
95 _mesa_Color4usv( const GLushort *v);
313 _mesa_SecondaryColor3us( GLushort re
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/main/
H A Dlines.h47 _mesa_LineStipple( GLint factor, GLushort pattern );
H A Dpixel.h48 _mesa_PixelMapusv(GLenum map, GLsizei mapsize, const GLushort *values );
58 _mesa_GetnPixelMapusvARB( GLenum map, GLsizei bufSize, GLushort *values );
60 _mesa_GetPixelMapusv( GLenum map, GLushort *values );
/xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast/
H A Ds_texfetch_tmp.h91 FETCH_Z(Z_UNORM16, GLushort, 1)
122 FETCH_RGBA(B5G6R5_UNORM, GLushort, 1)
123 FETCH_RGBA(R5G6B5_UNORM, GLushort, 1)
124 FETCH_RGBA(B4G4R4A4_UNORM, GLushort, 1)
125 FETCH_RGBA(A4R4G4B4_UNORM, GLushort, 1)
126 FETCH_RGBA(A1B5G5R5_UNORM, GLushort, 1)
127 FETCH_RGBA(B5G5R5A1_UNORM, GLushort, 1)
128 FETCH_RGBA(A1R5G5B5_UNORM, GLushort, 1)
131 FETCH_RGBA(R8G8_UNORM, GLushort, 1)
132 FETCH_RGBA(G8R8_UNORM, GLushort,
[all...]
H A Ds_masking.c78 const GLushort rMask = GET_COLORMASK_BIT(ctx->Color.ColorMask, buf, 0) ? 0xffff : 0x0;
79 const GLushort gMask = GET_COLORMASK_BIT(ctx->Color.ColorMask, buf, 1) ? 0xffff : 0x0;
80 const GLushort bMask = GET_COLORMASK_BIT(ctx->Color.ColorMask, buf, 2) ? 0xffff : 0x0;
81 const GLushort aMask = GET_COLORMASK_BIT(ctx->Color.ColorMask, buf, 3) ? 0xffff : 0x0;
82 const GLushort (*dst)[4] = (const GLushort (*)[4]) rbPixels;
83 GLushort (*src)[4] = span->array->rgba16;
H A Ds_blend.c85 bytes = 4 * n * sizeof(GLushort);
166 GLushort (*rgba)[4] = (GLushort (*)[4]) src;
167 const GLushort (*dest)[4] = (const GLushort (*)[4]) dst;
189 GLushort r = (GLushort) ((rgba[i][RCOMP] - dest[i][RCOMP]) * tt + dest[i][RCOMP]);
190 GLushort g = (GLushort) ((rgba[i][GCOMP] - dest[i][GCOMP]) * tt + dest[i][GCOMP]);
191 GLushort
[all...]
H A Ds_chan.h56 typedef GLushort GLchan;
97 #define CHAN_TO_USHORT(c) ((GLushort) (CLAMP((c), 0.0f, 1.0f) * 65535.0))
H A Ds_fog.c87 * \param TYPE either GLubyte, GLushort or GLfloat.
173 GLushort (*rgba)[4] = span->array->rgba16;
174 FOG_LOOP(GLushort, LINEAR_FOG);
192 GLushort (*rgba)[4] = span->array->rgba16;
193 FOG_LOOP(GLushort, EXP_FOG);
211 GLushort (*rgba)[4] = span->array->rgba16;
212 FOG_LOOP(GLushort, EXP2_FOG);
236 GLushort (*rgba)[4] = span->array->rgba16;
237 FOG_LOOP(GLushort, BLEND_FOG);
H A Ds_alpha.c119 GLushort (*rgba)[4] = span->array->rgba16;
120 GLushort ref;
143 GLushort ref;
/xsrc/external/mit/MesaLib/dist/src/mesa/swrast/
H A Ds_texfetch_tmp.h91 FETCH_Z(Z_UNORM16, GLushort, 1)
122 FETCH_RGBA(B5G6R5_UNORM, GLushort, 1)
123 FETCH_RGBA(R5G6B5_UNORM, GLushort, 1)
124 FETCH_RGBA(B4G4R4A4_UNORM, GLushort, 1)
125 FETCH_RGBA(A4R4G4B4_UNORM, GLushort, 1)
126 FETCH_RGBA(A1B5G5R5_UNORM, GLushort, 1)
127 FETCH_RGBA(B5G5R5A1_UNORM, GLushort, 1)
128 FETCH_RGBA(A1R5G5B5_UNORM, GLushort, 1)
134 FETCH_RGBA(R_UNORM16, GLushort, 1)
136 FETCH_RGBA(RG_UNORM16, GLushort,
[all...]
H A Ds_masking.c78 const GLushort rMask = GET_COLORMASK_BIT(ctx->Color.ColorMask, buf, 0) ? 0xffff : 0x0;
79 const GLushort gMask = GET_COLORMASK_BIT(ctx->Color.ColorMask, buf, 1) ? 0xffff : 0x0;
80 const GLushort bMask = GET_COLORMASK_BIT(ctx->Color.ColorMask, buf, 2) ? 0xffff : 0x0;
81 const GLushort aMask = GET_COLORMASK_BIT(ctx->Color.ColorMask, buf, 3) ? 0xffff : 0x0;
82 const GLushort (*dst)[4] = (const GLushort (*)[4]) rbPixels;
83 GLushort (*src)[4] = span->array->rgba16;
H A Ds_blend.c85 bytes = 4 * n * sizeof(GLushort);
166 GLushort (*rgba)[4] = (GLushort (*)[4]) src;
167 const GLushort (*dest)[4] = (const GLushort (*)[4]) dst;
189 GLushort r = (GLushort) ((rgba[i][RCOMP] - dest[i][RCOMP]) * tt + dest[i][RCOMP]);
190 GLushort g = (GLushort) ((rgba[i][GCOMP] - dest[i][GCOMP]) * tt + dest[i][GCOMP]);
191 GLushort
[all...]
H A Ds_chan.h56 typedef GLushort GLchan;
97 #define CHAN_TO_USHORT(c) ((GLushort) (SATURATE((c)) * 65535.0))
H A Ds_fog.c87 * \param TYPE either GLubyte, GLushort or GLfloat.
173 GLushort (*rgba)[4] = span->array->rgba16;
174 FOG_LOOP(GLushort, LINEAR_FOG);
192 GLushort (*rgba)[4] = span->array->rgba16;
193 FOG_LOOP(GLushort, EXP_FOG);
211 GLushort (*rgba)[4] = span->array->rgba16;
212 FOG_LOOP(GLushort, EXP2_FOG);
236 GLushort (*rgba)[4] = span->array->rgba16;
237 FOG_LOOP(GLushort, BLEND_FOG);
H A Ds_alpha.c119 GLushort (*rgba)[4] = span->array->rgba16;
120 GLushort ref;
143 GLushort ref;
/xsrc/external/mit/mesa-demos/dist/src/util/
H A Dreadtex.h23 extern GLushort *
/xsrc/external/mit/xorg-server.old/dist/hw/xwin/glx/
H A Dwgl.tm11 GLushort,*,*, GLushort,*,*
/xsrc/external/mit/mesa-demos/dist/src/osdemos/
H A Dosdemo16.c151 write_targa(const char *filename, const GLushort *buffer, int width, int height)
156 const GLushort *ptr = buffer;
192 write_ppm(const char *filename, const GLushort *buffer, int width, int height)
198 const GLushort *ptr = buffer;
242 GLushort *buffer;
257 buffer = (GLushort *) malloc( WIDTH * HEIGHT * 4 * sizeof(GLushort));
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/nouveau/
H A Dnouveau_array.c49 EXTRACT_FUNC(GLushort, unsigned, 1);
50 EXTRACT_FUNC(GLushort, float, USHRT_MAX);
78 *extract_u = EXTRACT(GLushort, unsigned);
79 *extract_f = EXTRACT(GLushort, float);
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/nouveau/
H A Dnouveau_array.c49 EXTRACT_FUNC(GLushort, unsigned, 1);
50 EXTRACT_FUNC(GLushort, float, USHRT_MAX);
78 *extract_u = EXTRACT(GLushort, unsigned);
79 *extract_f = EXTRACT(GLushort, float);
/xsrc/external/mit/glu/dist/src/libutil/
H A Dmipmap.c97 const void *userdata, GLushort *newimage);
101 const GLushort *oldimage, void *userdata);
103 const GLushort *datain,
105 GLushort *dataout);
118 GLint heightin, const GLushort *datain,
120 GLushort *dataout, GLint element_size,
228 static void halve1Dimage_ushort(GLint, GLuint, GLuint, const GLushort *,
229 GLushort *, GLint, GLint, GLint, GLint);
241 GLenum, GLboolean, const void *, GLushort *);
245 const GLushort *, voi
[all...]
/xsrc/external/mit/mesa-demos/dist/src/egl/opengles1/
H A Dtorus.c224 GLushort *pal = (GLushort *) palette;
234 GLushort *pal = (GLushort *) palette;
244 GLushort *pal = (GLushort *) palette;

Completed in 18 milliseconds

123456789