Dynamically allocate surfaces and vertex parameter buffer.