GLContextEGL requires extension "EGL_ANGLE_surface_d3d_share_handle", which no longer exists. According to the extension spec, the extension was renamed in version 2 to "EGL_ANGLE_surface_d3d_texture_2d_share_handle", but this change was evidently never factored back into GLContextEGL.
EGL_ANGLE_surface_d3d_share_handle only ever existed in a local patch that we used to have, not in upstream ANGLE.
When I upgraded ANGLE to r653 (bug 657748), I removed this patch as that functionality had been integrated upstream. I didn't notice that the extension name was different.
Created attachment 549201 [details] [diff] [review]
Updates extension and relevant identifiers to match spec.
Fixed y-flip problem with shared textures.
Landed on central:
Please give us beta approval.
Landed on aurora and beta.
Mozilla/5.0 (Windows NT 6.1; rv:7.0) Gecko/20100101 Firefox/7.0
Can anyone please help me with a test case or with STR / guidelines that I can use to verify this fix?
Actually, no, it's not very easy to verify this one. The only user-visible difference is speed: when we had this bug, running WebGL demos with a large window or full-screen was slower than normal.
In order to prevent this kind of regression in the future, we need WebGL performance tests: bug 676138.
qa- as no QA fix verification needed