Home
last modified time | relevance | path

Searched refs:GLchan (Results 1 – 16 of 16) sorted by relevance

/third_party/mesa3d/src/mesa/swrast/
Ds_triangle.c245 const GLchan *texture;
274 GLchan sample[4]; /* the filtered texture sample */ in affine_span()
368 const GLchan *tex00 = info->texture + COMPS * pos; \ in affine_span()
387 const GLchan *tex00 = info->texture + COMPS * pos; \ in affine_span()
388 const GLchan *tex10 = tex00 + info->tbytesline; \ in affine_span()
389 const GLchan *tex01 = tex00 + COMPS; \ in affine_span()
390 const GLchan *tex11 = tex10 + COMPS; \ in affine_span()
411 GLchan *dest = span->array->rgba[0]; in affine_span()
551 info.texture = (const GLchan *) swImg->ImageSlices[0]; \
601 const GLchan *texture;
[all …]
Ds_chan.h51 typedef GLubyte GLchan; typedef
56 typedef GLushort GLchan; typedef
61 typedef GLfloat GLchan; typedef
Ds_aatriangle.c115 static inline GLchan
126 return (GLchan) lroundf(z); in solve_plane_chan()
Ds_zoom.c165 zoomed.array->rgba = (GLchan (*)[4]) zoomed.array->rgba8; in zoom_span()
167 zoomed.array->rgba = (GLchan (*)[4]) zoomed.array->rgba16; in zoom_span()
169 zoomed.array->rgba = (GLchan (*)[4]) zoomed.array->attribs[VARYING_SLOT_COL0]; in zoom_span()
Ds_span.h86 GLchan (*rgba)[4]; /** either == rgba8 or rgba16 */
Dswrast.h102 GLchan color[4]; /** integer color */
Ds_span.c70 GLchan r, g, b, a; in _swrast_span_default_attribs()
1328 GLchan (*rgbaSave)[4] = (GLchan (*)[4]) span->array->attribs[0]; in _swrast_write_rgba_span()
1353 4 * span->end * sizeof(GLchan)); in _swrast_write_rgba_span()
1392 4 * span->end * sizeof(GLchan)); in _swrast_write_rgba_span()
1427 memset(rgba, 0, 4 * n * sizeof(GLchan)); in _swrast_read_rgba_span()
Ds_aaline.c172 static inline GLchan
183 return (GLchan) lroundf(z); in solve_plane_chan()
Ds_lines.c168 GLchan cSave[2][4]; in _swrast_add_spec_terms_line()
Ds_points.c512 GLchan cSave[4]; in _swrast_add_spec_terms_point()
Ds_texcombine.c99 GLchan (*rgbaChan)[4] = span->array->rgba; in texture_combine()
/third_party/mesa3d/src/mesa/tnl/
Dt_vertex_generic.c282 GLchan *c = (GLchan *)v; in insert_4chan_4f_rgba_4()
294 GLchan *c = (GLchan *)v; in insert_4chan_4f_rgba_3()
306 GLchan *c = (GLchan *)v; in insert_4chan_4f_rgba_2()
318 GLchan *c = (GLchan *)v; in insert_4chan_4f_rgba_1()
682 GLchan *c = (GLchan *)v; in extract_4chan_4f_rgba()
852 4 * sizeof(GLchan) },
/third_party/mesa3d/src/mesa/main/
Dtexcompress_s3tc_tmp.h34 typedef GLubyte GLchan; typedef
58 GLchan *rgba = (GLchan *) texel; in dxt135_decode_imageblock()
141 GLchan *rgba = (GLchan *) texel; in fetch_2d_texel_rgba_dxt3()
155 GLchan *rgba = (GLchan *) texel; in fetch_2d_texel_rgba_dxt5()
893 static void extractsrccolors( GLubyte srcpixels[4][4][4], const GLchan *srcaddr, in extractsrccolors()
897 const GLchan *curaddr; in extractsrccolors()
914 const GLchan *srcaddr = srcPixData; in tx_compress_dxtn()
/third_party/mesa3d/docs/relnotes/
D4.1281 8. GLfloat / GLchan changes:
283 - Changed ctx->Driver.ClearColor() to take GLfloat[4] instead of GLchan[4].
285 - Changed ctx->Driver.AlphaRef() to take GLfloat instead of GLchan.
287 - texObj->BorderColor is now GLfloat[4]. texObj->_BorderChan is GLchan[4].
289 This is part of an effort to remove all GLchan types from core Mesa so
/third_party/mesa3d/src/mesa/swrast_setup/
Dss_triangle.c136 GLchan c[2][4]; in _swsetup_render_tri()
Dss_tritmp.h43 GLchan saved_color[3][4] = { { 0 } }; in TAG()