- mGraphics = std::unique_ptr< GraphicsInterface >( &graphicsFactory.Create() );
- mGraphics->Initialize( mEnvironmentOptions );
-
- GraphicsInterface* graphics = mGraphics.get(); // This interface is temporary until Core has been updated to match
- auto eglGraphics = static_cast<EglGraphics *>( graphics );
-
- // This will only be created once
- eglGraphics->Create();
-
- GlImplementation& mGLES = eglGraphics->GetGlesInterface();
- EglSyncImplementation& eglSyncImpl = eglGraphics->GetSyncImplementation();
- EglContextHelperImplementation& eglContextHelperImpl = eglGraphics->GetContextHelperImplementation();