Home
last modified time | relevance | path

Searched refs:GLshort (Results 1 – 25 of 48) sorted by relevance

12

/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_blit.h41 GLshort src_pitch,
45 GLshort dst_pitch,
49 GLshort srcx, GLshort srcy,
50 GLshort dstx, GLshort dsty,
51 GLshort w, GLshort h,
59 GLshort dst_pitch,
63 GLshort x, GLshort y,
64 GLshort w, GLshort h,
Dintel_blit.c93 GLshort src_pitch, in intelEmitCopyBlit()
97 GLshort dst_pitch, in intelEmitCopyBlit()
101 GLshort src_x, GLshort src_y, in intelEmitCopyBlit()
102 GLshort dst_x, GLshort dst_y, in intelEmitCopyBlit()
103 GLshort w, GLshort h, in intelEmitCopyBlit()
399 GLshort dst_pitch, in intelEmitImmediateColorExpandBlit()
403 GLshort x, GLshort y, in intelEmitImmediateColorExpandBlit()
404 GLshort w, GLshort h, in intelEmitImmediateColorExpandBlit()
/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_icd.h67 void (GLAPIENTRY * Color3s)(GLshort, GLshort, GLshort);
68 void (GLAPIENTRY * Color3sv)(const GLshort *);
83 void (GLAPIENTRY * Color4s)(GLshort, GLshort, GLshort, GLshort);
84 void (GLAPIENTRY * Color4sv)(const GLshort *);
100 void (GLAPIENTRY * Indexs)(GLshort);
101 void (GLAPIENTRY * Indexsv)(const GLshort *);
110 void (GLAPIENTRY * Normal3s)(GLshort, GLshort, GLshort);
111 void (GLAPIENTRY * Normal3sv)(const GLshort *);
118 void (GLAPIENTRY * RasterPos2s)(GLshort, GLshort);
119 void (GLAPIENTRY * RasterPos2sv)(const GLshort *);
[all …]
/external/mesa3d/src/mesa/main/
Dapi_loopback.c115 loopback_Color3s_f( GLshort red, GLshort green, GLshort blue ) in loopback_Color3s_f()
164 loopback_Color3sv_f( const GLshort *v ) in loopback_Color3sv_f()
215 loopback_Color4s_f( GLshort red, GLshort green, GLshort blue, in loopback_Color4s_f()
216 GLshort alpha ) in loopback_Color4s_f()
267 loopback_Color4sv_f( const GLshort *v) in loopback_Color4sv_f()
322 loopback_Indexs( GLshort c ) in loopback_Indexs()
346 loopback_Indexsv( const GLshort *c ) in loopback_Indexsv()
384 loopback_Normal3s( GLshort nx, GLshort ny, GLshort nz ) in loopback_Normal3s()
408 loopback_Normal3sv( const GLshort *v ) in loopback_Normal3sv()
426 loopback_TexCoord1s( GLshort s ) in loopback_TexCoord1s()
[all …]
Daccum.c155 const GLshort clearR = FLOAT_TO_SHORT(ctx->Accum.ClearColor[0]); in _mesa_clear_accum_buffer()
156 const GLshort clearG = FLOAT_TO_SHORT(ctx->Accum.ClearColor[1]); in _mesa_clear_accum_buffer()
157 const GLshort clearB = FLOAT_TO_SHORT(ctx->Accum.ClearColor[2]); in _mesa_clear_accum_buffer()
158 const GLshort clearA = FLOAT_TO_SHORT(ctx->Accum.ClearColor[3]); in _mesa_clear_accum_buffer()
162 GLshort *row = (GLshort *) accMap; in _mesa_clear_accum_buffer()
210 const GLshort incr = (GLshort) (value * 32767.0f); in accum_scale_or_bias()
214 GLshort *acc = (GLshort *) accMap; in accum_scale_or_bias()
224 GLshort *acc = (GLshort *) accMap; in accum_scale_or_bias()
226 acc[i] = (GLshort) (acc[i] * value); in accum_scale_or_bias()
295 GLshort *acc = (GLshort *) accMap; in accum_or_load()
[all …]
Ddrawtex.h47 _mesa_DrawTexs(GLshort x, GLshort y, GLshort z, GLshort width, GLshort height);
50 _mesa_DrawTexsv(const GLshort *coords);
Drastpos.c88 _mesa_RasterPos2s(GLshort x, GLshort y) in _mesa_RasterPos2s()
112 _mesa_RasterPos3s(GLshort x, GLshort y, GLshort z) in _mesa_RasterPos3s()
136 _mesa_RasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w) in _mesa_RasterPos4s()
160 _mesa_RasterPos2sv(const GLshort *v) in _mesa_RasterPos2sv()
184 _mesa_RasterPos3sv(const GLshort *v) in _mesa_RasterPos3sv()
210 _mesa_RasterPos4sv(const GLshort *v) in _mesa_RasterPos4sv()
313 _mesa_WindowPos2sMESA(GLshort x, GLshort y) in _mesa_WindowPos2sMESA()
337 _mesa_WindowPos3sMESA(GLshort x, GLshort y, GLshort z) in _mesa_WindowPos3sMESA()
361 _mesa_WindowPos4sMESA(GLshort x, GLshort y, GLshort z, GLshort w) in _mesa_WindowPos4sMESA()
385 _mesa_WindowPos2svMESA(const GLshort *v) in _mesa_WindowPos2svMESA()
[all …]
Ddrawtex.c95 _mesa_DrawTexs(GLshort x, GLshort y, GLshort z, GLshort width, GLshort height) in _mesa_DrawTexs()
104 _mesa_DrawTexsv(const GLshort *coords) in _mesa_DrawTexsv()
Dapi_arrayelt.c292 VertexAttrib1NsvNV(GLuint index, const GLshort *v) in VertexAttrib1NsvNV()
298 VertexAttrib1svNV(GLuint index, const GLshort *v) in VertexAttrib1svNV()
304 VertexAttrib2NsvNV(GLuint index, const GLshort *v) in VertexAttrib2NsvNV()
311 VertexAttrib2svNV(GLuint index, const GLshort *v) in VertexAttrib2svNV()
317 VertexAttrib3NsvNV(GLuint index, const GLshort *v) in VertexAttrib3NsvNV()
325 VertexAttrib3svNV(GLuint index, const GLshort *v) in VertexAttrib3svNV()
332 VertexAttrib4NsvNV(GLuint index, const GLshort *v) in VertexAttrib4NsvNV()
341 VertexAttrib4svNV(GLuint index, const GLshort *v) in VertexAttrib4svNV()
805 VertexAttrib1NsvARB(GLuint index, const GLshort *v) in VertexAttrib1NsvARB()
811 VertexAttrib1svARB(GLuint index, const GLshort *v) in VertexAttrib1svARB()
[all …]
Dmipmap.c306 const GLshort(*rowA)[4] = (const GLshort(*)[4]) srcRowA; in do_row()
307 const GLshort(*rowB)[4] = (const GLshort(*)[4]) srcRowB; in do_row()
308 GLshort(*dst)[4] = (GLshort(*)[4]) dstRow; in do_row()
319 const GLshort(*rowA)[3] = (const GLshort(*)[3]) srcRowA; in do_row()
320 const GLshort(*rowB)[3] = (const GLshort(*)[3]) srcRowB; in do_row()
321 GLshort(*dst)[3] = (GLshort(*)[3]) dstRow; in do_row()
331 const GLshort(*rowA)[2] = (const GLshort(*)[2]) srcRowA; in do_row()
332 const GLshort(*rowB)[2] = (const GLshort(*)[2]) srcRowB; in do_row()
333 GLshort(*dst)[2] = (GLshort(*)[2]) dstRow; in do_row()
342 const GLshort *rowA = (const GLshort *) srcRowA; in do_row()
[all …]
Dformat_unpack.c1080 const GLshort *s = (const GLshort *) src; in unpack_RGBA_INT16()
1223 const GLshort *s = ((const GLshort *) src); in unpack_SIGNED_R16()
1239 dst[i][RCOMP] = SHORT_TO_FLOAT_TEX( (GLshort) (s[i] & 0xffff) ); in unpack_SIGNED_GR1616()
1240 dst[i][GCOMP] = SHORT_TO_FLOAT_TEX( (GLshort) (s[i] >> 16) ); in unpack_SIGNED_GR1616()
1249 const GLshort *s = (const GLshort *) src; in unpack_SIGNED_RGB_16()
1262 const GLshort *s = (const GLshort *) src; in unpack_SIGNED_RGBA_16()
1368 const GLshort *s = ((const GLshort *) src); in unpack_SIGNED_AL88()
1394 const GLshort *s = ((const GLshort *) src); in unpack_SIGNED_A16()
1407 const GLshort *s = ((const GLshort *) src); in unpack_SIGNED_L16()
1420 const GLshort *s = (const GLshort *) src; in unpack_SIGNED_AL1616()
[all …]
Dpack.c493 #define DST_TYPE GLshort
879 #define DST_TYPE GLshort
1802 GLshort *dst = (GLshort *) dstAddr; in _mesa_pack_rgba_span_float()
1876 dst[i] = (GLshort) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
1881 dst[i] = (GLshort) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
1886 dst[i] = (GLshort) rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
1891 dst[i] = (GLshort) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
1896 dst[i*2+0] = (GLshort) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
1897 dst[i*2+1] = (GLshort) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
1902 dst[i*3+0] = (GLshort) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
[all …]
Dformat_pack.c1501 GLshort *d = (GLshort *) dst; in pack_float_SIGNED_R16()
1514 GLshort r = FLOAT_TO_SHORT(CLAMP(src[RCOMP], -1.0f, 1.0f)); in pack_float_SIGNED_GR1616()
1515 GLshort g = FLOAT_TO_SHORT(CLAMP(src[GCOMP], -1.0f, 1.0f)); in pack_float_SIGNED_GR1616()
1527 GLshort *d = (GLshort *) dst; in pack_float_SIGNED_RGB_16()
1541 GLshort *d = (GLshort *) dst; in pack_float_SIGNED_RGBA_16()
1594 GLshort *d = (GLshort *) dst; in pack_float_SIGNED_A16()
1606 GLshort *d = (GLshort *) dst; in pack_float_SIGNED_L16()
1619 GLshort l = FLOAT_TO_SHORT(CLAMP(src[RCOMP], -1.0f, 1.0f)); in pack_float_SIGNED_AL1616()
1620 GLshort a = FLOAT_TO_SHORT(CLAMP(src[ACOMP], -1.0f, 1.0f)); in pack_float_SIGNED_AL1616()
/external/mesa3d/src/glx/
Dindirect_window_pos.c49 __indirect_glWindowPos2sMESA(GLshort x, GLshort y) in __indirect_glWindowPos2sMESA()
73 __indirect_glWindowPos2svMESA(const GLshort * p) in __indirect_glWindowPos2svMESA()
91 __indirect_glWindowPos3sMESA(GLshort x, GLshort y, GLshort z) in __indirect_glWindowPos3sMESA()
109 __indirect_glWindowPos3svMESA(const GLshort * p) in __indirect_glWindowPos3svMESA()
/external/mesa3d/include/GL/
Dgl.h154 typedef short GLshort; /* 2-byte signed */ typedef
965 GLAPI void GLAPIENTRY glVertex2s( GLshort x, GLshort y );
970 GLAPI void GLAPIENTRY glVertex3s( GLshort x, GLshort y, GLshort z );
975 GLAPI void GLAPIENTRY glVertex4s( GLshort x, GLshort y, GLshort z, GLshort w );
980 GLAPI void GLAPIENTRY glVertex2sv( const GLshort *v );
985 GLAPI void GLAPIENTRY glVertex3sv( const GLshort *v );
990 GLAPI void GLAPIENTRY glVertex4sv( const GLshort *v );
997 GLAPI void GLAPIENTRY glNormal3s( GLshort nx, GLshort ny, GLshort nz );
1003 GLAPI void GLAPIENTRY glNormal3sv( const GLshort *v );
1009 GLAPI void GLAPIENTRY glIndexs( GLshort c );
[all …]
Dglext.h6349 GLAPI void APIENTRY glMultiTexCoord1s (GLenum target, GLshort s);
6350 GLAPI void APIENTRY glMultiTexCoord1sv (GLenum target, const GLshort *v);
6357 GLAPI void APIENTRY glMultiTexCoord2s (GLenum target, GLshort s, GLshort t);
6358 GLAPI void APIENTRY glMultiTexCoord2sv (GLenum target, const GLshort *v);
6365 GLAPI void APIENTRY glMultiTexCoord3s (GLenum target, GLshort s, GLshort t, GLshort r);
6366 GLAPI void APIENTRY glMultiTexCoord3sv (GLenum target, const GLshort *v);
6373 GLAPI void APIENTRY glMultiTexCoord4s (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
6374 GLAPI void APIENTRY glMultiTexCoord4sv (GLenum target, const GLshort *v);
6396 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s);
6397 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v);
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_blit.c93 GLshort src_pitch, in intelEmitCopyBlit()
97 GLshort dst_pitch, in intelEmitCopyBlit()
101 GLshort src_x, GLshort src_y, in intelEmitCopyBlit()
102 GLshort dst_x, GLshort dst_y, in intelEmitCopyBlit()
103 GLshort w, GLshort h, in intelEmitCopyBlit()
399 GLshort dst_pitch, in intelEmitImmediateColorExpandBlit()
403 GLshort x, GLshort y, in intelEmitImmediateColorExpandBlit()
404 GLshort w, GLshort h, in intelEmitImmediateColorExpandBlit()
Dintel_tex_copy.c98 GLshort src_pitch; in intel_copy_texsubimage()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_blit.c93 GLshort src_pitch, in intelEmitCopyBlit()
97 GLshort dst_pitch, in intelEmitCopyBlit()
101 GLshort src_x, GLshort src_y, in intelEmitCopyBlit()
102 GLshort dst_x, GLshort dst_y, in intelEmitCopyBlit()
103 GLshort w, GLshort h, in intelEmitCopyBlit()
399 GLshort dst_pitch, in intelEmitImmediateColorExpandBlit()
403 GLshort x, GLshort y, in intelEmitImmediateColorExpandBlit()
404 GLshort w, GLshort h, in intelEmitImmediateColorExpandBlit()
Dintel_tex_copy.c98 GLshort src_pitch; in intel_copy_texsubimage()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_array.c47 EXTRACT_FUNC(GLshort, unsigned, 1);
48 EXTRACT_FUNC(GLshort, float, SHRT_MAX);
74 *extract_u = EXTRACT(GLshort, unsigned); in get_array_extract()
75 *extract_f = EXTRACT(GLshort, float); in get_array_extract()
/external/mesa3d/src/mesa/swrast/
Ds_texfetch_tmp.h1066 const GLshort *src = TEXEL_ADDR(GLshort, texImage, i, j, k, 4); in FETCH()
1220 const GLushort s = *TEXEL_ADDR(GLshort, texImage, i, j, k, 1); in FETCH()
1235 const GLushort s = *TEXEL_ADDR(GLshort, texImage, i, j, k, 1); in FETCH()
1294 const GLshort s = *TEXEL_ADDR(GLshort, texImage, i, j, k, 1); in FETCH()
1310 const GLshort s = *TEXEL_ADDR(GLshort, texImage, i, j, k, 1); in FETCH()
1326 const GLshort s = *TEXEL_ADDR(GLshort, texImage, i, j, k, 1); in FETCH()
1342 const GLshort s = *TEXEL_ADDR(GLshort, texImage, i, j, k, 1); in FETCH()
1358 const GLshort *s = TEXEL_ADDR(GLshort, texImage, i, j, k, 2); in FETCH()
1374 const GLshort *s = TEXEL_ADDR(GLshort, texImage, i, j, k, 2); in FETCH()
1390 const GLshort *s = TEXEL_ADDR(GLshort, texImage, i, j, k, 3); in FETCH()
[all …]
Ds_chan.h97 #define CHAN_TO_SHORT(c) ((GLshort) (CLAMP((c), 0.0f, 1.0f) * 32767.0))
/external/mesa3d/include/GLES/
Dglext.h508 GL_API void GL_APIENTRY glDrawTexsOES (GLshort x, GLshort y, GLshort z, GLshort width, GLshort heig…
511 GL_API void GL_APIENTRY glDrawTexsvOES (const GLshort *coords);
517 …ypedef void (GL_APIENTRYP PFNGLDRAWTEXSOESPROC) (GLshort x, GLshort y, GLshort z, GLshort width, G…
520 typedef void (GL_APIENTRYP PFNGLDRAWTEXSVOESPROC) (const GLshort *coords);
/external/deqp/framework/opengl/wrapper/
DglwDefs.cpp36 DE_STATIC_ASSERT(sizeof(GLshort) == 2);

12