3bab787103
This avoids some calls to glGetFloatv, which have at least proven to be very in-efficient in mesa at this point in time, since it always updates all derived state even when it may not relate to the state being requested.