linear gradient support added to renderdevice/batchmanager