summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_resource.c
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-04-18 02:43:01 +0200
committerMarek Olšák <maraeo@gmail.com>2010-04-18 02:56:09 +0200
commit0b4df63609e9fb25319debd56142a90b11d75671 (patch)
treeca7c0458e720352ee4990b484b2fda176b8a2921 /src/gallium/drivers/r300/r300_resource.c
parentd3e7dfc1fd7753d6305afb402e432ff45a7c0707 (diff)
r300g: various other cleanups
It seems to me that the resource management code is the most blurry. Also some of my notes about fastfill are wrong, removing them too.
Diffstat (limited to 'src/gallium/drivers/r300/r300_resource.c')
-rw-r--r--src/gallium/drivers/r300/r300_resource.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/gallium/drivers/r300/r300_resource.c b/src/gallium/drivers/r300/r300_resource.c
index 9b661a2124..7ed47eaa60 100644
--- a/src/gallium/drivers/r300/r300_resource.c
+++ b/src/gallium/drivers/r300/r300_resource.c
@@ -59,10 +59,7 @@ r300_resource_from_handle(struct pipe_screen * screen,
return r300_texture_from_handle(screen, templ, whandle);
}
-
-
-void
-r300_init_resource_functions(struct r300_context *r300)
+void r300_init_resource_functions(struct r300_context *r300)
{
r300->context.get_transfer = u_get_transfer_vtbl;
r300->context.transfer_map = u_transfer_map_vtbl;
@@ -73,8 +70,7 @@ r300_init_resource_functions(struct r300_context *r300)
r300->context.is_resource_referenced = u_is_resource_referenced_vtbl;
}
-void
-r300_init_screen_resource_functions(struct r300_screen *r300screen)
+void r300_init_screen_resource_functions(struct r300_screen *r300screen)
{
r300screen->screen.resource_create = r300_resource_create;
r300screen->screen.resource_from_handle = r300_resource_from_handle;