WebGL2: Implement some miscellaneous parameters (bug 1081419, r=jgilbert).

--HG--
extra : rebase_source : 3c5aaf37b7ba90d234d662dbcc5e90c862e75924