summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_span.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-01-16 10:55:39 -0700
committerBrian Paul <[email protected]>2012-01-24 14:12:15 -0700
commit0ff817f200ef4cb4a5ab0d90eccfc83d0671fb65 (patch)
tree936cc119a9869e913f42beb268c0c3ae7c6f8507 /src/mesa/swrast/s_span.h
parentb766d4bb43b2c8271413c1efafe3590fa75efc3c (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.h5
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);