microsoft / angle

ANGLE: OpenGL ES to DirectX translation
Other
616 stars 166 forks source link

Hololens context loss + recreation loses holographic cameras #106

Open mlfarrell opened 7 years ago

mlfarrell commented 7 years ago

This one took quite a few beers and staying up til 2am last night to figure out. My patch for it is below, I'm sure your official solution will be more graceful:

https://github.com/mlfarrell/angle/commit/a1795af9ff8ec13cff39be305ed4086258170070

austinkinross commented 7 years ago

@MikeRiches - fyi

mlfarrell commented 7 years ago

@MikeRiches expanding upon this. The loss of a holographic camera (but not the context) causes false positive errors due to a lack of mapping between camera ids and holographic poses. I potentially fixed that issue here with this commit:

https://github.com/mlfarrell/angle/commit/ce1a9cad4cdec91c2875ab08a2a0889c8273fae0