Diff between CreateSurfaces and CreateVideoSurfaces?

Posted:
Aug 18, 2003 @ 2:04am
by denthorq
Hi There,
Can anyone explain the difference between these two functions and what's their best usage? Thanks.

Posted:
Aug 18, 2003 @ 3:26am
by DillRye
Im pretty sure that Create Video Surfaces was introduced for directX/Stationary PC type stuff.
I think it will try to load the surface into video memory for faster access, while Create surface will just make a surface in system memory.
In direct X when you alt tab or goto another application, theres the possibility that your surface will be lost and need to be refreshed. I believe CreateVideoSurface will handel this.