Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/swrast/
Ds_triangle.c244 const GLchan *texture;
273 GLchan sample[4]; /* the filtered texture sample */ in affine_span()
367 const GLchan *tex00 = info->texture + COMPS * pos; \ in affine_span()
386 const GLchan *tex00 = info->texture + COMPS * pos; \ in affine_span()
387 const GLchan *tex10 = tex00 + info->tbytesline; \ in affine_span()
388 const GLchan *tex01 = tex00 + COMPS; \ in affine_span()
389 const GLchan *tex11 = tex10 + COMPS; \ in affine_span()
410 GLchan *dest = span->array->rgba[0]; in affine_span()
550 info.texture = (const GLchan *) swImg->Map; \
600 const GLchan *texture;
[all …]
Ds_chan.h50 typedef GLubyte GLchan; typedef
55 typedef GLushort GLchan; typedef
60 typedef GLfloat GLchan; typedef
Ds_aatriangle.c131 static inline GLchan
142 return (GLchan) IROUND_POS(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[FRAG_ATTRIB_COL0]; in zoom_span()
Ds_span.h86 GLchan (*rgba)[4]; /** either == rgba8 or rgba16 */
Dswrast.h102 GLchan color[4]; /** integer color */
Ds_span.c66 GLchan r, g, b, a; in _swrast_span_default_attribs()
1325 GLchan (*rgbaSave)[4] = (GLchan (*)[4]) span->array->attribs[0]; in _swrast_write_rgba_span()
1349 4 * span->end * sizeof(GLchan)); in _swrast_write_rgba_span()
1388 4 * span->end * sizeof(GLchan)); in _swrast_write_rgba_span()
1423 memset(rgba, 0, 4 * n * sizeof(GLchan)); in _swrast_read_rgba_span()
Ds_aaline.c171 static inline GLchan
182 return (GLchan) IROUND_POS(z); in solve_plane_chan()
Ds_lines.c169 GLchan cSave[2][4]; in _swrast_add_spec_terms_line()
Ds_points.c520 GLchan cSave[4]; in _swrast_add_spec_terms_point()
Ds_texcombine.c98 GLchan (*rgbaChan)[4] = span->array->rgba; in texture_combine()
/external/mesa3d/src/mesa/tnl/
Dt_vertex_generic.c283 GLchan *c = (GLchan *)v; in insert_4chan_4f_rgba_4()
295 GLchan *c = (GLchan *)v; in insert_4chan_4f_rgba_3()
307 GLchan *c = (GLchan *)v; in insert_4chan_4f_rgba_2()
319 GLchan *c = (GLchan *)v; in insert_4chan_4f_rgba_1()
683 GLchan *c = (GLchan *)v; in extract_4chan_4f_rgba()
853 4 * sizeof(GLchan) },
/external/mesa3d/src/mesa/drivers/osmesa/
Dosmesa.c140 #define PIXELADDR4(X,Y) ((GLchan *) osmesa->rowaddr[Y] + 4 * (X))
150 const GLchan *color = vert1->color;
154 GLchan *p = PIXELADDR4(X, Y); \
171 const GLchan *color = vert1->color;
176 GLchan *p = PIXELADDR4(X, Y); \
240 GLchan *img = PIXELADDR4(span.x, span.y); \
269 PACK_RGBA((GLchan *) &pixel, v2->color[0], v2->color[1], \
/external/mesa3d/docs/
DRELNOTES-4.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
DVERSIONS944 - 16-bit GLchan mode fixes (m_trans_tmp.h, s_triangle.c)
1045 - fixed some blend problems when GLchan==GLfloat (Gerk Huisma)
1046 - clamp colors to [0,inf] in OSMesa if GLchan==GLfloat (Gerk Huisma)
1106 - fixed color interpolation bug when GLchan==GLfloat (bug 694461)
/external/mesa3d/src/mesa/math/
Dm_translate.h79 extern void _math_trans_4chan( GLchan (*to)[4],
Dm_translate.c681 void _math_trans_4chan( GLchan (*to)[4], in _math_trans_4chan()
/external/mesa3d/src/mesa/swrast_setup/
Dss_triangle.c134 GLchan c[2][4]; in _swsetup_render_tri()
Dss_tritmp.h43 GLchan saved_color[3][4] = { { 0 } }; in TAG()