Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/main/
Ddrawpix.c61 IROUND(ctx->Current.RasterPos[0]), in _mesa_DrawPixels()
62 IROUND(ctx->Current.RasterPos[1])); in _mesa_DrawPixels()
144 GLint x = IROUND(ctx->Current.RasterPos[0]); in _mesa_DrawPixels()
145 GLint y = IROUND(ctx->Current.RasterPos[1]); in _mesa_DrawPixels()
172 ctx->Current.RasterPos, in _mesa_DrawPixels()
205 IROUND(ctx->Current.RasterPos[0]), in _mesa_CopyPixels()
206 IROUND(ctx->Current.RasterPos[1])); in _mesa_CopyPixels()
268 GLint destx = IROUND(ctx->Current.RasterPos[0]); in _mesa_CopyPixels()
269 GLint desty = IROUND(ctx->Current.RasterPos[1]); in _mesa_CopyPixels()
278 ctx->Current.RasterPos, in _mesa_CopyPixels()
[all …]
Drastpos.c418 ctx->Current.RasterPos[0] = ndc[0] * scale[0] + translate[0]; in _mesa_RasterPos()
419 ctx->Current.RasterPos[1] = ndc[1] * scale[1] + translate[1]; in _mesa_RasterPos()
420 ctx->Current.RasterPos[2] = ndc[2] * scale[2] + translate[2]; in _mesa_RasterPos()
421 ctx->Current.RasterPos[3] = clip[3]; in _mesa_RasterPos()
424 ctx->Current.RasterPos[3] = CLAMP(ctx->Current.RasterPos[3], in _mesa_RasterPos()
479 _mesa_update_hitflag( ctx, ctx->Current.RasterPos[2] ); in _mesa_RasterPos()
504 ctx->Driver.RasterPos(ctx, p); in rasterpos()
678 ctx->Current.RasterPos[0] = x; in window_pos3f()
679 ctx->Current.RasterPos[1] = y; in window_pos3f()
680 ctx->Current.RasterPos[2] = z2; in window_pos3f()
[all …]
Ddd.h119 void (*RasterPos)( struct gl_context *ctx, const GLfloat v[4] ); member
Dmtypes.h526 GLfloat RasterPos[4]; member
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_rasterpos.c147 ctx->Current.RasterPos[0] = pos[0]; in rastpos_point()
149 ctx->Current.RasterPos[1] = height - pos[1]; /* invert Y */ in rastpos_point()
151 ctx->Current.RasterPos[1] = pos[1]; in rastpos_point()
152 ctx->Current.RasterPos[2] = pos[2]; in rastpos_point()
153 ctx->Current.RasterPos[3] = pos[3]; in rastpos_point()
171 _mesa_update_hitflag( ctx, ctx->Current.RasterPos[2] ); in rastpos_point()
285 functions->RasterPos = st_RasterPos; in st_init_rasterpos_functions()
Dst_cb_bitmap.c468 const GLfloat z = ctx->Current.RasterPos[2]; in accum_bitmap()
643 draw_bitmap_quad(ctx, x, y, ctx->Current.RasterPos[2], in st_Bitmap()
668 const float z = ctx->Current.RasterPos[2] * 2.0f - 1.0f; in st_DrawAtlasBitmaps()
713 const float x0 = IFLOOR(ctx->Current.RasterPos[0] - xorig + epsilon); in st_DrawAtlasBitmaps()
714 const float y0 = IFLOOR(ctx->Current.RasterPos[1] - yorig + epsilon); in st_DrawAtlasBitmaps()
770 ctx->Current.RasterPos[0] += xmove; in st_DrawAtlasBitmaps()
771 ctx->Current.RasterPos[1] += ymove; in st_DrawAtlasBitmaps()
Dst_cb_drawpixels.c1168 draw_textured_quad(ctx, x, y, ctx->Current.RasterPos[2], in st_DrawPixels()
1624 draw_textured_quad(ctx, dstx, dsty, ctx->Current.RasterPos[2], in st_CopyPixels()
/external/mesa3d/docs/specs/
DMESA_window_pos.spec32 coordinate with the RasterPos command, the modelview matrix, projection
107 to that of RasterPos is expected.
/external/mesa3d/src/mesa/drivers/common/
Ddriverfuncs.c86 driver->RasterPos = _mesa_RasterPos; in _mesa_init_driver_functions()
Dmeta.c1902 const GLfloat z = invert_z(ctx->Current.RasterPos[2]); in _mesa_meta_CopyPixels()
2218 const GLfloat z = invert_z(ctx->Current.RasterPos[2]); in _mesa_meta_DrawPixels()
2413 const GLfloat z = invert_z(ctx->Current.RasterPos[2]); in _mesa_meta_Bitmap()
/external/mesa3d/src/mesa/swrast/
Ds_span.c74 span->z = FloatToFixed(ctx->Current.RasterPos[2] * depthMax + 0.5F); in _swrast_span_default_attribs()
76 GLfloat tmpf = ctx->Current.RasterPos[2] * depthMax; in _swrast_span_default_attribs()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_swtcl.c856 vert.tv.z = ctx->Current.RasterPos[2]; in r200PointsBitmap()
/external/mesa3d/prebuilt-intermediates/main/
Dget_hash.h424 { GL_CURRENT_RASTER_POSITION, CONTEXT_FLOAT4(Current.RasterPos[0]), NO_EXTRA },
/external/mesa3d/docs/
DVERSIONS380 - glDrawPixels feedback/selection didn't examine RasterPos valid bit
1349 - RasterPos could get corrupted by color index rendering path