- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We have a problem on Windows where when you enumerate pixel formats, that the number and type of pixel formats returned depends on how the hDC was created which was passed in. For example, if I use this:
hCDC = CreateDC( "DISPLAY", "", "", NULL );
I will get 36 pixel formats in the enumeration. But if I use this:
hCDC = GetDC(NULL);
I instead get 51 pixel formats returned. If I create an hWnd and then pass that in to GetDC(), I also get 51 pixel formats.
This problem seems to be specific to Intel HD Graphics. My laptop has the 3000, and I updated to the latest drivers from Dell.
If I enumerate pixel formats on machines with any other video card, I get the same number of pixel formats returned. And if I switch the laptop over to use the nVidia graphics processor, I also get the same number of pixel formats.
I am attaching a test program that I can run to demonstrate the issue.
Can anyone explain why it is that there is this difference?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Per our investigation below, we're not seeing the failure with the latest driver. Have you tested this recently? I'll mark this resolved until you confirm otherwise. Thanks.
Ran with the latest driver code on HSW - both GetDC and CreateDC return 36 pixel formats when running the attached application.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Eric
Our OGL has looked at this issue and are currently investigating why it occurs. Please watch this thread for updates.
Thanks
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Per our investigation below, we're not seeing the failure with the latest driver. Have you tested this recently? I'll mark this resolved until you confirm otherwise. Thanks.
Ran with the latest driver code on HSW - both GetDC and CreateDC return 36 pixel formats when running the attached application.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page