Clear the buffer after each frame.
Allow manual specification of region ID. Added test for region ordering.
Use SDRAM size for DTCM unless the vertex has a dtcm_usage attribute.