BitBlt Performance

I have a function that splits a multi-page tiff into separate pages and uses the Windows BitBlt function. In terms of performance, will the graphics card have any impact on the split? Would it be wise to use a direct C / C ++ library?

+3
source share
2 answers

The video card will not participate in any activities if it is not a BitBlt destination HDC. A library designed to work with images should work better for this task, as you will eventually burn them to disk.

If you made changes to the image data, then it is likely that using your video card may help; but only if you render a lot of new image data for target tiffs, especially 3D scenes, etc.

+2
source

If BitBlt can display pages in video memory, there is a very good chance that your video card will be much faster than the processor. This happens for several reasons:

  • The card will work in parallel with your CPU, so you can do other work while it is working.
  • The video card is optimized for making its own copies of memory, instead of being able to copy each word from one place to another. This frees up your processor bus for other things.
  • , , , blit - , , , . , , .

, . , , , . .

, , , , . .

- , , . , - .

+2

Source: https://habr.com/ru/post/1710363/


All Articles