diff options
author | Mario Kleiner <mario.kleiner@tuebingen.mpg.de> | 2010-11-08 04:09:33 +0100 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2010-11-08 13:53:23 -0500 |
commit | d8eef5196fcd6f51e443d4dfa0fda8aadc668f9f (patch) | |
tree | 2ee36e830c0cc04d0b742a65e063d39d6f2bdd17 /src/gallium/include/state_tracker | |
parent | 46c19700676e17bfaa0a88346d512449fbeede79 (diff) |
mesa/r300classic: Fix dri2Invalidate/radeon_prepare_render for page flipping.
A call to radeon_prepare_render() at the beginning of draw
operations was placed too deep in the call chain,
inside r300RunRenderPrimitive(), instead of
r300DrawPrims() where it belongs. This leads to
emission of stale target color renderbuffer into the cs if
bufferswaps via page-flipping are used, and thereby causes
massive rendering corruption due to unsynchronized
rendering into the active frontbuffer.
This patch fixes such problems for use with the
upcoming radeon page-flipping patches.
Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
Diffstat (limited to 'src/gallium/include/state_tracker')
0 files changed, 0 insertions, 0 deletions