Searched refs:ChanType (Results 1 – 14 of 14) sorted by relevance
141 if (span->array->ChanType == GL_UNSIGNED_BYTE) { in _swrast_fog_rgba_span()146 else if (span->array->ChanType == GL_UNSIGNED_SHORT) { in _swrast_fog_rgba_span()167 if (span->array->ChanType == GL_UNSIGNED_BYTE) { in _swrast_fog_rgba_span()171 else if (span->array->ChanType == GL_UNSIGNED_SHORT) { in _swrast_fog_rgba_span()177 ASSERT(span->array->ChanType == GL_FLOAT); in _swrast_fog_rgba_span()186 if (span->array->ChanType == GL_UNSIGNED_BYTE) { in _swrast_fog_rgba_span()190 else if (span->array->ChanType == GL_UNSIGNED_SHORT) { in _swrast_fog_rgba_span()196 ASSERT(span->array->ChanType == GL_FLOAT); in _swrast_fog_rgba_span()205 if (span->array->ChanType == GL_UNSIGNED_BYTE) { in _swrast_fog_rgba_span()209 else if (span->array->ChanType == GL_UNSIGNED_SHORT) { in _swrast_fog_rgba_span()[all …]
113 if (span->array->ChanType == GL_UNSIGNED_BYTE) { in _swrast_alpha_test()119 else if (span->array->ChanType == GL_UNSIGNED_SHORT) { in _swrast_alpha_test()134 if (span->array->ChanType == GL_UNSIGNED_BYTE) { in _swrast_alpha_test()141 else if (span->array->ChanType == GL_UNSIGNED_SHORT) { in _swrast_alpha_test()
163 zoomed.array->ChanType = span->array->ChanType; in zoom_span()164 if (zoomed.array->ChanType == GL_UNSIGNED_BYTE) in zoom_span()166 else if (zoomed.array->ChanType == GL_UNSIGNED_SHORT) in zoom_span()211 if (zoomed.array->ChanType == GL_UNSIGNED_BYTE) { in zoom_span()221 else if (zoomed.array->ChanType == GL_UNSIGNED_SHORT) { in zoom_span()243 if (zoomed.array->ChanType == GL_UNSIGNED_BYTE) { in zoom_span()256 else if (zoomed.array->ChanType == GL_UNSIGNED_SHORT) { in zoom_span()305 (zoomed.array->ChanType == GL_UNSIGNED_BYTE) ? 4 * sizeof(GLubyte) : in zoom_span()306 ((zoomed.array->ChanType == GL_UNSIGNED_SHORT) ? 4 * sizeof(GLushort) in zoom_span()
228 switch (span->array->ChanType) { in interpolate_int_colors()309 span->array->ChanType); in interpolate_int_colors()371 span->array->ChanType = GL_FLOAT; in interpolate_float_colors()844 if (span->array->ChanType == GL_FLOAT) { in add_specular()872 span->array->ChanType = GL_FLOAT; in add_specular()884 if (span->array->ChanType == GL_UNSIGNED_BYTE) { in apply_aa_coverage()893 else if (span->array->ChanType == GL_UNSIGNED_SHORT) { in apply_aa_coverage()918 ASSERT(span->array->ChanType == GL_FLOAT); in clamp_colors()939 if (output > 0 || span->array->ChanType == GL_FLOAT) { in convert_color_type()941 span->array->ChanType = GL_FLOAT; in convert_color_type()[all …]
58 if (span->array->ChanType == GL_UNSIGNED_BYTE) { in _swrast_mask_rgba_span()69 else if (span->array->ChanType == GL_UNSIGNED_SHORT) { in _swrast_mask_rgba_span()
201 if (span->array->ChanType == GL_UNSIGNED_BYTE) { in _swrast_logicop_rgba_span()207 else if (span->array->ChanType == GL_UNSIGNED_SHORT) { in _swrast_logicop_rgba_span()
80 GLenum ChanType; /**< Color channel type, GL_UNSIGNED_BYTE, GL_FLOAT */ member
187 span.array->ChanType = GL_FLOAT; in copy_rgba_pixels()196 span.array->ChanType = CHAN_TYPE; /* restore */ in copy_rgba_pixels()
473 span.array->ChanType = GL_FLOAT; in draw_rgba_pixels()493 span.array->ChanType = CHAN_TYPE; in draw_rgba_pixels()
281 ASSERT(span->array->ChanType == GL_FLOAT); in _swrast_exec_fragment_program()
589 ASSERT(span->array->ChanType == GL_FLOAT); in _swrast_exec_fragment_shader()
784 swrast->SpanArrays[i].ChanType = CHAN_TYPE; in _swrast_CreateContext()
552 span->array->ChanType = CHAN_TYPE; in texture_combine()
1008 span->array->rgba, rbPixels, span->array->ChanType); in _swrast_blend_span()