summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe/sp_texture.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-04-16 09:21:12 -0600
committerBrian Paul <brianp@vmware.com>2010-04-16 09:27:58 -0600
commite960dd7b30ea30dc1eeecb45fb87c6964c79abfc (patch)
tree3bf5441fd7da5be6845c5689ecf49829f8e00fc5 /src/gallium/drivers/softpipe/sp_texture.h
parent1f67782afab8dcc77e9507a92c8f4a3bf896b9a0 (diff)
softpipe: rename vars, update comments, etc
Use 'resource' instead of 'texture', etc.
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_texture.h')
-rw-r--r--src/gallium/drivers/softpipe/sp_texture.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_texture.h b/src/gallium/drivers/softpipe/sp_texture.h
index 500f42fb0f..6b205dc532 100644
--- a/src/gallium/drivers/softpipe/sp_texture.h
+++ b/src/gallium/drivers/softpipe/sp_texture.h
@@ -41,6 +41,9 @@ struct pipe_screen;
struct softpipe_context;
+/**
+ * Subclass of pipe_resource.
+ */
struct softpipe_resource
{
struct pipe_resource base;
@@ -67,6 +70,10 @@ struct softpipe_resource
unsigned timestamp;
};
+
+/**
+ * Subclass of pipe_transfer.
+ */
struct softpipe_transfer
{
struct pipe_transfer base;
@@ -93,7 +100,7 @@ softpipe_transfer(struct pipe_transfer *pt)
extern void
softpipe_init_screen_texture_funcs(struct pipe_screen *screen);
-void
+extern void
softpipe_init_texture_funcs(struct pipe_context *pipe);