public InterfaceControler(Rectangle ifaceBounds) { iRect = ifaceBounds; CrowInterface = new Interface(); CrowInterface.Init(); #if MEASURE_TIME PerfMeasures = new List <PerformanceMeasure> ( new PerformanceMeasure[] { this.CrowInterface.updateMeasure, this.CrowInterface.layoutingMeasure, this.CrowInterface.clippingMeasure, this.CrowInterface.drawingMeasure, this.glDrawMeasure } ); #endif Thread t = new Thread(interfaceThread); t.IsBackground = true; t.Start(); initGL(); }
protected override void initVulkan() { base.initVulkan(); iFace = new Crow.Interface((int)Width, (int)Height, WindowHandle); iFace.Init(); initUISurface(); }