render/gl: implementation draft