Re: DibSection Hardware Accelereated??
- From: "Tomaz Koritnik" <nospam@xxxxxxxxxx>
- Date: Sun, 25 Sep 2005 20:45:51 +0200
>I know that BitBlt and AlphaBlend from a DDB to DDB is
>hardware-accelerated.
> But what about BitBlt and AlphaBlend from a DibSection to DibSection?? Is
> it
> Hardware-Accelerated too? or is it done by the CPU??
With DIB you don't get hardware acceleration. Well, sort of. The problem is
that graphics card can only accelerate drawing of bitmaps when bitmaps are
stored in graphics card memory and since DIB is stored in RAM this can't
work unless you copy bitmap data from RAM to graphics card memory. That it
copying from DIB to device dependant bitmap (DDB). DIB stores data in RAM
while DDB in graphics card memory. The big problem is that speed of data
transfer from RAM to graphics card is slow on many low-cost computers.
Processor does much of the work but speed greatly depends on mother-board
and bus type (AGP 2x, 4x, 8x...). Most middle-cost and maybe even some
low-cost computers these days should be fast enough.
regards
Tomaz
.
- Prev by Date: UnrealizeObject()
- Next by Date: Re: GDI+ Performance Question
- Previous by thread: UnrealizeObject()
- Next by thread: GetCharWidth32, GetCharABCWidths, GetCharWidth
- Index(es):
Relevant Pages
|