|
group2 0.1.0
CSE 125 Group 2
|
Routing layer between the legacy renderer and the new (in-progress) renderer. More...
Go to the source code of this file.
Classes | |
| class | HybridRenderer |
Routing layer between the legacy renderer and the new (in-progress) renderer.
Each IRenderer call dispatches to the new renderer if it reports supports(feature) == true, otherwise falls through to legacy.
This lets the graphics team replace functionality piece-by-piece: every time a method is implemented in NewRenderer, its entry in NewRenderer::supports() is flipped on and the hybrid starts routing that call to the new implementation without any changes at the call sites.