Home
last modified time | relevance | path

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

123456

/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()
/external/swiftshader/src/OpenGL/libGL/
DIndexDataManager.cpp59 else if(type == GL_UNSIGNED_SHORT) in copyIndices()
89 else if(type == GL_UNSIGNED_SHORT) in computeRange()
111 case GL_UNSIGNED_SHORT: alignedOffset = (offset % sizeof(GLushort) == 0); break; in prepareIndexData()
166 case GL_UNSIGNED_SHORT: return sizeof(GLushort); in typeSize()
/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()
/external/swiftshader/src/OpenGL/libGLES_CM/
DIndexDataManager.cpp55 else if(type == GL_UNSIGNED_SHORT) in copyIndices()
81 else if(type == GL_UNSIGNED_SHORT) in computeRange()
148 case GL_UNSIGNED_SHORT: return sizeof(GLushort); in typeSize()
/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 * (int)sizeof(GLushort); break; in createRandomBufferData()
385 case GL_UNSIGNED_SHORT: in createRandomBufferData()
441 case GL_UNSIGNED_SHORT: scale = (1.0f/float((1u<<15)-1u)); break; in createProgram()
459 case GL_UNSIGNED_SHORT: scale = (0.5f/float((1u<<15)-1u)); break; in createProgram()
487 case GL_UNSIGNED_SHORT: scale = (1.0f/float((1u<<15)-1u)); break; in createProgram()
516 case GL_UNSIGNED_SHORT: scale = (1.0f/float((1u<<15)-1u)); break; in createProgram()
849 case GL_UNSIGNED_SHORT: typeSize = sizeof(GLushort); break; in generateIndices()
870 case GL_UNSIGNED_SHORT: in generateIndices()
[all …]
/external/swiftshader/src/OpenGL/libGLESv2/
DIndexDataManager.cpp59 else if(type == GL_UNSIGNED_SHORT) in copyIndices()
89 else if(type == GL_UNSIGNED_SHORT) in computeRange()
162 case GL_UNSIGNED_SHORT: return sizeof(GLushort); in typeSize()
Dutilities.cpp63 InsertFormatMapping(&map, GL_RGBA_INTEGER, GL_UNSIGNED_SHORT, GL_RGBA16UI); in BuildFormatMap()
80 InsertFormatMapping(&map, GL_RGB_INTEGER, GL_UNSIGNED_SHORT, GL_RGB16UI); in BuildFormatMap()
93 InsertFormatMapping(&map, GL_RG_INTEGER, GL_UNSIGNED_SHORT, GL_RG16UI); in BuildFormatMap()
106 InsertFormatMapping(&map, GL_RED_INTEGER, GL_UNSIGNED_SHORT, GL_R16UI); in BuildFormatMap()
136 InsertFormatMapping(&map, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT, GL_DEPTH_COMPONENT16); in BuildFormatMap()
660 case GL_UNSIGNED_SHORT: in ValidReadPixelsFormatType()
733 case GL_UNSIGNED_SHORT: // GL_OES_depth_texture in ValidateTextureFormatType()
875 case GL_UNSIGNED_SHORT: VALIDATE_INTERNALFORMAT(GL_RGBA16UI) in ValidateTextureFormatType()
902 case GL_UNSIGNED_SHORT: VALIDATE_INTERNALFORMAT(GL_RGB16UI) in ValidateTextureFormatType()
924 case GL_UNSIGNED_SHORT: VALIDATE_INTERNALFORMAT(GL_RG16UI) in ValidateTextureFormatType()
[all …]
DlibGLESv3.cpp128 InsertFormatMapping(map, GL_R16UI, GL_RED_INTEGER, GL_UNSIGNED_SHORT); in BuildFormatMap3D()
139 InsertFormatMapping(map, GL_RG16UI, GL_RG_INTEGER, GL_UNSIGNED_SHORT); in BuildFormatMap3D()
159 InsertFormatMapping(map, GL_RGB16UI, GL_RGB_INTEGER, GL_UNSIGNED_SHORT); in BuildFormatMap3D()
178 InsertFormatMapping(map, GL_RGBA16UI, GL_RGBA_INTEGER, GL_UNSIGNED_SHORT); in BuildFormatMap3D()
183 InsertFormatMapping(map, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT); in BuildFormatMap3D()
200 case GL_UNSIGNED_SHORT: in ValidateType3D()
275 InsertFormatStorageMapping(map, GL_R16UI, GL_UNSIGNED_SHORT); in BuildFormatMapStorage2D()
285 InsertFormatStorageMapping(map, GL_RG16UI, GL_UNSIGNED_SHORT); in BuildFormatMapStorage2D()
299 InsertFormatStorageMapping(map, GL_RGB16UI, GL_UNSIGNED_SHORT); in BuildFormatMapStorage2D()
314 InsertFormatStorageMapping(map, GL_RGBA16UI, GL_UNSIGNED_SHORT); in BuildFormatMapStorage2D()
[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/autotest/client/deps/glbench/src/
Dtestbase.cc225 glDrawElements(GL_TRIANGLES, count_, GL_UNSIGNED_SHORT, 0); in TestFunc()
228 glDrawElements(GL_TRIANGLES, count_, GL_UNSIGNED_SHORT, 0); in TestFunc()
Dglinterfacetest.cc81 glDrawElements(GL_TRIANGLES, num_indices_, GL_UNSIGNED_SHORT, 0); in RenderGLSimple()
/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/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()
/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/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()

123456