Merge changes I15ade99a,I7abef0e1,I4b0c37ad

* changes:
  egl: validate sync api
  egl: copy width/height info to TexRec
  egl: send empty attribs on null