microsoft / angle

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

Update holographic rendering parameters for all shaders #131

Closed Almost-Done closed 7 years ago

Almost-Done commented 7 years ago

Currently, holographic rendering parameters are updated on swapChain::reset. Consequently, holographic parameters are only updated for the last used shader. If multiple shaders are used sequentially, they will not have their holographic parameters updated.

This change introduces a notification from glContext when a program is used. When in holographic mode, the holographic rendering parameters will be updated for the then active shaders.

msftclas commented 7 years ago

@Almost-Done, Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA. Thanks, Microsoft Pull Request Bot