Home
last modified time | relevance | path

Searched refs:ChanType (Results 1 – 14 of 14) sorted by relevance

/external/mesa3d/src/mesa/swrast/
Ds_fog.c141 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 …]
Ds_alpha.c113 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()
Ds_zoom.c163 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()
Ds_span.c228 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 …]
Ds_masking.c58 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()
Ds_logic.c201 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()
Ds_span.h80 GLenum ChanType; /**< Color channel type, GL_UNSIGNED_BYTE, GL_FLOAT */ member
Ds_copypix.c187 span.array->ChanType = GL_FLOAT; in copy_rgba_pixels()
196 span.array->ChanType = CHAN_TYPE; /* restore */ in copy_rgba_pixels()
Ds_drawpix.c473 span.array->ChanType = GL_FLOAT; in draw_rgba_pixels()
493 span.array->ChanType = CHAN_TYPE; in draw_rgba_pixels()
Ds_fragprog.c281 ASSERT(span->array->ChanType == GL_FLOAT); in _swrast_exec_fragment_program()
Ds_atifragshader.c589 ASSERT(span->array->ChanType == GL_FLOAT); in _swrast_exec_fragment_shader()
Ds_context.c784 swrast->SpanArrays[i].ChanType = CHAN_TYPE; in _swrast_CreateContext()
Ds_texcombine.c552 span->array->ChanType = CHAN_TYPE; in texture_combine()
Ds_blend.c1008 span->array->rgba, rbPixels, span->array->ChanType); in _swrast_blend_span()