aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_flush.c
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-04-25 15:49:03 +0100
committerJosé Fonseca <[email protected]>2010-04-25 15:54:32 +0100
commit7951630d0877fc3c293151ad6476bec7288e63c6 (patch)
tree547572b4e9d8bd7048d98edccaa119798f322a43 /src/gallium/drivers/llvmpipe/lp_flush.c
parent5745bcb2dbfcaab53df89125d08689b51b9126ea (diff)
llvmpipe: llvmpipe_flush_texture -> llvmpipe_flush_resource
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_flush.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_flush.c19
1 files changed, 8 insertions, 11 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_flush.c b/src/gallium/drivers/llvmpipe/lp_flush.c
index 3627dbd759c..153491378ae 100644
--- a/src/gallium/drivers/llvmpipe/lp_flush.c
+++ b/src/gallium/drivers/llvmpipe/lp_flush.c
@@ -97,19 +97,16 @@ llvmpipe_flush( struct pipe_context *pipe,
* Flush context if necessary.
*
* TODO: move this logic to an auxiliary library?
- *
- * FIXME: We must implement DISCARD/DONTBLOCK/UNSYNCHRONIZED/etc for
- * textures to avoid blocking.
*/
boolean
-llvmpipe_flush_texture(struct pipe_context *pipe,
- struct pipe_resource *texture,
- unsigned face,
- unsigned level,
- unsigned flush_flags,
- boolean read_only,
- boolean cpu_access,
- boolean do_not_flush)
+llvmpipe_flush_resource(struct pipe_context *pipe,
+ struct pipe_resource *texture,
+ unsigned face,
+ unsigned level,
+ unsigned flush_flags,
+ boolean read_only,
+ boolean cpu_access,
+ boolean do_not_flush)
{
unsigned referenced;