summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_texture.c
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-10-08 16:33:12 +0100
committerKeith Whitwell <keithw@vmware.com>2009-10-08 16:33:12 +0100
commit6b65685def525a8023ee936e82e53af2bc4e38b2 (patch)
tree3670e2118546cc5b4cdf41b682bfd587fdb36ec1 /src/gallium/drivers/llvmpipe/lp_texture.c
parentd2e2b75633b5ac8eef20fd3c6846d871a6d7eb1a (diff)
downloadexternal_mesa3d-6b65685def525a8023ee936e82e53af2bc4e38b2.zip
external_mesa3d-6b65685def525a8023ee936e82e53af2bc4e38b2.tar.gz
external_mesa3d-6b65685def525a8023ee936e82e53af2bc4e38b2.tar.bz2
llvmpipe: remove tex tile cache and related code
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_texture.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_texture.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_texture.c b/src/gallium/drivers/llvmpipe/lp_texture.c
index 08f0950..1682e37 100644
--- a/src/gallium/drivers/llvmpipe/lp_texture.c
+++ b/src/gallium/drivers/llvmpipe/lp_texture.c
@@ -40,7 +40,6 @@
#include "lp_context.h"
#include "lp_state.h"
#include "lp_texture.h"
-#include "lp_tex_cache.h"
#include "lp_screen.h"
#include "lp_winsys.h"
@@ -241,7 +240,7 @@ llvmpipe_get_tex_surface(struct pipe_screen *screen,
if (ps->usage & (PIPE_BUFFER_USAGE_CPU_WRITE |
PIPE_BUFFER_USAGE_GPU_WRITE)) {
- /* Mark the surface as dirty. The tile cache will look for this. */
+ /* Mark the surface as dirty. */
lpt->timestamp++;
llvmpipe_screen(screen)->timestamp++;
}
@@ -368,7 +367,6 @@ llvmpipe_transfer_map( struct pipe_screen *_screen,
if (transfer->texture && (transfer->usage & PIPE_TRANSFER_WRITE))
{
/* Do something to notify sharing contexts of a texture change.
- * In llvmpipe, that would mean flushing the texture cache.
*/
screen->timestamp++;
}