Searched refs:GLushort (Results 26 - 50 of 120) sorted by relevance

12345

/external/mesa3d/src/mesa/main/
H A Dmacros.h70 /** Convert GLushort in [0,65535] to GLfloat in [0.0,1.0] */
73 /** Convert GLfloat in [0.0,1.0] to GLushort in [0, 65535] */
129 #define BYTE_TO_USHORT(b) ((b) < 0 ? 0 : ((GLushort) (((b) * 65535) / 255)))
130 #define UBYTE_TO_USHORT(b) (((GLushort) (b) << 8) | (GLushort) (b))
131 #define SHORT_TO_USHORT(s) ((s) < 0 ? 0 : ((GLushort) (((s) * 65535 / 32767))))
132 #define INT_TO_USHORT(i) ((i) < 0 ? 0 : ((GLushort) ((i) >> 15)))
133 #define UINT_TO_USHORT(i) ((i) < 0 ? 0 : ((GLushort) ((i) >> 16)))
135 us = ( (GLushort) _mesa_lroundevenf( CLAMP((f), 0.0F, 1.0F) * 65535.0F) )
137 us = ( (GLushort) _mesa_lroundeven
[all...]
H A Dapi_arrayelt.c361 VertexAttrib1NusvNV(GLuint index, const GLushort *v)
367 VertexAttrib1usvNV(GLuint index, const GLushort *v)
373 VertexAttrib2NusvNV(GLuint index, const GLushort *v)
380 VertexAttrib2usvNV(GLuint index, const GLushort *v)
387 VertexAttrib3NusvNV(GLuint index, const GLushort *v)
395 VertexAttrib3usvNV(GLuint index, const GLushort *v)
402 VertexAttrib4NusvNV(GLuint index, const GLushort *v)
411 VertexAttrib4usvNV(GLuint index, const GLushort *v)
881 VertexAttrib1NusvARB(GLuint index, const GLushort *v)
887 VertexAttrib1usvARB(GLuint index, const GLushort *
[all...]
H A Dpixel.c273 _mesa_PixelMapusv(GLenum map, GLsizei mapsize, const GLushort *values )
298 values = (const GLushort *) _mesa_map_pbo_source(ctx, &ctx->Unpack, values);
426 _mesa_GetnPixelMapusvARB( GLenum map, GLsizei bufSize, GLushort *values )
445 values = (GLushort *) _mesa_map_pbo_dest(ctx, &ctx->Pack, values);
458 values[i] = (GLushort) CLAMP(ctx->PixelMaps.ItoI.Map[i], 0.0F, 65535.0F);
463 values[i] = (GLushort) CLAMP(ctx->PixelMaps.StoS.Map[i], 0.0F, 65535.0F);
477 _mesa_GetPixelMapusv( GLenum map, GLushort *values )
H A Dapi_loopback.c129 _mesa_Color3us( GLushort red, GLushort green, GLushort blue )
178 _mesa_Color3usv( const GLushort *v )
230 _mesa_Color4us( GLushort red, GLushort green, GLushort blue, GLushort alpha )
282 _mesa_Color4usv( const GLushort *v)
983 _mesa_SecondaryColor3us( GLushort re
[all...]
H A Dimage.h38 _mesa_swap2(GLushort *p, GLuint n);
/external/autotest/client/deps/glbench/src/
H A Dattributefetchtest.cc104 GLushort *indices = NULL;
H A Dtrianglesetuptest.cc62 GLushort *indices = NULL;
H A Dvaryingsandddxytest.cc175 GLushort *indices = NULL;
/external/mesa3d/src/gallium/state_trackers/wgl/
H A Dstw_icd.h73 void (GLAPIENTRY * Color3us)(GLushort, GLushort, GLushort);
74 void (GLAPIENTRY * Color3usv)(const GLushort *);
89 void (GLAPIENTRY * Color4us)(GLushort, GLushort, GLushort, GLushort);
90 void (GLAPIENTRY * Color4usv)(const GLushort *);
217 void (GLAPIENTRY * LineStipple)(GLint, GLushort);
[all...]
/external/deqp/modules/glshared/
H A DglsStateChangePerfTestCases.cpp104 void genIndices (vector<GLushort>& indices, int triangleCount)
110 indices.push_back((GLushort)(triangleNdx*3));
111 indices.push_back((GLushort)(triangleNdx*3+1));
112 indices.push_back((GLushort)(triangleNdx*3+2));
241 vector<GLushort> indices;
253 gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, (GLsizeiptr)(indices.size() * sizeof(GLushort)), &(indices[0]), GL_STATIC_DRAW);
/external/mesa3d/src/mesa/drivers/x11/
H A Dxm_line.c220 GLushort pixel = PACK_5R6G5B( color[0], color[1], color[2] );
221 #define PIXEL_TYPE GLushort
238 #define PIXEL_TYPE GLushort
369 GLushort pixel = PACK_5R6G5B( color[0], color[1], color[2] );
372 #define PIXEL_TYPE GLushort
395 #define PIXEL_TYPE GLushort
H A Dxm_tri.c264 #define PIXEL_TYPE GLushort
294 #define PIXEL_TYPE GLushort
490 #define PIXEL_TYPE GLushort
494 GLushort p = PACK_5R6G5B( v2->color[0], v2->color[1], v2->color[2] );
516 #define PIXEL_TYPE GLushort
693 #define PIXEL_TYPE GLushort
716 #define PIXEL_TYPE GLushort
863 #define PIXEL_TYPE GLushort
883 #define PIXEL_TYPE GLushort
/external/mesa3d/src/mesa/drivers/dri/r200/
H A Dr200_ioctl.h57 extern GLushort *r200AllocEltsOpenEnded( r200ContextPtr rmesa,
/external/mesa3d/src/mesa/drivers/dri/radeon/
H A Dradeon_ioctl.h55 extern GLushort *radeonAllocEltsOpenEnded( r100ContextPtr rmesa,
H A Dradeon_ioctl.c214 GLushort *radeonAllocEltsOpenEnded( r100ContextPtr rmesa,
219 GLushort *retval;
261 retval = (GLushort *)(rmesa->radeon.cmdbuf.cs->packets + rmesa->tcl.elt_cmd_offset);
/external/mesa3d/src/mesa/swrast/
H A Ds_span.h85 GLushort rgba16[SWRAST_MAX_WIDTH][4];
H A Ds_clear.c141 SIMPLE_TYPE_CLEAR(GLushort);
150 MULTI_WORD_CLEAR(GLushort, 3);
H A Ds_zoom.c221 const GLushort (*rgba)[4] = (const GLushort (*)[4]) src;
256 const GLushort (*rgb)[3] = (const GLushort (*)[3]) src;
305 ((zoomed.array->ChanType == GL_UNSIGNED_SHORT) ? 4 * sizeof(GLushort)
H A Dswrast.h53 #define DEFAULT_SOFTWARE_DEPTH_TYPE GLushort
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_sf_emit.c334 GLushort *pc,
335 GLushort *pc_persp,
336 GLushort *pc_linear)
442 GLushort pc, pc_persp, pc_linear;
526 GLushort pc, pc_persp, pc_linear;
590 GLushort pc, pc_persp, pc_linear, pc_coord_replace;
686 GLushort pc, pc_persp, pc_linear;
/external/deqp/modules/gles3/functional/
H A Des3fVertexArrayObjectTests.cpp273 case GL_UNSIGNED_SHORT: typeSize = sizeof(GLushort); break;
296 GLushort v = (GLushort)m_random.getInt(m_spec.indexRangeMin, m_spec.indexRangeMax);
334 case GL_UNSIGNED_SHORT: stride = buffer.componentCount * (int)sizeof(GLushort); break;
387 GLushort v = (GLushort)m_random.getInt(buffer.intRangeMin, buffer.intRangeMax);
849 case GL_UNSIGNED_SHORT: typeSize = sizeof(GLushort); break;
872 GLushort v = (GLushort)m_random.getInt(m_spec.indexRangeMin, m_spec.indexRangeMax);
910 case GL_UNSIGNED_SHORT: stride = buffer.componentCount * (int)sizeof(GLushort); brea
[all...]
/external/mesa3d/src/mesa/tnl/
H A Dt_draw.c205 CONVERT(GLushort, USHORT_TO_FLOAT);
383 const GLushort *in = (GLushort *)ptr;
/external/mesa3d/src/glx/
H A Dvertarr.c123 GLushort type;
/external/mesa3d/src/mesa/vbo/
H A Dvbo_rebase.c79 REBASE(GLushort)
/external/mesa3d/include/GL/
H A Dwglext.h361 typedef GLboolean (WINAPI * PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC) (GLushort id);
362 typedef GLboolean (WINAPI * PFNWGLLOADDISPLAYCOLORTABLEEXTPROC) (const GLushort *table, GLuint length);
363 typedef GLboolean (WINAPI * PFNWGLBINDDISPLAYCOLORTABLEEXTPROC) (GLushort id);
364 typedef VOID (WINAPI * PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC) (GLushort id);
366 GLboolean WINAPI wglCreateDisplayColorTableEXT (GLushort id);
367 GLboolean WINAPI wglLoadDisplayColorTableEXT (const GLushort *table, GLuint length);
368 GLboolean WINAPI wglBindDisplayColorTableEXT (GLushort id);
369 VOID WINAPI wglDestroyDisplayColorTableEXT (GLushort id);

Completed in 1998 milliseconds

12345