summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/softpipe/sp_surface.h
diff options
context:
space:
mode:
authorBrian <brian@i915.localnet.net>2007-07-31 17:42:03 -0600
committerBrian <brian@i915.localnet.net>2007-07-31 17:42:03 -0600
commit20adf45c23dd9ec86a1439ad87c1473395bbb1a7 (patch)
treeeee17a4b7b1572651c2b20661b26b82def9cdd34 /src/mesa/pipe/softpipe/sp_surface.h
parent2f245bce420c7a6c6928c4927d0f9a5701cde17f (diff)
Redesign pipe_surface in terms of pipe_region.
struct pipe_buffer goes away. Added basic region functions to softpipe to allocate/release malloc'd regions. Surface-related code is fairly coherent now.
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_surface.h')
-rw-r--r--src/mesa/pipe/softpipe/sp_surface.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mesa/pipe/softpipe/sp_surface.h b/src/mesa/pipe/softpipe/sp_surface.h
index 3ba732cebe..e8466256db 100644
--- a/src/mesa/pipe/softpipe/sp_surface.h
+++ b/src/mesa/pipe/softpipe/sp_surface.h
@@ -35,8 +35,7 @@
#include "sp_headers.h"
struct softpipe_surface;
-
-#define G_SURFACE_RGBA_8888 0x1
+struct softpipe_context;
/**
@@ -98,4 +97,8 @@ softpipe_surface(struct pipe_surface *ps)
}
+extern void
+sp_init_surface_functions(struct softpipe_context *sp);
+
+
#endif /* SP_SURFACE_H */