projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r600: don't enable depth test if there is no depth buffer
[mesa.git]
/
src
/
gallium
/
drivers
/
softpipe
/
sp_winsys.h
diff --git
a/src/gallium/drivers/softpipe/sp_winsys.h
b/src/gallium/drivers/softpipe/sp_winsys.h
index f203ded29eee72a6bdf674117faa2804d6ad1e9a..6e3920c49b2647536d463a2be29135bf2c120841 100644
(file)
--- a/
src/gallium/drivers/softpipe/sp_winsys.h
+++ b/
src/gallium/drivers/softpipe/sp_winsys.h
@@
-47,12
+47,18
@@
struct pipe_texture;
struct pipe_buffer;
struct pipe_buffer;
-struct pipe_context *softpipe_create( struct pipe_screen * );
+/**
+ * Create a softpipe screen that uses the
+ * given winsys for allocating buffers.
+ */
+struct pipe_screen *softpipe_create_screen( struct pipe_winsys * );
-struct pipe_screen *
-softpipe_create_screen(struct pipe_winsys *);
-
+/**
+ * Create a softpipe screen that uses
+ * regular malloc to create all its buffers.
+ */
+struct pipe_screen *softpipe_create_screen_malloc(void);
boolean
softpipe_get_texture_buffer( struct pipe_texture *texture,
boolean
softpipe_get_texture_buffer( struct pipe_texture *texture,