Searched refs:RasterPos (Results 1 - 25 of 27) sorted by relevance

12

/xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
H A Ddrawpix.c60 IROUND(ctx->Current.RasterPos[0]),
61 IROUND(ctx->Current.RasterPos[1]));
143 GLint x = IROUND(ctx->Current.RasterPos[0]);
144 GLint y = IROUND(ctx->Current.RasterPos[1]);
171 ctx->Current.RasterPos,
204 IROUND(ctx->Current.RasterPos[0]),
205 IROUND(ctx->Current.RasterPos[1]));
267 GLint destx = IROUND(ctx->Current.RasterPos[0]);
268 GLint desty = IROUND(ctx->Current.RasterPos[1]);
277 ctx->Current.RasterPos,
[all...]
H A Drastpos.c387 * glRasterPos transformation. Typically called via ctx->Driver.RasterPos().
443 ctx->Current.RasterPos[0] = ndc[0] * scale[0] + translate[0];
444 ctx->Current.RasterPos[1] = ndc[1] * scale[1] + translate[1];
445 ctx->Current.RasterPos[2] = ndc[2] * scale[2] + translate[2];
446 ctx->Current.RasterPos[3] = clip[3];
450 ctx->Current.RasterPos[3] = CLAMP(ctx->Current.RasterPos[3],
456 ctx->Current.RasterPos[3] = MAX2(ctx->Current.RasterPos[3],
461 ctx->Current.RasterPos[
[all...]
H A Ddd.h123 void (*RasterPos)( struct gl_context *ctx, const GLfloat v[4] ); member in struct:dd_function_table
H A Dmtypes.h492 GLfloat RasterPos[4]; member in struct:gl_current_attrib
/xsrc/external/mit/MesaLib/dist/src/mesa/main/
H A Ddrawpix.c62 lroundf(ctx->Current.RasterPos[0]),
63 lroundf(ctx->Current.RasterPos[1]));
150 GLint x = lroundf(ctx->Current.RasterPos[0]);
151 GLint y = lroundf(ctx->Current.RasterPos[1]);
178 ctx->Current.RasterPos,
211 lroundf(ctx->Current.RasterPos[0]),
212 lroundf(ctx->Current.RasterPos[1]));
289 GLint destx = lroundf(ctx->Current.RasterPos[0]);
290 GLint desty = lroundf(ctx->Current.RasterPos[1]);
299 ctx->Current.RasterPos,
[all...]
H A Drastpos.c391 * glRasterPos transformation. Typically called via ctx->Driver.RasterPos().
449 ctx->Current.RasterPos[0] = ndc[0] * scale[0] + translate[0];
450 ctx->Current.RasterPos[1] = ndc[1] * scale[1] + translate[1];
451 ctx->Current.RasterPos[2] = ndc[2] * scale[2] + translate[2];
452 ctx->Current.RasterPos[3] = clip[3];
456 ctx->Current.RasterPos[3] = CLAMP(ctx->Current.RasterPos[3],
462 ctx->Current.RasterPos[3] = MAX2(ctx->Current.RasterPos[3],
467 ctx->Current.RasterPos[
[all...]
H A Dmtypes.h442 GLfloat RasterPos[4]; member in struct:gl_current_attrib
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_cb_rasterpos.c152 ctx->Current.RasterPos[0] = pos[0];
154 ctx->Current.RasterPos[1] = height - pos[1]; /* invert Y */
156 ctx->Current.RasterPos[1] = pos[1];
157 ctx->Current.RasterPos[2] = pos[2];
158 ctx->Current.RasterPos[3] = pos[3];
176 _mesa_update_hitflag( ctx, ctx->Current.RasterPos[2] );
234 * function implementation of RasterPos.
283 functions->RasterPos = st_RasterPos;
H A Dst_cb_bitmap.c470 const GLfloat z = ctx->Current.RasterPos[2];
636 draw_bitmap_quad(ctx, x, y, ctx->Current.RasterPos[2],
661 const float z = ctx->Current.RasterPos[2] * 2.0f - 1.0f;
706 const float x0 = IFLOOR(ctx->Current.RasterPos[0] - xorig + epsilon);
707 const float y0 = IFLOOR(ctx->Current.RasterPos[1] - yorig + epsilon);
763 ctx->Current.RasterPos[0] += xmove;
764 ctx->Current.RasterPos[1] += ymove;
H A Dst_cb_drawpixels.c1380 draw_textured_quad(ctx, x, y, ctx->Current.RasterPos[2],
1837 draw_textured_quad(ctx, dstx, dsty, ctx->Current.RasterPos[2],
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_cb_rasterpos.c155 ctx->Current.RasterPos[0] = pos[0];
157 ctx->Current.RasterPos[1] = height - pos[1]; /* invert Y */
159 ctx->Current.RasterPos[1] = pos[1];
160 ctx->Current.RasterPos[2] = pos[2];
161 ctx->Current.RasterPos[3] = pos[3];
179 _mesa_update_hitflag( ctx, ctx->Current.RasterPos[2] );
232 * function implementation of RasterPos.
281 functions->RasterPos = st_RasterPos;
H A Dst_cb_bitmap.c477 const GLfloat z = ctx->Current.RasterPos[2];
637 draw_bitmap_quad(ctx, x, y, ctx->Current.RasterPos[2],
660 const float z = ctx->Current.RasterPos[2] * 2.0f - 1.0f;
705 const float x0 = util_ifloor(ctx->Current.RasterPos[0] - xorig + epsilon);
706 const float y0 = util_ifloor(ctx->Current.RasterPos[1] - yorig + epsilon);
762 ctx->Current.RasterPos[0] += xmove;
763 ctx->Current.RasterPos[1] += ymove;
H A Dst_cb_drawpixels.c1284 float z = ctx->Current.RasterPos[2];
/xsrc/external/mit/MesaLib.old/dist/docs/specs/
H A DMESA_window_pos.spec32 coordinate with the RasterPos command, the modelview matrix, projection
93 WindowPosMESA operates like RasterPos except that the current modelview
107 to that of RasterPos is expected.
/xsrc/external/mit/MesaLib/dist/docs/_extra/specs/
H A DMESA_window_pos.spec32 coordinate with the RasterPos command, the modelview matrix, projection
93 WindowPosMESA operates like RasterPos except that the current modelview
107 to that of RasterPos is expected.
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/common/
H A Ddriverfuncs.c87 driver->RasterPos = _mesa_RasterPos;
H A Dmeta.c1915 const GLfloat z = invert_z(ctx->Current.RasterPos[2]);
2231 const GLfloat z = invert_z(ctx->Current.RasterPos[2]);
2426 const GLfloat z = invert_z(ctx->Current.RasterPos[2]);
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/common/
H A Ddriverfuncs.c86 driver->RasterPos = _mesa_RasterPos;
H A Dmeta.c1858 const GLfloat z = invert_z(ctx->Current.RasterPos[2]);
2198 const GLfloat z = invert_z(ctx->Current.RasterPos[2]);
2393 const GLfloat z = invert_z(ctx->Current.RasterPos[2]);
/xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast/
H A Ds_span.c75 span->z = FloatToFixed(ctx->Current.RasterPos[2] * depthMax + 0.5F);
77 GLfloat tmpf = ctx->Current.RasterPos[2] * depthMax;
/xsrc/external/mit/MesaLib/dist/src/mesa/swrast/
H A Ds_span.c75 span->z = FloatToFixed(ctx->Current.RasterPos[2] * depthMax + 0.5F);
77 GLfloat tmpf = ctx->Current.RasterPos[2] * depthMax;
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/r200/
H A Dr200_swtcl.c856 vert.tv.z = ctx->Current.RasterPos[2];
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/r200/
H A Dr200_swtcl.c856 vert.tv.z = ctx->Current.RasterPos[2];
/xsrc/external/mit/MesaLib.old/src/mesa/
H A Dget_hash.h445 { GL_CURRENT_RASTER_POSITION, CONTEXT_FLOAT4(Current.RasterPos[0]), NO_EXTRA },
/xsrc/external/mit/MesaLib/src/mesa/
H A Dget_hash.h453 { GL_CURRENT_RASTER_POSITION, CONTEXT_FLOAT4(Current.RasterPos[0]), NO_EXTRA },

Completed in 91 milliseconds

12