Home
last modified time | relevance | path

Searched refs:GLushort (Results 1 – 25 of 214) sorted by relevance

123456789

/external/mesa3d/src/mesa/main/
Dformat_pack.c455 GLushort *d = ((GLushort *) dst); in pack_ubyte_RGB565()
472 GLushort *d = ((GLushort *) dst); in pack_row_ubyte_RGB565()
482 GLushort *d = ((GLushort *) dst); in pack_row_float_RGB565()
499 GLushort *d = ((GLushort *) dst); in pack_ubyte_RGB565_REV()
506 GLushort *d = ((GLushort *) dst); in pack_float_RGB565_REV()
517 GLushort *d = ((GLushort *) dst); in pack_row_ubyte_RGB565_REV()
527 GLushort *d = ((GLushort *) dst); in pack_row_float_RGB565_REV()
544 GLushort *d = ((GLushort *) dst); in pack_ubyte_ARGB4444()
566 GLushort *d = ((GLushort *) dst); in pack_ubyte_ARGB4444_REV()
588 GLushort *d = ((GLushort *) dst); in pack_ubyte_RGBA5551()
[all …]
Dpack.c485 #define DST_TYPE GLushort
582 GLushort *dst = (GLushort *) dstAddr; in _mesa_pack_rgba_span_from_uints()
594 GLushort *dst = (GLushort *) dstAddr; in _mesa_pack_rgba_span_from_uints()
606 GLushort *dst = (GLushort *) dstAddr; in _mesa_pack_rgba_span_from_uints()
615 GLushort *dst = (GLushort *) dstAddr; in _mesa_pack_rgba_span_from_uints()
624 GLushort *dst = (GLushort *) dstAddr; in _mesa_pack_rgba_span_from_uints()
637 GLushort *dst = (GLushort *) dstAddr; in _mesa_pack_rgba_span_from_uints()
646 GLushort *dst = (GLushort *) dstAddr; in _mesa_pack_rgba_span_from_uints()
655 GLushort *dst = (GLushort *) dstAddr; in _mesa_pack_rgba_span_from_uints()
668 GLushort *dst = (GLushort *) dstAddr; in _mesa_pack_rgba_span_from_uints()
[all …]
Dformat_unpack.c223 const GLushort *s = ((const GLushort *) src); in unpack_RGB565()
236 const GLushort *s = ((const GLushort *) src); in unpack_RGB565_REV()
250 const GLushort *s = ((const GLushort *) src); in unpack_ARGB4444()
263 const GLushort *s = ((const GLushort *) src); in unpack_ARGB4444_REV()
276 const GLushort *s = ((const GLushort *) src); in unpack_RGBA5551()
289 const GLushort *s = ((const GLushort *) src); in unpack_ARGB1555()
302 const GLushort *s = ((const GLushort *) src); in unpack_ARGB1555_REV()
305 GLushort tmp = (s[i] << 8) | (s[i] >> 8); /* byteswap */ in unpack_ARGB1555_REV()
329 const GLushort *s = ((const GLushort *) src); in unpack_AL88()
342 const GLushort *s = ((const GLushort *) src); in unpack_AL88_REV()
[all …]
Dmipmap.c259 const GLushort(*rowA)[4] = (const GLushort(*)[4]) srcRowA; in do_row()
260 const GLushort(*rowB)[4] = (const GLushort(*)[4]) srcRowB; in do_row()
261 GLushort(*dst)[4] = (GLushort(*)[4]) dstRow; in do_row()
272 const GLushort(*rowA)[3] = (const GLushort(*)[3]) srcRowA; in do_row()
273 const GLushort(*rowB)[3] = (const GLushort(*)[3]) srcRowB; in do_row()
274 GLushort(*dst)[3] = (GLushort(*)[3]) dstRow; in do_row()
284 const GLushort(*rowA)[2] = (const GLushort(*)[2]) srcRowA; in do_row()
285 const GLushort(*rowB)[2] = (const GLushort(*)[2]) srcRowB; in do_row()
286 GLushort(*dst)[2] = (GLushort(*)[2]) dstRow; in do_row()
295 const GLushort *rowA = (const GLushort *) srcRowA; in do_row()
[all …]
Dapi_arrayelt.c350 VertexAttrib1NusvNV(GLuint index, const GLushort *v) in VertexAttrib1NusvNV()
356 VertexAttrib1usvNV(GLuint index, const GLushort *v) in VertexAttrib1usvNV()
362 VertexAttrib2NusvNV(GLuint index, const GLushort *v) in VertexAttrib2NusvNV()
369 VertexAttrib2usvNV(GLuint index, const GLushort *v) in VertexAttrib2usvNV()
376 VertexAttrib3NusvNV(GLuint index, const GLushort *v) in VertexAttrib3NusvNV()
384 VertexAttrib3usvNV(GLuint index, const GLushort *v) in VertexAttrib3usvNV()
391 VertexAttrib4NusvNV(GLuint index, const GLushort *v) in VertexAttrib4NusvNV()
400 VertexAttrib4usvNV(GLuint index, const GLushort *v) in VertexAttrib4usvNV()
870 VertexAttrib1NusvARB(GLuint index, const GLushort *v) in VertexAttrib1NusvARB()
876 VertexAttrib1usvARB(GLuint index, const GLushort *v) in VertexAttrib1usvARB()
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/main/
Dformat_pack.c455 GLushort *d = ((GLushort *) dst); in pack_ubyte_RGB565()
472 GLushort *d = ((GLushort *) dst); in pack_row_ubyte_RGB565()
482 GLushort *d = ((GLushort *) dst); in pack_row_float_RGB565()
499 GLushort *d = ((GLushort *) dst); in pack_ubyte_RGB565_REV()
506 GLushort *d = ((GLushort *) dst); in pack_float_RGB565_REV()
517 GLushort *d = ((GLushort *) dst); in pack_row_ubyte_RGB565_REV()
527 GLushort *d = ((GLushort *) dst); in pack_row_float_RGB565_REV()
544 GLushort *d = ((GLushort *) dst); in pack_ubyte_ARGB4444()
566 GLushort *d = ((GLushort *) dst); in pack_ubyte_ARGB4444_REV()
588 GLushort *d = ((GLushort *) dst); in pack_ubyte_RGBA5551()
[all …]
Dpack.c485 #define DST_TYPE GLushort
582 GLushort *dst = (GLushort *) dstAddr; in _mesa_pack_rgba_span_from_uints()
594 GLushort *dst = (GLushort *) dstAddr; in _mesa_pack_rgba_span_from_uints()
606 GLushort *dst = (GLushort *) dstAddr; in _mesa_pack_rgba_span_from_uints()
615 GLushort *dst = (GLushort *) dstAddr; in _mesa_pack_rgba_span_from_uints()
624 GLushort *dst = (GLushort *) dstAddr; in _mesa_pack_rgba_span_from_uints()
637 GLushort *dst = (GLushort *) dstAddr; in _mesa_pack_rgba_span_from_uints()
646 GLushort *dst = (GLushort *) dstAddr; in _mesa_pack_rgba_span_from_uints()
655 GLushort *dst = (GLushort *) dstAddr; in _mesa_pack_rgba_span_from_uints()
668 GLushort *dst = (GLushort *) dstAddr; in _mesa_pack_rgba_span_from_uints()
[all …]
Dformat_unpack.c223 const GLushort *s = ((const GLushort *) src); in unpack_RGB565()
236 const GLushort *s = ((const GLushort *) src); in unpack_RGB565_REV()
250 const GLushort *s = ((const GLushort *) src); in unpack_ARGB4444()
263 const GLushort *s = ((const GLushort *) src); in unpack_ARGB4444_REV()
276 const GLushort *s = ((const GLushort *) src); in unpack_RGBA5551()
289 const GLushort *s = ((const GLushort *) src); in unpack_ARGB1555()
302 const GLushort *s = ((const GLushort *) src); in unpack_ARGB1555_REV()
305 GLushort tmp = (s[i] << 8) | (s[i] >> 8); /* byteswap */ in unpack_ARGB1555_REV()
329 const GLushort *s = ((const GLushort *) src); in unpack_AL88()
342 const GLushort *s = ((const GLushort *) src); in unpack_AL88_REV()
[all …]
Dmipmap.c266 const GLushort(*rowA)[4] = (const GLushort(*)[4]) srcRowA; in do_row()
267 const GLushort(*rowB)[4] = (const GLushort(*)[4]) srcRowB; in do_row()
268 GLushort(*dst)[4] = (GLushort(*)[4]) dstRow; in do_row()
279 const GLushort(*rowA)[3] = (const GLushort(*)[3]) srcRowA; in do_row()
280 const GLushort(*rowB)[3] = (const GLushort(*)[3]) srcRowB; in do_row()
281 GLushort(*dst)[3] = (GLushort(*)[3]) dstRow; in do_row()
291 const GLushort(*rowA)[2] = (const GLushort(*)[2]) srcRowA; in do_row()
292 const GLushort(*rowB)[2] = (const GLushort(*)[2]) srcRowB; in do_row()
293 GLushort(*dst)[2] = (GLushort(*)[2]) dstRow; in do_row()
302 const GLushort *rowA = (const GLushort *) srcRowA; in do_row()
[all …]
Dapi_arrayelt.c350 VertexAttrib1NusvNV(GLuint index, const GLushort *v) in VertexAttrib1NusvNV()
356 VertexAttrib1usvNV(GLuint index, const GLushort *v) in VertexAttrib1usvNV()
362 VertexAttrib2NusvNV(GLuint index, const GLushort *v) in VertexAttrib2NusvNV()
369 VertexAttrib2usvNV(GLuint index, const GLushort *v) in VertexAttrib2usvNV()
376 VertexAttrib3NusvNV(GLuint index, const GLushort *v) in VertexAttrib3NusvNV()
384 VertexAttrib3usvNV(GLuint index, const GLushort *v) in VertexAttrib3usvNV()
391 VertexAttrib4NusvNV(GLuint index, const GLushort *v) in VertexAttrib4NusvNV()
400 VertexAttrib4usvNV(GLuint index, const GLushort *v) in VertexAttrib4usvNV()
870 VertexAttrib1NusvARB(GLuint index, const GLushort *v) in VertexAttrib1NusvARB()
876 VertexAttrib1usvARB(GLuint index, const GLushort *v) in VertexAttrib1usvARB()
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/
Ds_masking.c72 const GLushort rMask = ctx->Color.ColorMask[buf][RCOMP] ? 0xffff : 0x0; in _swrast_mask_rgba_span()
73 const GLushort gMask = ctx->Color.ColorMask[buf][GCOMP] ? 0xffff : 0x0; in _swrast_mask_rgba_span()
74 const GLushort bMask = ctx->Color.ColorMask[buf][BCOMP] ? 0xffff : 0x0; in _swrast_mask_rgba_span()
75 const GLushort aMask = ctx->Color.ColorMask[buf][ACOMP] ? 0xffff : 0x0; in _swrast_mask_rgba_span()
76 const GLushort (*dst)[4] = (const GLushort (*)[4]) rbPixels; in _swrast_mask_rgba_span()
77 GLushort (*src)[4] = span->array->rgba16; in _swrast_mask_rgba_span()
Ds_texfetch_tmp.h94 const GLushort *src = TEXEL_ADDR(GLushort, texImage, i, j, k, 1); in FETCH()
561 const GLushort *src = TEXEL_ADDR(GLushort, texImage, i, j, k, 1); in FETCH()
562 const GLushort s = *src; in FETCH()
578 const GLushort *src = TEXEL_ADDR(GLushort, texImage, i, j, k, 1); in FETCH()
579 const GLushort s = (*src >> 8) | (*src << 8); /* byte swap */ in FETCH()
595 const GLushort *src = TEXEL_ADDR(GLushort, texImage, i, j, k, 1); in FETCH()
596 const GLushort s = *src; in FETCH()
612 const GLushort s = *TEXEL_ADDR(GLushort, texImage, i, j, k, 1); in FETCH()
627 const GLushort *src = TEXEL_ADDR(GLushort, texImage, i, j, k, 1); in FETCH()
628 const GLushort s = *src; in FETCH()
[all …]
Ds_blend.c88 bytes = 4 * n * sizeof(GLushort); in blend_noop()
169 GLushort (*rgba)[4] = (GLushort (*)[4]) src; in blend_transparency_ushort()
170 const GLushort (*dest)[4] = (const GLushort (*)[4]) dst; in blend_transparency_ushort()
192 GLushort r = (GLushort) ((rgba[i][RCOMP] - dest[i][RCOMP]) * tt + dest[i][RCOMP]); in blend_transparency_ushort()
193 GLushort g = (GLushort) ((rgba[i][GCOMP] - dest[i][GCOMP]) * tt + dest[i][GCOMP]); in blend_transparency_ushort()
194 GLushort b = (GLushort) ((rgba[i][BCOMP] - dest[i][BCOMP]) * tt + dest[i][BCOMP]); in blend_transparency_ushort()
195 GLushort a = (GLushort) ((rgba[i][ACOMP] - dest[i][ACOMP]) * tt + dest[i][ACOMP]); in blend_transparency_ushort()
274 GLushort (*rgba)[4] = (GLushort (*)[4]) src; in blend_add()
275 const GLushort (*dest)[4] = (const GLushort (*)[4]) dst; in blend_add()
333 GLushort (*rgba)[4] = (GLushort (*)[4]) src; in blend_min()
[all …]
Ds_fog.c172 GLushort (*rgba)[4] = span->array->rgba16; in _swrast_fog_rgba_span()
173 FOG_LOOP(GLushort, LINEAR_FOG); in _swrast_fog_rgba_span()
191 GLushort (*rgba)[4] = span->array->rgba16; in _swrast_fog_rgba_span()
192 FOG_LOOP(GLushort, EXP_FOG); in _swrast_fog_rgba_span()
210 GLushort (*rgba)[4] = span->array->rgba16; in _swrast_fog_rgba_span()
211 FOG_LOOP(GLushort, EXP2_FOG); in _swrast_fog_rgba_span()
235 GLushort (*rgba)[4] = span->array->rgba16; in _swrast_fog_rgba_span()
236 FOG_LOOP(GLushort, BLEND_FOG); in _swrast_fog_rgba_span()
Ds_alpha.c120 GLushort (*rgba)[4] = span->array->rgba16; in _swrast_alpha_test()
121 GLushort ref; in _swrast_alpha_test()
144 GLushort ref; in _swrast_alpha_test()
/external/mesa3d/src/mesa/swrast/
Ds_masking.c72 const GLushort rMask = ctx->Color.ColorMask[buf][RCOMP] ? 0xffff : 0x0; in _swrast_mask_rgba_span()
73 const GLushort gMask = ctx->Color.ColorMask[buf][GCOMP] ? 0xffff : 0x0; in _swrast_mask_rgba_span()
74 const GLushort bMask = ctx->Color.ColorMask[buf][BCOMP] ? 0xffff : 0x0; in _swrast_mask_rgba_span()
75 const GLushort aMask = ctx->Color.ColorMask[buf][ACOMP] ? 0xffff : 0x0; in _swrast_mask_rgba_span()
76 const GLushort (*dst)[4] = (const GLushort (*)[4]) rbPixels; in _swrast_mask_rgba_span()
77 GLushort (*src)[4] = span->array->rgba16; in _swrast_mask_rgba_span()
Ds_texfetch_tmp.h94 const GLushort *src = TEXEL_ADDR(GLushort, texImage, i, j, k, 1); in FETCH()
561 const GLushort *src = TEXEL_ADDR(GLushort, texImage, i, j, k, 1); in FETCH()
562 const GLushort s = *src; in FETCH()
578 const GLushort *src = TEXEL_ADDR(GLushort, texImage, i, j, k, 1); in FETCH()
579 const GLushort s = (*src >> 8) | (*src << 8); /* byte swap */ in FETCH()
595 const GLushort *src = TEXEL_ADDR(GLushort, texImage, i, j, k, 1); in FETCH()
596 const GLushort s = *src; in FETCH()
612 const GLushort s = *TEXEL_ADDR(GLushort, texImage, i, j, k, 1); in FETCH()
627 const GLushort *src = TEXEL_ADDR(GLushort, texImage, i, j, k, 1); in FETCH()
628 const GLushort s = *src; in FETCH()
[all …]
Ds_blend.c88 bytes = 4 * n * sizeof(GLushort); in blend_noop()
169 GLushort (*rgba)[4] = (GLushort (*)[4]) src; in blend_transparency_ushort()
170 const GLushort (*dest)[4] = (const GLushort (*)[4]) dst; in blend_transparency_ushort()
192 GLushort r = (GLushort) ((rgba[i][RCOMP] - dest[i][RCOMP]) * tt + dest[i][RCOMP]); in blend_transparency_ushort()
193 GLushort g = (GLushort) ((rgba[i][GCOMP] - dest[i][GCOMP]) * tt + dest[i][GCOMP]); in blend_transparency_ushort()
194 GLushort b = (GLushort) ((rgba[i][BCOMP] - dest[i][BCOMP]) * tt + dest[i][BCOMP]); in blend_transparency_ushort()
195 GLushort a = (GLushort) ((rgba[i][ACOMP] - dest[i][ACOMP]) * tt + dest[i][ACOMP]); in blend_transparency_ushort()
274 GLushort (*rgba)[4] = (GLushort (*)[4]) src; in blend_add()
275 const GLushort (*dest)[4] = (const GLushort (*)[4]) dst; in blend_add()
333 GLushort (*rgba)[4] = (GLushort (*)[4]) src; in blend_min()
[all …]
Ds_fog.c172 GLushort (*rgba)[4] = span->array->rgba16; in _swrast_fog_rgba_span()
173 FOG_LOOP(GLushort, LINEAR_FOG); in _swrast_fog_rgba_span()
191 GLushort (*rgba)[4] = span->array->rgba16; in _swrast_fog_rgba_span()
192 FOG_LOOP(GLushort, EXP_FOG); in _swrast_fog_rgba_span()
210 GLushort (*rgba)[4] = span->array->rgba16; in _swrast_fog_rgba_span()
211 FOG_LOOP(GLushort, EXP2_FOG); in _swrast_fog_rgba_span()
235 GLushort (*rgba)[4] = span->array->rgba16; in _swrast_fog_rgba_span()
236 FOG_LOOP(GLushort, BLEND_FOG); in _swrast_fog_rgba_span()
Ds_alpha.c120 GLushort (*rgba)[4] = span->array->rgba16; in _swrast_alpha_test()
121 GLushort ref; in _swrast_alpha_test()
144 GLushort ref; in _swrast_alpha_test()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_array.c49 EXTRACT_FUNC(GLushort, unsigned, 1);
50 EXTRACT_FUNC(GLushort, float, USHRT_MAX);
78 *extract_u = EXTRACT(GLushort, unsigned); in get_array_extract()
79 *extract_f = EXTRACT(GLushort, float); in get_array_extract()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/
Dnouveau_array.c49 EXTRACT_FUNC(GLushort, unsigned, 1);
50 EXTRACT_FUNC(GLushort, float, USHRT_MAX);
78 *extract_u = EXTRACT(GLushort, unsigned); in get_array_extract()
79 *extract_f = EXTRACT(GLushort, float); in get_array_extract()
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/
DIndexDataManager.cpp64 GLushort *out = static_cast<GLushort*>(output); in convertIndices()
80 memcpy(output, input, count * sizeof(GLushort)); in convertIndices()
84 const GLushort *in = static_cast<const GLushort*>(input); in convertIndices()
122 computeRange(static_cast<const GLushort*>(indices), count, minIndex, maxIndex); in computeRange()
153 case GL_UNSIGNED_SHORT: alignedOffset = (offset % sizeof(GLushort) == 0); break; in prepareIndexData()
/external/chromium_org/third_party/angle/samples/angle/sample_util/
Dgeometry_utils.h19 std::vector<GLushort> indices;
29 std::vector<GLushort> indices;
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/
Dr200_tcl.c106 #define ELT_TYPE GLushort
142 static GLushort *r200AllocElts( r200ContextPtr rmesa, GLuint nr ) in r200AllocElts()
147 GLushort *dest = (GLushort *)(rmesa->radeon.tcl.elt_dma_bo->ptr + in r200AllocElts()
222 GLushort *des = (GLushort *)( (uintptr_t)dest & ~0x2 ); \
223 (des)[ off + 1 - 2 * ( off & 1 ) ] = (GLushort)(x); \
227 (dest)[offset] = (GLushort) (x); \

123456789