Exemplo n.º 1
0
void
_swrast_write_zoomed_depth_span(struct gl_context *ctx, GLint imgX, GLint imgY,
                                const SWspan *span)
{
   zoom_span(ctx, imgX, imgY, span,
             (const GLvoid *) span->array->z, GL_DEPTH_COMPONENT);
}
Exemplo n.º 2
0
void
_swrast_write_zoomed_index_span( GLcontext *ctx, const struct sw_span *span,
                               GLint y0, GLint skipPixels )
{
   zoom_span(ctx, span, (const GLvoid *) span->array->index, y0,
             GL_COLOR_INDEX, skipPixels);
}
Exemplo n.º 3
0
void
_swrast_write_zoomed_depth_span( GLcontext *ctx, const struct sw_span *span,
                                 GLint y0, GLint skipPixels )
{
   zoom_span(ctx, span, (const GLvoid *) span->array->z, y0,
             GL_DEPTH_COMPONENT, skipPixels);
}
Exemplo n.º 4
0
void
_swrast_write_zoomed_rgb_span( GLcontext *ctx, const struct sw_span *span,
                             CONST GLchan rgb[][3], GLint y0,
                             GLint skipPixels )
{
   zoom_span(ctx, span, (const GLvoid *) rgb, y0, GL_RGB, skipPixels);
}
Exemplo n.º 5
0
void
_swrast_write_zoomed_rgb_span(struct gl_context *ctx, GLint imgX, GLint imgY,
                              const SWspan *span, const GLvoid *rgb)
{
   zoom_span(ctx, imgX, imgY, span, rgb, GL_RGB);
}