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 …]
112 if (span->array->ChanType == GL_UNSIGNED_BYTE) { in _swrast_alpha_test()118 else if (span->array->ChanType == GL_UNSIGNED_SHORT) { in _swrast_alpha_test()133 if (span->array->ChanType == GL_UNSIGNED_BYTE) { in _swrast_alpha_test()140 else if (span->array->ChanType == GL_UNSIGNED_SHORT) { in _swrast_alpha_test()
162 zoomed.array->ChanType = span->array->ChanType; in zoom_span()163 if (zoomed.array->ChanType == GL_UNSIGNED_BYTE) in zoom_span()165 else if (zoomed.array->ChanType == GL_UNSIGNED_SHORT) in zoom_span()210 if (zoomed.array->ChanType == GL_UNSIGNED_BYTE) { in zoom_span()220 else if (zoomed.array->ChanType == GL_UNSIGNED_SHORT) { in zoom_span()242 if (zoomed.array->ChanType == GL_UNSIGNED_BYTE) { in zoom_span()255 else if (zoomed.array->ChanType == GL_UNSIGNED_SHORT) { in zoom_span()304 (zoomed.array->ChanType == GL_UNSIGNED_BYTE) ? 4 * sizeof(GLubyte) : in zoom_span()305 ((zoomed.array->ChanType == GL_UNSIGNED_SHORT) ? 4 * sizeof(GLushort) in zoom_span()
231 switch (span->array->ChanType) { in interpolate_int_colors()312 span->array->ChanType); in interpolate_int_colors()374 span->array->ChanType = GL_FLOAT; in interpolate_float_colors()847 if (span->array->ChanType == GL_FLOAT) { in add_specular()875 span->array->ChanType = GL_FLOAT; in add_specular()887 if (span->array->ChanType == GL_UNSIGNED_BYTE) { in apply_aa_coverage()896 else if (span->array->ChanType == GL_UNSIGNED_SHORT) { in apply_aa_coverage()921 assert(span->array->ChanType == GL_FLOAT); in clamp_colors()944 span->array->ChanType = GL_FLOAT; in convert_color_type()964 _mesa_convert_colors(span->array->ChanType, src, 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
176 span.array->ChanType = GL_FLOAT; in copy_rgba_pixels()185 span.array->ChanType = CHAN_TYPE; /* restore */ in copy_rgba_pixels()
269 assert(span->array->ChanType == GL_FLOAT); in _swrast_exec_fragment_program()
523 span.array->ChanType = GL_FLOAT; in draw_rgba_pixels()543 span.array->ChanType = CHAN_TYPE; in draw_rgba_pixels()
575 assert(span->array->ChanType == GL_FLOAT); in _swrast_exec_fragment_shader()
784 swrast->SpanArrays[i].ChanType = CHAN_TYPE; in _swrast_CreateContext()
542 span->array->ChanType = CHAN_TYPE; in texture_combine()
1005 span->array->rgba, rbPixels, span->array->ChanType); in _swrast_blend_span()