Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=4451          
     




------- Additional Comments From [EMAIL PROTECTED]  2005-09-14 14:02 -------
> (In reply to comment #0)
> > If a 3d app is running and the user switches to another terminal, when 
> > switching
> > back the 3d app will flicker [...]
> 
> I just realized this is probably because page 1 isn't synchronized with page 0
> in EnterVT?
What needs to be synchronized?

> > [...] but the code as-is seems to be specifically designed so it can handle
> > the case when pfCurrentPage stays at 1 and buffer swapping happens. 
> 
> Sure, it can handle it, but it's far from ideal nonetheless.
Well I just guessed there's a reason things are handled that way :-)

> > I think changing this might be problematic, as I suppose if you'd start
> > a second 3d app the first one might still dispatch a flip even when the 
> > xserver
> > just had set the page to 0 and disabled page flipping.
> 
> Doesn't the server hold the HW lock when it disables page flipping?
It should. However, the clients don't when they decide if they should dispatch a
flip or a swap. Thus, they could easily dispatch a flip even after the xserver
has disabled page flipping, and drm doesn't care at all if page flipping is
enabled or not when it dispatches a flip (and btw I think it's not really a good
idea that the sarea page flip variable has a different name in drm/dri (pfState)
and xorg (pfAllowPageFlip) - moreover the comment in drm what this variable is
good for isn't quite how it's used).
          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to