From e960dd7b30ea30dc1eeecb45fb87c6964c79abfc Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 16 Apr 2010 09:21:12 -0600 Subject: softpipe: rename vars, update comments, etc Use 'resource' instead of 'texture', etc. --- src/gallium/drivers/softpipe/sp_texture.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/gallium/drivers/softpipe/sp_texture.h') diff --git a/src/gallium/drivers/softpipe/sp_texture.h b/src/gallium/drivers/softpipe/sp_texture.h index 500f42fb0fd..6b205dc5329 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); -- cgit v1.2.3