From 0b4df63609e9fb25319debd56142a90b11d75671 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Sun, 18 Apr 2010 02:43:01 +0200 Subject: 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. --- src/gallium/drivers/r300/r300_resource.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/gallium/drivers/r300/r300_resource.c') 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; -- cgit v1.2.3