Home
last modified time | relevance | path

Searched refs:RasterPos (Results 1 – 15 of 15) sorted by relevance

/external/mesa3d/src/mesa/main/
Ddrawpix.c63 IROUND(ctx->Current.RasterPos[0]), in _mesa_DrawPixels()
64 IROUND(ctx->Current.RasterPos[1])); in _mesa_DrawPixels()
146 GLint x = IROUND(ctx->Current.RasterPos[0]); in _mesa_DrawPixels()
147 GLint y = IROUND(ctx->Current.RasterPos[1]); in _mesa_DrawPixels()
174 ctx->Current.RasterPos, in _mesa_DrawPixels()
206 IROUND(ctx->Current.RasterPos[0]), in _mesa_CopyPixels()
207 IROUND(ctx->Current.RasterPos[1])); in _mesa_CopyPixels()
269 GLint destx = IROUND(ctx->Current.RasterPos[0]); in _mesa_CopyPixels()
270 GLint desty = IROUND(ctx->Current.RasterPos[1]); in _mesa_CopyPixels()
279 ctx->Current.RasterPos, in _mesa_CopyPixels()
[all …]
Drastpos.c65 ctx->Driver.RasterPos(ctx, p); in rasterpos()
238 ctx->Current.RasterPos[0] = x; in window_pos3f()
239 ctx->Current.RasterPos[1] = y; in window_pos3f()
240 ctx->Current.RasterPos[2] = z2; in window_pos3f()
241 ctx->Current.RasterPos[3] = 1.0F; in window_pos3f()
279 _mesa_update_hitflag( ctx, ctx->Current.RasterPos[2] ); in window_pos3f()
290 ctx->Current.RasterPos[3] = w; in window_pos4f()
557 ASSIGN_4V( ctx->Current.RasterPos, 0.0, 0.0, 0.0, 1.0 ); in _mesa_init_rastpos()
Ddd.h143 void (*RasterPos)( struct gl_context *ctx, const GLfloat v[4] ); member
Dmtypes.h819 GLfloat RasterPos[4]; member
Dget.c840 { GL_CURRENT_RASTER_POSITION, CONTEXT_FLOAT4(Current.RasterPos[0]), NO_EXTRA },
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_rasterpos.c148 ctx->Current.RasterPos[0] = pos[0]; in rastpos_point()
150 ctx->Current.RasterPos[1] = height - pos[1]; /* invert Y */ in rastpos_point()
152 ctx->Current.RasterPos[1] = pos[1]; in rastpos_point()
153 ctx->Current.RasterPos[2] = pos[2]; in rastpos_point()
154 ctx->Current.RasterPos[3] = pos[3]; in rastpos_point()
172 _mesa_update_hitflag( ctx, ctx->Current.RasterPos[2] ); in rastpos_point()
276 functions->RasterPos = st_RasterPos; in st_init_rasterpos_functions()
Dst_cb_bitmap.c698 const GLfloat z = st->ctx->Current.RasterPos[2]; in accum_bitmap()
791 draw_bitmap_quad(ctx, x, y, ctx->Current.RasterPos[2], in st_Bitmap()
Dst_cb_drawpixels.c1182 draw_textured_quad(ctx, x, y, ctx->Current.RasterPos[2], in st_DrawPixels()
1628 draw_textured_quad(ctx, dstx, dsty, ctx->Current.RasterPos[2], in st_CopyPixels()
/external/mesa3d/src/mesa/tnl/
Dt_rasterpos.c412 ctx->Current.RasterPos[0] = (ndc[0] * ctx->Viewport._WindowMap.m[MAT_SX] in _tnl_RasterPos()
414 ctx->Current.RasterPos[1] = (ndc[1] * ctx->Viewport._WindowMap.m[MAT_SY] in _tnl_RasterPos()
416 ctx->Current.RasterPos[2] = (ndc[2] * ctx->Viewport._WindowMap.m[MAT_SZ] in _tnl_RasterPos()
419 ctx->Current.RasterPos[3] = clip[3]; in _tnl_RasterPos()
422 ctx->Current.RasterPos[3] = CLAMP(ctx->Current.RasterPos[3], in _tnl_RasterPos()
477 _mesa_update_hitflag( ctx, ctx->Current.RasterPos[2] ); in _tnl_RasterPos()
/external/mesa3d/docs/
DMESA_window_pos.spec32 coordinate with the RasterPos command, the modelview matrix, projection
107 to that of RasterPos is expected.
DVERSIONS380 - glDrawPixels feedback/selection didn't examine RasterPos valid bit
1349 - RasterPos could get corrupted by color index rendering path
/external/mesa3d/src/mesa/drivers/common/
Ddriverfuncs.c86 driver->RasterPos = _tnl_RasterPos; in _mesa_init_driver_functions()
Dmeta.c2167 const GLfloat z = invert_z(ctx->Current.RasterPos[2]); in _mesa_meta_CopyPixels()
2466 const GLfloat z = invert_z(ctx->Current.RasterPos[2]); in _mesa_meta_DrawPixels()
2700 const GLfloat z = invert_z(ctx->Current.RasterPos[2]); in _mesa_meta_Bitmap()
/external/mesa3d/src/mesa/swrast/
Ds_span.c71 span->z = FloatToFixed(ctx->Current.RasterPos[2] * depthMax + 0.5F); in _swrast_span_default_attribs()
73 GLfloat tmpf = ctx->Current.RasterPos[2] * depthMax; in _swrast_span_default_attribs()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_swtcl.c847 vert.tv.z = ctx->Current.RasterPos[2]; in r200PointsBitmap()