Where does it say Siddhartha Gautama mastered all types of meditation? I vaguely recall that before he sat to meditate under the bodhi tree and was enlightened, he learned all the different techniques of meditation. Where does it say this?
In the Maha-Saccaka Sutta it describes his learning some meditation types/techniques, from teachers, before he sat and was enlightened:


  Alara Kalama ... the dimension of nothingness.


~~~


  Uddaka Ramaputta ... the dimension of neither perception nor non-perception.


~~~


  Whatever brahmans or contemplatives in the past have felt painful, racking, piercing feelings due to their striving, this is the utmost.
  None have been greater than this. Whatever brahmans or contemplatives
  in the future will feel painful, racking, piercing feelings due to
  their striving, this is the utmost. None will be greater than this.
  Whatever brahmans or contemplatives in the present are feeling
  painful, racking, piercing feelings due to their striving, this is the
  utmost. None is greater than this. But with this racking practice of
  austerities I haven't attained any superior human state, any
  distinction in knowledge or vision worthy of the noble ones.