PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Diff between CreateSurfaces and CreateVideoSurfaces?

Hi There,

Can anyone explain the difference between these two functions and what's their best usage? Thanks.
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.