I can't seem to get a definite answer to this via searching. Are the Win32 blitting operations hardware accelerated (GDI, not GDI+). I don't know how these functions interface with the graphics driver. Is there any function call to verify this functionality, like ?GetCaps? for a specific graphics device (win32 graphics device) to see if these functions are receiving hardware acceleration?
相关问题
- the application was unable to start correctly 0xc0
- How to make Motherboard Beep through C++ Code? [cl
- Handle button click in another application
- win32 Python - pythoncom error - ImportError: No m
- How to prevent windows from accessing and detectin
相关文章
- How to create a MediaClip from RenderTargetBitmap
- Why windows 64 still makes use of user32.dll etc?
- Can WM_NEXTDLGCTL be used with non-dialog windows?
- Windows EventLog: How fast are operations with it?
- Are resource files compiled as UNICODE or ANSI cod
- c# saving very large bitmaps as jpegs (or any othe
- user32 and kernel method list for C# [closed]
- Writing to the middle of the file (without ove
According to this, GDI is only hardware accelerated on windows 7 onwards. This lists how to specify which operations are to be hardware accelerated. included in the list is
BitBlt
andStretchBlt
, so yes they are hardware accelerated, but you need to have a system supporting it, and you need to enable it.If GDI operations are hardware accelerated depends on the driver but all versions of Windows except Vista* support it.
*: It is possible to use a XP driver on Vista, what happens to GDI in that setup I do not know. (Maybe you can detect this by checking for D3DCAPS2_CANSHARERESOURCE ?) Edit: According to this, it works with XPDM.
There are some kernel caps you could check on Win7 but I don't know if it is possible to check in usermode.