Hi, Note, that what I'm writing is based on radeon driver. I haven't investigated other drivers much.
W liÅcie z czw, 23-09-2004, godz. 01:13, Amir Bukhari pisze: > Is the frontbuffer shared between all contexts, or for each Context there > will be a different frontbuffer? > Yes, frontbuffer is shared between all context and X server. > In direct rendering I understand that frontbuffer point to the visible > framebuffer of the card (write to screen). Using at the end the position of > the window and its clips mask you will write to the frontbuffer > (framebuffer), correct me if I am wrong please! > Correct. Note that backbuffer is also shared by all contexts, but drawables may have different clip rects for front and back because we don't have 2d windows in backbuffer. Your goal is to redirect output of GLcore (indirect software renderer) to pixmap, right? From my latest investigations of GLcore it seems that it can use both windows and pixmaps as it's frontbuffer. I haven't tried the latter but I think it'll work (I hope). I think You just need to allocate pixmap and tell mesa to render to it. You don't have to worry about backbuffer as it is always allocated in host's memory and not used outside GLcore. BTW: I'm working on forcing GLcore to render into other parts of card's memory than front buffer (specifically front right buffer). Maybe this may be helpful. If I'll come up with workable solution I'll let You know. Any pointers? best, -- Jacek Rosik <[EMAIL PROTECTED]> ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
