diff options
author | Marek Olšák <[email protected]> | 2010-06-29 23:34:36 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-06-30 00:03:04 +0200 |
commit | 6a34287bb5147a3213e94d88c97db4ec403509ae (patch) | |
tree | 50e9a21abc519ceb8c017e0fddc6702bdc669efb /src/gallium/drivers/r300/r300_context.h | |
parent | 3d6101245b2726721a26931e0491c61286ca29c6 (diff) |
r300g: move one flush from winsys to the context
This flush happens when changing the tiling flags, and it should really be
done in the context.
I hope this fixes FDO bug #28630.
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_context.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h index 50dcd0fc67c..ac5ae23cb5a 100644 --- a/src/gallium/drivers/r300/r300_context.h +++ b/src/gallium/drivers/r300/r300_context.h @@ -365,6 +365,10 @@ struct r300_texture { /* Buffer tiling */ enum r300_buffer_tiling microtile, macrotile; + + /* This is the level tiling flags were last time set for. + * It's used to prevent redundant tiling-flags changes from happening.*/ + unsigned surface_level; }; struct r300_vertex_element_state { |