diff options
author | Marek Olšák <[email protected]> | 2010-04-18 02:43:01 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-04-18 02:56:09 +0200 |
commit | 0b4df63609e9fb25319debd56142a90b11d75671 (patch) | |
tree | ca7c0458e720352ee4990b484b2fda176b8a2921 /src/gallium/drivers/r300/r300_resource.c | |
parent | d3e7dfc1fd7753d6305afb402e432ff45a7c0707 (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.c | 8 |
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 9b661a21246..7ed47eaa605 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; |