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/nvfx/nvfx_transfer.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/gallium/drivers/nvfx/nvfx_transfer.c') diff --git a/src/gallium/drivers/nvfx/nvfx_transfer.c b/src/gallium/drivers/nvfx/nvfx_transfer.c index 605af8efa8e..7a218b18c64 100644 --- a/src/gallium/drivers/nvfx/nvfx_transfer.c +++ b/src/gallium/drivers/nvfx/nvfx_transfer.c @@ -26,9 +26,6 @@ nvfx_transfer_new(struct pipe_context *pipe, unsigned usage, const struct pipe_box *box) { - if (usage & PIPE_TRANSFER_MAP_PERMANENTLY) { - return NULL; - } if((usage & (PIPE_TRANSFER_UNSYNCHRONIZED | PIPE_TRANSFER_DONTBLOCK)) == PIPE_TRANSFER_DONTBLOCK) { struct nouveau_bo* bo = ((struct nvfx_resource*)pt)->bo; -- cgit v1.2.3