Click here to Skip to main content
15,887,746 members
Home / Discussions / Graphics
   

Graphics

 
AnswerRe: Capture DirectX video from screen to MPG or WMV (not AVI) Pin
LunaticFringe25-Dec-09 8:19
LunaticFringe25-Dec-09 8:19 
GeneralRe: Capture DirectX video from screen to MPG or WMV (not AVI) Pin
dybs25-Dec-09 8:33
dybs25-Dec-09 8:33 
GeneralRe: Capture DirectX video from screen to MPG or WMV (not AVI) Pin
LunaticFringe25-Dec-09 8:51
LunaticFringe25-Dec-09 8:51 
AnswerRe: Capture DirectX video from screen to MPG or WMV (not AVI) Pin
Luc Pattyn25-Dec-09 9:12
sitebuilderLuc Pattyn25-Dec-09 9:12 
GeneralRe: Capture DirectX video from screen to MPG or WMV (not AVI) Pin
dybs25-Dec-09 9:47
dybs25-Dec-09 9:47 
QuestionGDI+ under Windows 7 Pin
Leslie Sanford22-Dec-09 13:13
Leslie Sanford22-Dec-09 13:13 
AnswerRe: GDI+ under Windows 7 Pin
clawton24-Dec-09 11:56
clawton24-Dec-09 11:56 
GeneralRe: GDI+ under Windows 7 Pin
ZTransform5-Jan-10 2:25
ZTransform5-Jan-10 2:25 
Check out this link...
http://blogs.msdn.com/directx/archive/2009/09/29/comparing-direct2d-and-gdi.aspx[^]

Specifically.. the first reader comment:

"For whatever reason GDI+ slows so down in Windows 7, it is not understandable....

Reply:

"Husker, the problem with GDI+ that you describe is related to new support for device bitmaps in Win7, and there's a workaround.

In Vista, Microsoft stopped using XP Driver Model (XPDM) display drivers in scenarios in which the Desktop Window Manager (DWM) is running. Because of this, it meant that all GDI operations – which used to be hardware accelerated by XPDM drivers – became software-only (meaning, not hardware accelerated). Applications render via GDI to a software buffer, which is then blt’d via the DWM.

In Windows 7, Microsoft modified the use of GDI in a couple important ways. First, the GDI back buffer maintained by DWM was moved from system memory into hardware aperature memory. This improves blt speed. Second, WDDM 1.1 drivers can hardware-accelerate a certain number of limited GDI operations (eg. solid color fill, etc). So, as long as you have a WDDM 1.1 driver, GDI is sort-of “reaccelerated”. The degree to which WDDM 1.1 cards can hardware accelerate depends on fill rate, etc.

There’s a bug in GDI+ (which you’re describing above) that causes it to do readback from the hardware in a certain number of scenarios. The best way to use GDI+ in Windows 7 is to render with GDI+ to a DIB section and then blt the final result. You might want to give that a try before doing anything else.

Tom
GeneralRe: GDI+ under Windows 7 Pin
Dan Mos27-Jan-10 14:01
Dan Mos27-Jan-10 14:01 
Questionhow to get contour lines and u,v vector plots in OpenGL? Pin
gourishsio5-Dec-09 22:12
gourishsio5-Dec-09 22:12 
AnswerRe: how to get contour lines and u,v vector plots in OpenGL? Pin
LunaticFringe6-Dec-09 2:27
LunaticFringe6-Dec-09 2:27 
QuestionDraw Text Upside Down Pin
WaveK8928-Nov-09 13:57
WaveK8928-Nov-09 13:57 
AnswerRe: Draw Text Upside Down Pin
Luc Pattyn28-Nov-09 14:22
sitebuilderLuc Pattyn28-Nov-09 14:22 
AnswerRe: Draw Text Upside Down Pin
Tim Craig28-Nov-09 20:55
Tim Craig28-Nov-09 20:55 
AnswerRe: Draw Text Upside Down Pin
Richard MacCutchan28-Nov-09 21:40
mveRichard MacCutchan28-Nov-09 21:40 
Question3D Image Display. Pin
ashwath197919-Nov-09 23:20
ashwath197919-Nov-09 23:20 
AnswerRe: 3D Image Display. Pin
Baltoro21-Nov-09 11:48
Baltoro21-Nov-09 11:48 
AnswerRe: 3D Image Display. Pin
LunaticFringe22-Nov-09 7:32
LunaticFringe22-Nov-09 7:32 
GeneralRe: 3D Image Display. Pin
Tim Craig22-Nov-09 8:06
Tim Craig22-Nov-09 8:06 
QuestionSet the properties of a DirectShow filter (not DMO filter) in code (no GUI) Pin
RobstaHendricks12-Nov-09 2:55
RobstaHendricks12-Nov-09 2:55 
AnswerRe: Set the properties of a DirectShow filter (not DMO filter) in code (no GUI) Pin
Richard MacCutchan12-Nov-09 5:55
mveRichard MacCutchan12-Nov-09 5:55 
GeneralRe: Set the properties of a DirectShow filter (not DMO filter) in code (no GUI) Pin
RobstaHendricks12-Nov-09 23:03
RobstaHendricks12-Nov-09 23:03 
GeneralRe: Set the properties of a DirectShow filter (not DMO filter) in code (no GUI) Pin
Richard MacCutchan12-Nov-09 23:18
mveRichard MacCutchan12-Nov-09 23:18 
GeneralRe: Set the properties of a DirectShow filter (not DMO filter) in code (no GUI) Pin
RobstaHendricks13-Nov-09 0:09
RobstaHendricks13-Nov-09 0:09 
GeneralRe: Set the properties of a DirectShow filter (not DMO filter) in code (no GUI) Pin
Richard MacCutchan13-Nov-09 0:29
mveRichard MacCutchan13-Nov-09 0:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.