I am new to DirectX, and after spending some time in reading the documentation I came to know that there are two video buffers, the FrontBuffer and the BackBuffer. I am performing a POC to verify the fastest method of screen capture, and the BackBuffer, according to some sources might do this trick. (FrontBuffer access is too slow for me)
But unfortunately there aren't so many good articles on the internet that explains the theory in detail. I have some questions that also might help others, if answered.
- Is the back buffer simply a surface where an application can write into?
- Is the back buffer application specific? i.e. separate back buffer for each DX app?
- If I am running some app which shows some data on screen using DirectX, can I capture its back buffer? (According to FRAPS analysis a DLL can be hooked to the app to do this. But any guidelines?)