Exemplo n.º 1
0
 public ScopedFrame(CompositorContext context, Canvas canvas, bool instrumentationEnabled)
 {
     this._context = context;
     this._canvas  = canvas;
     this._instrumentationEnabled = instrumentationEnabled;
     this._context._beginFrame(this, this._instrumentationEnabled);
 }
Exemplo n.º 2
0
            public ScopedFrame(CompositorContext context, Canvas canvas)
            {
                this._context = context;
                this._canvas  = canvas;

                this._context._beginFrame(this);
            }