Home
last modified time | relevance | path

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

/external/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()
1331 GLchan (*rgbaSave)[4] = (GLchan (*)[4]) span->array->attribs[0]; in _swrast_write_rgba_span()
1356 4 * span->end * sizeof(GLchan)); in _swrast_write_rgba_span()
1395 4 * span->end * sizeof(GLchan)); in _swrast_write_rgba_span()
1430 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.c519 GLchan cSave[4]; in _swrast_add_spec_terms_point()
Ds_texcombine.c99 GLchan (*rgbaChan)[4] = span->array->rgba; in texture_combine()
/external/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) },
/external/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()
/external/mesa3d/src/mesa/drivers/osmesa/
Dosmesa.c151 #define PIXELADDR4(X,Y) ((GLchan *) osmesa->rowaddr[Y] + 4 * (X))
161 const GLchan *color = vert1->color;
165 GLchan *p = PIXELADDR4(X, Y); \
182 const GLchan *color = vert1->color;
187 GLchan *p = PIXELADDR4(X, Y); \
263 GLchan *img = PIXELADDR4(span.x, span.y); \
292 PACK_RGBA((GLchan *) &pixel, v2->color[0], v2->color[1], \
/external/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
/external/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()
/external/mesa3d/docs/
Dversions.rst1147 - 16-bit GLchan mode fixes (m_trans_tmp.h, s_triangle.c)
1268 - fixed some blend problems when GLchan==GLfloat (Gerk Huisma)
1269 - clamp colors to [0,inf] in OSMesa if GLchan==GLfloat (Gerk Huisma)
1336 - fixed color interpolation bug when GLchan==GLfloat (bug 694461)