added virtual keyword and Gallium3D device stub.