Serialise out whether data is provided to glTexImage* functions
Handling for old style unsized texture internal formats
Serialise a few more state change functions