gfx resources are now disposable
some stuff