public ScopedFrame(CompositorContext context, Canvas canvas, bool instrumentationEnabled) { this._context = context; this._canvas = canvas; this._instrumentationEnabled = instrumentationEnabled; this._context._beginFrame(this, this._instrumentationEnabled); }
public ScopedFrame(CompositorContext context, Canvas canvas) { this._context = context; this._canvas = canvas; this._context._beginFrame(this); }