Home
last modified time | relevance | path

Searched refs:StoS (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/mesa/main/
Dpixel.c82 return &ctx->PixelMaps.StoS; in get_pixelmap()
122 ctx->PixelMaps.StoS.Size = mapsize; in store_pixelmap()
124 ctx->PixelMaps.StoS.Map[i] = (GLfloat)IROUND(values[i]); in store_pixelmap()
371 values[i] = (GLfloat) ctx->PixelMaps.StoS.Map[i]; in _mesa_GetnPixelMapfvARB()
421 memcpy(values, ctx->PixelMaps.StoS.Map, mapsize * sizeof(GLint)); in _mesa_GetnPixelMapuivARB()
479 values[i] = (GLushort) CLAMP(ctx->PixelMaps.StoS.Map[i], 0.0, 65535.); in _mesa_GetnPixelMapusvARB()
711 init_pixelmap(&ctx->PixelMaps.StoS); in _mesa_init_pixel()
Dpixeltransfer.c274 GLuint mask = ctx->PixelMaps.StoS.Size - 1; in _mesa_apply_stencil_transfer_ops()
277 stencil[i] = (GLubyte) ctx->PixelMaps.StoS.Map[ stencil[i] & mask ]; in _mesa_apply_stencil_transfer_ops()
Dmtypes.h1025 struct gl_pixelmap StoS; member
Dget.c916 { GL_PIXEL_MAP_S_TO_S_SIZE, CONTEXT_INT(PixelMaps.StoS.Size), NO_EXTRA },
Dpack.c5203 const GLuint mask = ctx->PixelMaps.StoS.Size - 1; in _mesa_unpack_stencil_span()
5206 indexes[i] = (GLuint)ctx->PixelMaps.StoS.Map[ indexes[i] & mask ]; in _mesa_unpack_stencil_span()