示例#1
0
 void _beginFrame(ScopedFrame frame, bool enableInstrumentation)
 {
     if (enableInstrumentation)
     {
         this._frameTime.start();
     }
 }
示例#2
0
 void _endFrame(ScopedFrame frame, bool enableInstrumentation)
 {
     this._rasterCache.sweepAfterFrame();
     if (enableInstrumentation)
     {
         this._frameTime.stop();
     }
 }
示例#3
0
 private void EndFrame(ScopedFrame frame, bool enable_instrumentation)
 {
     raster_cache_.SweepAfterFrame();
     //if (enable_instrumentation)
     //{
     //    frame_time_.Stop();
     //}
 }
示例#4
0
        //private Stopwatch frame_time_ = new Stopwatch();
        //private Stopwatch engine_time_ = new Stopwatch();

        private void BeginFrame(ScopedFrame frame, bool enable_instrumentation)
        {
            //if (enable_instrumentation)
            //{
            //    frame_count_.Increment();
            //    frame_time_.Start();
            //}
        }
示例#5
0
 private void BeginFrame(ScopedFrame frame, bool enable_instrumentation)
 {
     if (enable_instrumentation)
     {
         Interlocked.Increment(ref _frame_count);
         frame_time_.Start();
     }
 }
示例#6
0
 private void EndFrame(ScopedFrame frame, bool enable_instrumentation)
 {
     raster_cache_.SweepAfterFrame();
 }
示例#7
0
 private void BeginFrame(ScopedFrame frame, bool enable_instrumentation)
 {
 }
示例#8
0
 void _endFrame(ScopedFrame frame)
 {
     this._rasterCache.sweepAfterFrame();
 }
示例#9
0
 void _beginFrame(ScopedFrame frame)
 {
 }