Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329730 - GLCanvas problems on Windows XP with NVidia
Summary: GLCanvas problems on Windows XP with NVidia
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-09 03:44 EST by Viktoras Kovaliovas CLA
Modified: 2021-11-09 19:59 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Viktoras Kovaliovas CLA 2010-11-09 03:44:20 EST
Build Identifier: 20100617-1415

The same problems as described in bug #196884 can also be observed on NVidia GeForce 6600GT and Quadro NVS 140M cards with latest drivers on Windows XP SP3. The workaround is to add the following line of code before creating GLCanvas:

parent.getDisplay().setData("org.eclipse.swt.internal.win32.useOwnDC", new Boolean(true));
GLCanvas canvas = new GLCanvas(parent, SWT.NO_BACKGROUND, data);
 
It is the same trick that is used inside of GLCanvas for Windows versions 6 and higher. As I understand the source for this trick is the opengl.org and it does not state that the usage of CS_OWNDC flag is required for Windows Vista or higher only.

http://www.opengl.org/wiki/Platform_specifics:_Windows#What_should_I_do_before_the_window_is_created.3F

Reproducible: Always
Comment 1 Eclipse Webmaster CLA 2019-09-06 16:06:40 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 2 Eclipse Genie CLA 2021-11-09 19:59:46 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.