From 62f44f670bb0162e89fd4786af877f8da9ff607c Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Mon, 5 Mar 2012 13:45:00 +0100 Subject: Revert "gallium: add flag PIPE_TRANSFER_MAP_PERMANENTLY" This reverts commit 0950086376b1c8b7fb89eda81ed7f2f06dee58bc. It was decided to refactor the transfer API instead of adding workarounds to address the performance issues. --- src/gallium/drivers/r600/r600_texture.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/gallium/drivers/r600/r600_texture.c') diff --git a/src/gallium/drivers/r600/r600_texture.c b/src/gallium/drivers/r600/r600_texture.c index 2b69fcd92f7..a5a94d4aee6 100644 --- a/src/gallium/drivers/r600/r600_texture.c +++ b/src/gallium/drivers/r600/r600_texture.c @@ -790,10 +790,6 @@ struct pipe_transfer* r600_texture_get_transfer(struct pipe_context *ctx, int r; boolean use_staging_texture = FALSE; - if (usage & PIPE_TRANSFER_MAP_PERMANENTLY) { - return NULL; - } - /* We cannot map a tiled texture directly because the data is * in a different order, therefore we do detiling using a blit. * -- cgit v1.2.3