http://bugs.winehq.org/show_bug.cgi?id=27906
Roderick Colenbrander thunderbird2k@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thunderbird2k@gmail.com Component|-unknown |opengl
--- Comment #40 from Roderick Colenbrander thunderbird2k@gmail.com 2011-09-30 00:58:34 CDT --- I took some time to have a detailed look on what Sketchup is doing on my R600 and Nvidia laptops.
On Windows you have 2 OpenGL implementations namely a crappy OpenGL 1.1 software renderer implemented by GDI and an hardware accelerated one. We lack a software implementation in Wine.
It seems that at the (first?) start, Sketchup tries to use the GDI software renderer (it wants a pixel format with PFD_GENERIC_FORMAT set). On certain drivers like the closed AMD/Nvidia ones, Sketchup succeeds. It's because we advertise formats with this flag for bitmap rendering purposes.
Regarding Sketchup log files. On Mesa the log typically looks like: ======== Starting GL ========
CBaseGLView::OnInitialUpdate InitializeOpenGL GetActivePixelFormat
Got PF= 0 from registry requestedpf.accel=0
Here the 'requested.accel=0' means Sketchup wants to use no hardware acceleration. On Nvidia hardware typically you see '1' there. I guess somehow Sketchup is smart enough to request acceleration after some time.
The HW_OK registry key makes Sketchup use HW acceleration by default. This is the same as adjusting the 'hardware acceleration' checkbox in the OpenGL settings of the preferences menu.
I'm not sure what I want to do about this bug yet. On a side note, I Also need to have a look at the old bitmap code in Wine (I don't even know whether it still works).