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

/external/mesa3d/src/mesa/main/
H A Ddrawpix.c63 IROUND(ctx->Current.RasterPos[0]),
64 IROUND(ctx->Current.RasterPos[1]));
146 GLint x = IROUND(ctx->Current.RasterPos[0]);
147 GLint y = IROUND(ctx->Current.RasterPos[1]);
174 ctx->Current.RasterPos,
206 IROUND(ctx->Current.RasterPos[0]),
207 IROUND(ctx->Current.RasterPos[1]));
269 GLint destx = IROUND(ctx->Current.RasterPos[0]);
270 GLint desty = IROUND(ctx->Current.RasterPos[1]);
279 ctx->Current.RasterPos,
[all...]
H A Drastpos.c46 * Helper function for all the RasterPos functions.
65 ctx->Driver.RasterPos(ctx, p);
238 ctx->Current.RasterPos[0] = x;
239 ctx->Current.RasterPos[1] = y;
240 ctx->Current.RasterPos[2] = z2;
241 ctx->Current.RasterPos[3] = 1.0F;
279 _mesa_update_hitflag( ctx, ctx->Current.RasterPos[2] );
290 ctx->Current.RasterPos[3] = w;
557 ASSIGN_4V( ctx->Current.RasterPos, 0.0, 0.0, 0.0, 1.0 );
H A Ddd.h143 void (*RasterPos)( struct gl_context *ctx, const GLfloat v[4] ); member in struct:dd_function_table
H A Dmtypes.h819 GLfloat RasterPos[4]; member in struct:gl_current_attrib
H A Dget.c840 { GL_CURRENT_RASTER_POSITION, CONTEXT_FLOAT4(Current.RasterPos[0]), NO_EXTRA },
/external/mesa3d/src/mesa/state_tracker/
H A Dst_cb_rasterpos.c148 ctx->Current.RasterPos[0] = pos[0];
150 ctx->Current.RasterPos[1] = height - pos[1]; /* invert Y */
152 ctx->Current.RasterPos[1] = pos[1];
153 ctx->Current.RasterPos[2] = pos[2];
154 ctx->Current.RasterPos[3] = pos[3];
172 _mesa_update_hitflag( ctx, ctx->Current.RasterPos[2] );
276 functions->RasterPos = st_RasterPos;
H A Dst_cb_bitmap.c698 const GLfloat z = st->ctx->Current.RasterPos[2];
791 draw_bitmap_quad(ctx, x, y, ctx->Current.RasterPos[2],
H A Dst_cb_drawpixels.c1182 draw_textured_quad(ctx, x, y, ctx->Current.RasterPos[2],
1628 draw_textured_quad(ctx, dstx, dsty, ctx->Current.RasterPos[2],
/external/mesa3d/docs/
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.
/external/mesa3d/src/mesa/tnl/
H A Dt_rasterpos.c361 * glRasterPos transformation. Typically called via ctx->Driver.RasterPos().
412 ctx->Current.RasterPos[0] = (ndc[0] * ctx->Viewport._WindowMap.m[MAT_SX]
414 ctx->Current.RasterPos[1] = (ndc[1] * ctx->Viewport._WindowMap.m[MAT_SY]
416 ctx->Current.RasterPos[2] = (ndc[2] * ctx->Viewport._WindowMap.m[MAT_SZ]
419 ctx->Current.RasterPos[3] = clip[3];
422 ctx->Current.RasterPos[3] = CLAMP(ctx->Current.RasterPos[3],
477 _mesa_update_hitflag( ctx, ctx->Current.RasterPos[2] );
/external/mesa3d/src/mesa/drivers/common/
H A Ddriverfuncs.c86 driver->RasterPos = _tnl_RasterPos;
H A Dmeta.c2167 const GLfloat z = invert_z(ctx->Current.RasterPos[2]);
2466 const GLfloat z = invert_z(ctx->Current.RasterPos[2]);
2700 const GLfloat z = invert_z(ctx->Current.RasterPos[2]);
/external/mesa3d/src/mesa/swrast/
H A Ds_span.c71 span->z = FloatToFixed(ctx->Current.RasterPos[2] * depthMax + 0.5F);
73 GLfloat tmpf = ctx->Current.RasterPos[2] * depthMax;
/external/mesa3d/src/mesa/drivers/dri/r200/
H A Dr200_swtcl.c847 vert.tv.z = ctx->Current.RasterPos[2];

Completed in 389 milliseconds