Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/main/
Ddrawpix.c61 lroundf(ctx->Current.RasterPos[0]), in _mesa_DrawPixels()
62 lroundf(ctx->Current.RasterPos[1])); in _mesa_DrawPixels()
144 GLint x = lroundf(ctx->Current.RasterPos[0]); in _mesa_DrawPixels()
145 GLint y = lroundf(ctx->Current.RasterPos[1]); in _mesa_DrawPixels()
172 ctx->Current.RasterPos, in _mesa_DrawPixels()
205 lroundf(ctx->Current.RasterPos[0]), in _mesa_CopyPixels()
206 lroundf(ctx->Current.RasterPos[1])); in _mesa_CopyPixels()
278 GLint destx = lroundf(ctx->Current.RasterPos[0]); in _mesa_CopyPixels()
279 GLint desty = lroundf(ctx->Current.RasterPos[1]); in _mesa_CopyPixels()
288 ctx->Current.RasterPos, in _mesa_CopyPixels()
[all …]
Drastpos.c443 ctx->Current.RasterPos[0] = ndc[0] * scale[0] + translate[0]; in _mesa_RasterPos()
444 ctx->Current.RasterPos[1] = ndc[1] * scale[1] + translate[1]; in _mesa_RasterPos()
445 ctx->Current.RasterPos[2] = ndc[2] * scale[2] + translate[2]; in _mesa_RasterPos()
446 ctx->Current.RasterPos[3] = clip[3]; in _mesa_RasterPos()
450 ctx->Current.RasterPos[3] = CLAMP(ctx->Current.RasterPos[3], in _mesa_RasterPos()
456 ctx->Current.RasterPos[3] = MAX2(ctx->Current.RasterPos[3], in _mesa_RasterPos()
461 ctx->Current.RasterPos[3] = MIN2(ctx->Current.RasterPos[3], in _mesa_RasterPos()
516 _mesa_update_hitflag( ctx, ctx->Current.RasterPos[2] ); in _mesa_RasterPos()
541 ctx->Driver.RasterPos(ctx, p); in rasterpos()
715 ctx->Current.RasterPos[0] = x; in window_pos3f()
[all …]
Ddd.h127 void (*RasterPos)( struct gl_context *ctx, const GLfloat v[4] ); member
Dmtypes.h491 GLfloat RasterPos[4]; member
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_rasterpos.c153 ctx->Current.RasterPos[0] = pos[0]; in rastpos_point()
155 ctx->Current.RasterPos[1] = height - pos[1]; /* invert Y */ in rastpos_point()
157 ctx->Current.RasterPos[1] = pos[1]; in rastpos_point()
158 ctx->Current.RasterPos[2] = pos[2]; in rastpos_point()
159 ctx->Current.RasterPos[3] = pos[3]; in rastpos_point()
177 _mesa_update_hitflag( ctx, ctx->Current.RasterPos[2] ); in rastpos_point()
279 functions->RasterPos = st_RasterPos; in st_init_rasterpos_functions()
Dst_cb_bitmap.c471 const GLfloat z = ctx->Current.RasterPos[2]; in accum_bitmap()
632 draw_bitmap_quad(ctx, x, y, ctx->Current.RasterPos[2], in st_Bitmap()
657 const float z = ctx->Current.RasterPos[2] * 2.0f - 1.0f; in st_DrawAtlasBitmaps()
702 const float x0 = util_ifloor(ctx->Current.RasterPos[0] - xorig + epsilon); in st_DrawAtlasBitmaps()
703 const float y0 = util_ifloor(ctx->Current.RasterPos[1] - yorig + epsilon); in st_DrawAtlasBitmaps()
759 ctx->Current.RasterPos[0] += xmove; in st_DrawAtlasBitmaps()
760 ctx->Current.RasterPos[1] += ymove; in st_DrawAtlasBitmaps()
Dst_cb_drawpixels.c1280 float z = ctx->Current.RasterPos[2]; in get_effective_raster_z()
/external/mesa3d/docs/_extra/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.c1856 const GLfloat z = invert_z(ctx->Current.RasterPos[2]); in _mesa_meta_CopyPixels()
2196 const GLfloat z = invert_z(ctx->Current.RasterPos[2]); in _mesa_meta_DrawPixels()
2391 const GLfloat z = invert_z(ctx->Current.RasterPos[2]); in _mesa_meta_Bitmap()
/external/mesa3d/src/mesa/swrast/
Ds_span.c75 span->z = FloatToFixed(ctx->Current.RasterPos[2] * depthMax + 0.5F); in _swrast_span_default_attribs()
77 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/docs/
Dversions.rst485 - glDrawPixels feedback/selection didn't examine RasterPos valid bit
1618 - RasterPos could get corrupted by color index rendering path
/external/mesa3d/docs/relnotes/
D20.0.0.rst2295 - st/mesa: support UBOs for Selection/Feedback/RasterPos
2298 - st/mesa: support samplers for Selection/Feedback/RasterPos
2299 - st/mesa: support SSBOs for Selection/Feedback/RasterPos
2300 - st/mesa: support shader images for Selection/Feedback/RasterPos