[Bug 20807] New: SolidWorks 2008 can't render parts

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Nov 23 08:44:49 CST 2009


http://bugs.winehq.org/show_bug.cgi?id=20807

           Summary: SolidWorks 2008 can't render parts
           Product: Wine
           Version: 1.1.33
          Platform: PC
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: opengl
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: cdavis at mines.edu


Created an attachment (id=24921)
 --> (http://bugs.winehq.org/attachment.cgi?id=24921)
Wine 1.1.32-641-ga7bfd6d Log +wgl on Mac OS X

When you create a part, SolidWorks attempts to create a bitmap GL context to do
offscreen rendering. The call to SetPixelFormat() on the bitmap DC fails,
however, because the depth of the pixmap (32) doesn't match the depth of the
visual that winex11 chose (24). (You can add a trace to
create_bitmap_glxpixmap() to see this for yourself.) SolidWorks, however, does
not check the result of SetPixelFormat(), expecting it to succeed, so it goes
ahead and tries to create a GL context. This fails because no pixel format is
set in the DC. As a result, no rendering of parts is done.

I've attached a log showing what happens. There's a second issue that is
demonstrated by that log, so I'm going to file another bug shortly.

I think this is somehow related to Roderick Colenbrander's Xrender patches,
given that we're dealing with a 32-bit pixmap (which wasn't possible until
Xrender support was added).

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list