Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/swrast/
Ds_fog.c142 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 …]
Ds_alpha.c112 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()
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.c232 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 …]
Ds_masking.c58 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()
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.c176 span.array->ChanType = GL_FLOAT; in copy_rgba_pixels()
185 span.array->ChanType = CHAN_TYPE; /* restore */ in copy_rgba_pixels()
Ds_fragprog.c269 assert(span->array->ChanType == GL_FLOAT); in _swrast_exec_fragment_program()
Ds_drawpix.c531 span.array->ChanType = GL_FLOAT; in draw_rgba_pixels()
551 span.array->ChanType = CHAN_TYPE; in draw_rgba_pixels()
Ds_atifragshader.c575 assert(span->array->ChanType == GL_FLOAT); in _swrast_exec_fragment_shader()
Ds_context.c779 swrast->SpanArrays[i].ChanType = CHAN_TYPE; in _swrast_CreateContext()
Ds_texcombine.c543 span->array->ChanType = CHAN_TYPE; in texture_combine()
Ds_blend.c1005 span->array->rgba, rbPixels, span->array->ChanType); in _swrast_blend_span()