Home
last modified time | relevance | path

Searched refs:GL_UNSIGNED_SHORT (Results 1 – 25 of 105) sorted by relevance

12345

/external/mesa3d/src/mesa/main/
Dglformats.c82 case GL_UNSIGNED_SHORT: in _mesa_sizeof_type()
118 case GL_UNSIGNED_SHORT: in _mesa_sizeof_packed_type()
237 case GL_UNSIGNED_SHORT: in _mesa_bytes_per_pixel()
396 case GL_UNSIGNED_SHORT: in _mesa_is_type_integer()
426 case GL_UNSIGNED_SHORT: in _mesa_is_type_unsigned()
1107 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
1133 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
1152 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
1169 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
1199 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
[all …]
Dformats.c2126 *datatype = GL_UNSIGNED_SHORT; in _mesa_format_to_type_and_comps()
2134 *datatype = GL_UNSIGNED_SHORT; in _mesa_format_to_type_and_comps()
2154 *datatype = GL_UNSIGNED_SHORT; in _mesa_format_to_type_and_comps()
2169 *datatype = GL_UNSIGNED_SHORT; in _mesa_format_to_type_and_comps()
2223 *datatype = GL_UNSIGNED_SHORT; in _mesa_format_to_type_and_comps()
2353 *datatype = GL_UNSIGNED_SHORT; in _mesa_format_to_type_and_comps()
2357 *datatype = GL_UNSIGNED_SHORT; in _mesa_format_to_type_and_comps()
2472 *datatype = GL_UNSIGNED_SHORT; in _mesa_format_to_type_and_comps()
2476 *datatype = GL_UNSIGNED_SHORT; in _mesa_format_to_type_and_comps()
2480 *datatype = GL_UNSIGNED_SHORT; in _mesa_format_to_type_and_comps()
[all …]
Dapi_validate.c51 ASSERT(type == GL_UNSIGNED_SHORT); in index_bytes()
82 else if (type == GL_UNSIGNED_SHORT) { in _mesa_max_buffer_index()
301 case GL_UNSIGNED_SHORT: in valid_elements_type()
Dpack.c456 case GL_UNSIGNED_SHORT: in get_type_min_max()
544 case GL_UNSIGNED_SHORT: in _mesa_pack_rgba_span_from_uints()
931 case GL_UNSIGNED_SHORT: in _mesa_pack_rgba_span_from_ints()
1643 case GL_UNSIGNED_SHORT: in _mesa_pack_rgba_span_float()
2782 srcType == GL_UNSIGNED_SHORT || in extract_uint_indexes()
2841 case GL_UNSIGNED_SHORT: in extract_uint_indexes()
3170 srcType == GL_UNSIGNED_SHORT || in extract_float_rgba()
3261 case GL_UNSIGNED_SHORT: in extract_float_rgba()
3779 srcType == GL_UNSIGNED_SHORT || in extract_uint_rgba()
3850 case GL_UNSIGNED_SHORT: in extract_uint_rgba()
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_fog.c146 else if (span->array->ChanType == GL_UNSIGNED_SHORT) { in _swrast_fog_rgba_span()
171 else if (span->array->ChanType == GL_UNSIGNED_SHORT) { in _swrast_fog_rgba_span()
190 else if (span->array->ChanType == GL_UNSIGNED_SHORT) { in _swrast_fog_rgba_span()
209 else if (span->array->ChanType == GL_UNSIGNED_SHORT) { in _swrast_fog_rgba_span()
234 else if (span->array->ChanType == GL_UNSIGNED_SHORT) { in _swrast_fog_rgba_span()
Ds_alpha.c119 else if (span->array->ChanType == GL_UNSIGNED_SHORT) { in _swrast_alpha_test()
141 else if (span->array->ChanType == GL_UNSIGNED_SHORT) { in _swrast_alpha_test()
Ds_zoom.c166 else if (zoomed.array->ChanType == GL_UNSIGNED_SHORT) in zoom_span()
221 else if (zoomed.array->ChanType == GL_UNSIGNED_SHORT) { in zoom_span()
256 else if (zoomed.array->ChanType == GL_UNSIGNED_SHORT) { in zoom_span()
306 ((zoomed.array->ChanType == GL_UNSIGNED_SHORT) ? 4 * sizeof(GLushort) in zoom_span()
Ds_blend.c87 else if (chanType == GL_UNSIGNED_SHORT) in blend_noop()
179 ASSERT(chanType == GL_UNSIGNED_SHORT); in blend_transparency_ushort()
273 else if (chanType == GL_UNSIGNED_SHORT) { in blend_add()
332 else if (chanType == GL_UNSIGNED_SHORT) { in blend_min()
385 else if (chanType == GL_UNSIGNED_SHORT) { in blend_max()
438 else if (chanType == GL_UNSIGNED_SHORT) { in blend_modulate()
858 else if (chanType == GL_UNSIGNED_SHORT) { in blend_general()
949 else if (chanType == GL_UNSIGNED_SHORT) in _swrast_choose_blend_func()
Ds_chan.h58 #define CHAN_TYPE GL_UNSIGNED_SHORT
/external/deqp/modules/gles3/functional/
Des3fVertexArrayObjectTests.cpp273 case GL_UNSIGNED_SHORT: typeSize = sizeof(GLushort); break; in generateIndices()
294 case GL_UNSIGNED_SHORT: in generateIndices()
334 case GL_UNSIGNED_SHORT: stride = buffer.componentCount * sizeof(GLushort); break; in createRandomBufferData()
385 case GL_UNSIGNED_SHORT: in createRandomBufferData()
441 case GL_UNSIGNED_SHORT: scale = (1.0f/((1u<<15)-1)); break; in createProgram()
459 case GL_UNSIGNED_SHORT: scale = (0.5f/((1u<<15)-1)); break; in createProgram()
487 case GL_UNSIGNED_SHORT: scale = (1.0f/((1u<<15)-1)); break; in createProgram()
516 case GL_UNSIGNED_SHORT: scale = (1.0f/((1u<<15)-1)); break; in createProgram()
849 case GL_UNSIGNED_SHORT: typeSize = sizeof(GLushort); break; in generateIndices()
870 case GL_UNSIGNED_SHORT: in generateIndices()
[all …]
/external/deqp/modules/gles2/functional/
Des2fDepthRangeTests.cpp198 glDrawElements(GL_TRIANGLES, DE_LENGTH_OF_ARRAY(quadIndices), GL_UNSIGNED_SHORT, &quadIndices[0]); in iterate()
201 glDrawElements(GL_TRIANGLES, DE_LENGTH_OF_ARRAY(quadIndices), GL_UNSIGNED_SHORT, &quadIndices[0]); in iterate()
221 glDrawElements(GL_TRIANGLES, DE_LENGTH_OF_ARRAY(quadIndices), GL_UNSIGNED_SHORT, &quadIndices[0]); in iterate()
341 glDrawElements(GL_TRIANGLES, DE_LENGTH_OF_ARRAY(quadIndices), GL_UNSIGNED_SHORT, &quadIndices[0]); in iterate()
367 … glDrawElements(GL_TRIANGLES, DE_LENGTH_OF_ARRAY(quadIndices), GL_UNSIGNED_SHORT, &quadIndices[0]); in iterate()
/external/replicaisland/src/com/replica/replicaisland/
DGrid.java247 GL10.GL_UNSIGNED_SHORT, mIndexBuffer.position(startIndex)); in drawStrip()
251 GL11.GL_UNSIGNED_SHORT, startIndex * CHAR_SIZE); in drawStrip()
265 GL10.GL_UNSIGNED_SHORT, mIndexBuffer); in draw()
277 GL11.GL_UNSIGNED_SHORT, 0); in draw()
/external/deqp/framework/opengl/simplereference/
DsglrReferenceUtils.cpp37 case GL_UNSIGNED_SHORT: return rr::VERTEXATTRIBTYPE_PURE_UINT16; in mapGLPureIntegerVertexAttributeType()
74 case GL_UNSIGNED_SHORT: in mapGLFloatVertexAttributeType()
172 case GL_UNSIGNED_SHORT: return rr::INDEXTYPE_UINT16; in mapGLIndexType()
DsglrContextUtil.cpp104 ctx.drawElements(GL_TRIANGLES, DE_LENGTH_OF_ARRAY(indices), GL_UNSIGNED_SHORT, 0); in drawQuadWithVaoBuffers()
150 ctx.drawElements(GL_TRIANGLES, DE_LENGTH_OF_ARRAY(indices), GL_UNSIGNED_SHORT, &indices[0]); in drawQuadWithClientPointers()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_tex_format.c30 return GL_UNSIGNED_SHORT; in intel_mesa_format_to_rb_datatype()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_tex_format.c30 return GL_UNSIGNED_SHORT; in intel_mesa_format_to_rb_datatype()
Dbrw_draw_upload.c232 case GL_UNSIGNED_SHORT: return ushort_types_direct[size]; in get_surface_type()
245 case GL_UNSIGNED_SHORT: return ushort_types_norm[size]; in get_surface_type()
268 case GL_UNSIGNED_SHORT: return ushort_types_scale[size]; in get_surface_type()
290 case GL_UNSIGNED_SHORT: return sizeof(GLushort); in get_size()
301 case GL_UNSIGNED_SHORT: return BRW_INDEX_WORD; in get_index_type()
Dbrw_primitive_restart.c57 case GL_UNSIGNED_SHORT: in can_cut_index_handle_restart_index()
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_tex_format.c30 return GL_UNSIGNED_SHORT; in intel_mesa_format_to_rb_datatype()
/external/mesa3d/src/mesa/drivers/osmesa/
Dosmesa.c424 else if (osmesa->DataType == GL_UNSIGNED_SHORT) { in osmesa_renderbuffer_storage()
438 else if (osmesa->DataType == GL_UNSIGNED_SHORT) { in osmesa_renderbuffer_storage()
454 else if (osmesa->DataType == GL_UNSIGNED_SHORT) { in osmesa_renderbuffer_storage()
467 else if (osmesa->DataType == GL_UNSIGNED_SHORT) { in osmesa_renderbuffer_storage()
480 else if (osmesa->DataType == GL_UNSIGNED_SHORT) { in osmesa_renderbuffer_storage()
868 (type == GL_UNSIGNED_SHORT && CHAN_BITS >= 16) || in OSMesaMakeCurrent()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_array.c267 case GL_UNSIGNED_SHORT: return ushort_types_int[size-1]; in st_pipe_vertex_format()
281 case GL_UNSIGNED_SHORT: return ushort_types_norm[size-1]; in st_pipe_vertex_format()
296 case GL_UNSIGNED_SHORT: return ushort_types_scale[size-1]; in st_pipe_vertex_format()
/external/mesa3d/src/glx/
Dcompsize.c105 case GL_UNSIGNED_SHORT: in __glBytesPerElement()
Dindirect_vertex_array.c760 case GL_UNSIGNED_SHORT: in emit_DrawElements_none()
826 case GL_UNSIGNED_SHORT:{ in emit_DrawElements_old()
934 case GL_UNSIGNED_SHORT: in validate_type()
1259 case GL_UNSIGNED_SHORT: in __indirect_glColorPointer()
1494 case GL_UNSIGNED_SHORT: in __indirect_glSecondaryColorPointerEXT()
1605 case GL_UNSIGNED_SHORT: in __indirect_glVertexAttribPointerARB()
1636 case GL_UNSIGNED_SHORT: in __indirect_glVertexAttribPointerARB()
/external/mesa3d/docs/OLD/
DMESA_packed_depth_stencil.spec47 And perhaps just use GL_UNSIGNED_INT, GL_UNSIGNED_SHORT ?
52 3. Do we really want the GL_UNSIGNED_SHORT formats?
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_array.c77 case GL_UNSIGNED_SHORT: in get_array_extract()

12345