diff options
author | Brian Paul <[email protected]> | 2012-01-16 10:55:39 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-01-24 14:12:15 -0700 |
commit | 0ff817f200ef4cb4a5ab0d90eccfc83d0671fb65 (patch) | |
tree | 936cc119a9869e913f42beb268c0c3ae7c6f8507 /src/mesa/swrast/s_span.h | |
parent | b766d4bb43b2c8271413c1efafe3590fa75efc3c (diff) |
swrast: stop using Put/GetRow/Values() in swrast code
All color buffer rendering is now done by accessing mapped renderbuffer
memory. We're now able to get rid of all the GetRow/PutRow stuff.
Diffstat (limited to 'src/mesa/swrast/s_span.h')
-rw-r--r-- | src/mesa/swrast/s_span.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/swrast/s_span.h b/src/mesa/swrast/s_span.h index e39ae85382b..4d6eb7ec163 100644 --- a/src/mesa/swrast/s_span.h +++ b/src/mesa/swrast/s_span.h @@ -203,6 +203,11 @@ extern void _swrast_read_rgba_span(struct gl_context *ctx, struct gl_renderbuffer *rb, GLuint n, GLint x, GLint y, GLvoid *rgba); +extern void +_swrast_put_row(struct gl_context *ctx, struct gl_renderbuffer *rb, + GLuint count, GLint x, GLint y, + const void *values, const GLubyte *mask); + extern void * _swrast_get_dest_rgba(struct gl_context *ctx, struct gl_renderbuffer *rb, SWspan *span); |