Hi, I've been searching how to change the main Back Buffer and unfortunatelly didn't find anything helpful. Basicly I need to change the main pointer to a BackBuffer to a pointer of a surface compatible with the back buffer format. The idea is to get some frames from the main stream and anylyze data in them without using lock methods that are lowing the performance.
So I will:
1.Switch pointers of BackBuffer and my surface.
2.Anylyze data in BackBuffer.
4.Switch back the pointers.
5.Analyze data in my surface.
7.Switch pointers of BackBuffer and my surface.
8.Anylyze data in BackBuffer.
I need only to point me. And maybe also some suggestions about setting my surface format compatible with BackBuffer format. I'm writing my code in C++, DirectX 9.