文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>[Tips] [Windows Phone 7] 如何開啟和關閉畫面更新率(Frame Rate Counters)的顯示

[Tips] [Windows Phone 7] 如何開啟和關閉畫面更新率(Frame Rate Counters)的顯示

时间:2010-09-18  来源:B+

Windows Phone 7 RTM版的工具預設會將畫面更新率顯示開啟,但我們依然可以到App.xaml把它關起來。

Application.Current.Host.Settings.EnableFrameRateCounter =false;

 

if (System.Diagnostics.Debugger.IsAttached)
{
    // Display the current frame rate counters.
    Application.Current.Host.Settings.EnableFrameRateCounter =true;

    // Show the areas of the app that are being redrawn in each frame.
    //Application.Current.Host.Settings.EnableRedrawRegions = true;

    // Enable non-production analysis visualization mode,
    // which shows areas of a page that are being GPU accelerated with a colored overlay.
    //Application.Current.Host.Settings.EnableCacheVisualization = true;
}

照理說在非Debug模式下,畫面更新率應該就會關閉了。

但我怎麼試都無效,還請有測試出來的朋友多多指教了。

 

Copyright © 2010 B+ Studio.

相关阅读 更多 +
排行榜 更多 +
瓢虫少女

瓢虫少女

飞行射击 下载
潜艇鱼雷

潜艇鱼雷

飞行射击 下载
网络掠夺者

网络掠夺者

飞行射击 下载