<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                ## 目錄 * 前言 * 13.1 操作步驟 * (一)打開node-webkit,輸入`chrome://gpu`。 * (二)打開開發者工具 * (三)在控制臺輸入代碼: * (四)在控制臺繼續輸入: * (五)查看返回的json數據 * 11.2 小結 ## 前言 Chrome 中可以通過chrome://gpu來查看gpu的診斷信息。因為chrome對gpu的依賴越來越強,所以在應用開發過程中,查看某些特性的支持和問題診斷,gpu信息都很重要。 但是node-webkit現在無法完整支持通過chrome://gpu的方式來顯示gpu診斷信息。本文介紹的方法可以彌補這一缺憾 ## 13.1 操作步驟 ### (一)打開node-webkit,輸入`chrome://gpu`。 ![](https://wizardforcel.gitbooks.io/nwjs-doc/content/tutorial/img/191037569664822.jpg) ### (二)打開開發者工具 ![](https://wizardforcel.gitbooks.io/nwjs-doc/content/tutorial/img/191038047633272.jpg) ### (三)在控制臺輸入代碼: ~~~ var browserBridge = { onGpuInfoUpdate:function(arg){console.log(JSON.stringify(arg,null,1)); }}; ~~~ ![](https://wizardforcel.gitbooks.io/nwjs-doc/content/tutorial/img/191038154985393.png) ### (四)在控制臺繼續輸入: ~~~ chrome.send('browserBridgeInitialized'); ~~~ ![](https://wizardforcel.gitbooks.io/nwjs-doc/content/tutorial/img/191038244042872.png) ### (五)查看返回的json數據 ![](https://wizardforcel.gitbooks.io/nwjs-doc/content/tutorial/img/191038339984208.jpg) ## 11.2 小結 本文內容主要參考node-webkit的官方英文文檔,做了適當的調整([https://github.com/rogerwang/node-webkit/wiki/Extract-info-about-gpu)。](https://github.com/rogerwang/node-webkit/wiki/Extract-info-about-gpu%EF%BC%89%E3%80%82)
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看