[Bug 18542] [PATCH] Textured Video (XV) tearing.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Dec 2 09:18:41 PST 2008


http://bugs.freedesktop.org/show_bug.cgi?id=18542


Jerome Glisse <glisse at freedesktop.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |glisse at freedesktop.org




--- Comment #29 from Jerome Glisse <glisse at freedesktop.org>  2008-12-02 09:18:40 PST ---
As Roland suggested i think we should just wait for some vline to pass and then
start the blit ie not wait for vblank. Little ASCII art to illustrate this :
(not full screen wait)

-- screen
** window for which we wants to avoid tearing


 --------------
|              |
|    *****     |
|    |   |     | <- 
|    |   |     |   |__ stall engine until crtc is in this area then start blit
|    |   |     |   |
|    *****     | <-
|              |
 --------------

Of course the tricky question is the margin we choose btw the first line at
which we blit and btw the line we wait, if we wait for same line then blit
might out run scanout so we will weird tearing effect. Anyway i think this is
the best solution to shorten the amount of time we stall the engine and also to
give more time for the blit to happen.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the xorg-driver-ati mailing list