summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/softpipe/sp_clear.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2007-08-05 17:23:38 +0100
committerKeith Whitwell <[email protected]>2007-08-05 17:25:36 +0100
commit1d1b9e6be45e75ad12a01c82e3c0d55ff9da4183 (patch)
treece6fc42afb3c1bdc9224309052f444776cf56ad5 /src/mesa/pipe/softpipe/sp_clear.c
parent5e7921b77874ce0142f0ab032c710a379d86ff09 (diff)
Add a new interface between softpipe and the window system / buffer manager.
This interface is defined by softpipe and any window system (eg i915pipe) wishing to use softpipe is required to implement the interface. Currently the interface is all about buffer management. Generalizing, each pipe driver will advertise an interface in a similar spirit to this, and again any window system driver wishing to use that rendering pipeline will have to implement the interface it defines. It clearly isn't a one-way street however, as softpipe could just do its own buffer management with malloc. The interaction with a buffer manager is desired to allow us to exercise the hardware swapbuffers functionality of the i915pipe driver, and also to get a feel for the way hardware drivers which really need a buffer manager will work.
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_clear.c')
-rw-r--r--src/mesa/pipe/softpipe/sp_clear.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/softpipe/sp_clear.c b/src/mesa/pipe/softpipe/sp_clear.c
index d7684d20445..2d69b6e0dca 100644
--- a/src/mesa/pipe/softpipe/sp_clear.c
+++ b/src/mesa/pipe/softpipe/sp_clear.c
@@ -56,5 +56,5 @@ softpipe_clear(struct pipe_context *pipe, struct pipe_surface *ps,
w = softpipe->framebuffer.cbufs[0]->width;
h = softpipe->framebuffer.cbufs[0]->height;
- pipe->region_fill(pipe, ps->region, 0, x, y, w, h, clearValue, ~0);
+ pipe->region_fill(pipe, ps->region, 0, x, y, w, h, clearValue);
}