surface with irregular perimeter

I have a sphere drawn with glu_sphere().
I want to form a surface whose perimeter
points are an irregular (concave/convex)
polygon, and is “filled”. Think of
representing a country on the surface of
the Earth, given its boundary points.