A gay chef murdered his lover, cut out part of his leg, seasoned it with herbs and fried it, a court has heard.