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

           Summary: Problem with stale cliprects from the classic r300 in
                    r300g
           Product: Mesa
           Version: git
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/r300
        AssignedTo: dri-devel@lists.sourceforge.net
        ReportedBy: mathias.froehl...@web.de


Hi,

When using the classic r300 driver together with r300g in the same session, the
cliprect registers used to clip the viewport in classic r300 seem to bleed into
the r300g environment.
The problem I observe is that when I start an application with the classic r300
driver and stop that  application. Then switch to the r300g driver by setting
the LIBGL_DRIVERS_PATH environment variable, the r300g context is always
clipped to the viewport of the previous classic r300 viewport.
This happens on my mesa test account which uses non composited X11 on rawhide.

The attached patch fixes this by initializing these clip rects on context
startup.
I am not sure which registers should be initialized by which different
component, which means I am not sure if this is the right place to fix this.
But I provide that here as a hopefully good hint what goes wrong.

Please fix

Mathias


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

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to