Searched refs:ChanType (Results 1 – 14 of 14) sorted by relevance
142 if (span->array->ChanType == GL_UNSIGNED_BYTE) { in _swrast_fog_rgba_span()147 else if (span->array->ChanType == GL_UNSIGNED_SHORT) { in _swrast_fog_rgba_span()168 if (span->array->ChanType == GL_UNSIGNED_BYTE) { in _swrast_fog_rgba_span()172 else if (span->array->ChanType == GL_UNSIGNED_SHORT) { in _swrast_fog_rgba_span()178 assert(span->array->ChanType == GL_FLOAT); in _swrast_fog_rgba_span()187 if (span->array->ChanType == GL_UNSIGNED_BYTE) { in _swrast_fog_rgba_span()191 else if (span->array->ChanType == GL_UNSIGNED_SHORT) { in _swrast_fog_rgba_span()197 assert(span->array->ChanType == GL_FLOAT); in _swrast_fog_rgba_span()206 if (span->array->ChanType == GL_UNSIGNED_BYTE) { in _swrast_fog_rgba_span()210 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()
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()
232 switch (span->array->ChanType) { in interpolate_int_colors()313 span->array->ChanType); in interpolate_int_colors()375 span->array->ChanType = GL_FLOAT; in interpolate_float_colors()848 if (span->array->ChanType == GL_FLOAT) { in add_specular()876 span->array->ChanType = GL_FLOAT; in add_specular()888 if (span->array->ChanType == GL_UNSIGNED_BYTE) { in apply_aa_coverage()897 else if (span->array->ChanType == GL_UNSIGNED_SHORT) { in apply_aa_coverage()922 assert(span->array->ChanType == GL_FLOAT); in clamp_colors()945 span->array->ChanType = GL_FLOAT; in convert_color_type()965 _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()75 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()
531 span.array->ChanType = GL_FLOAT; in draw_rgba_pixels()551 span.array->ChanType = CHAN_TYPE; in draw_rgba_pixels()
575 assert(span->array->ChanType == GL_FLOAT); in _swrast_exec_fragment_shader()
779 swrast->SpanArrays[i].ChanType = CHAN_TYPE; in _swrast_CreateContext()
543 span->array->ChanType = CHAN_TYPE; in texture_combine()
1005 span->array->rgba, rbPixels, span->array->ChanType); in _swrast_blend_span()