2016-08-24 55 views
0
  1. 我用過,亞行外殼dumpsys gfxinfo中

爲什麼我的應用程序的信息爲空約抽獎,進程,執行ADB殼dumpsys gfxinfo中? 我不明白爲什麼空的那個數據。 幫我看看。爲什麼我的應用程序的信息爲空約抽獎,進程,執行ADB殼dumpsys gfxinfo中

** Graphics info for pid 3213 [com.kabam.marvelbattle] ** 

Recent DisplayList operations 
    Save 
    ClipRect 
    DrawDisplayList 
    DrawPatch 
    Save 
    ClipRect 
    Translate 
    DrawPatch 
    DrawDisplayList 
     DrawText 
    RestoreToCount 
    DrawDisplayList 
    RestoreToCount 
DrawRect 
DrawPatch 
DrawPatch 
DrawText 
DrawDisplayList 
    DrawDisplayList 
    DrawDisplayList 
     DrawRect 
     Save 
    ClipRect 
    DrawDisplayList 
    DrawPatch 
    Save 
    ClipRect 
    Translate 
    DrawPatch 
    DrawDisplayList 
     DrawRect 
     DrawText 
    RestoreToCount 
    DrawDisplayList 
    RestoreToCount 
DrawRect 
DrawPatch 
DrawPatch 
DrawRect 
DrawText 
SetupShader 
DrawRect 
ResetShader 
DrawDisplayList 
    DrawDisplayList 
DrawDisplayList 
    DrawDisplayList 
    DrawColor 
DrawRect 
DrawColor 

Caches: 
Current memory usage/total memory usage (bytes): 
    TextureCache   30052/75497472 
    LayerCache     0/50331648 
    RenderBufferCache   0/8388608 
    GradientCache    0/1048576 
    PathCache     0/33554432 
    TextDropShadowCache   0/6291456 
    PatchCache    768/ 131072 
    FontRenderer 0 A8  1048576/1048576 
    FontRenderer 0 RGBA   0/  0 
    FontRenderer 0 total 1048576/1048576 
Other: 
FboCache     0/  16 
Total memory usage: 
    1079396 bytes, 1.03 MB 

Profile data in ms: 
com.kabam.marvelbattle/com.explodingbarrel.Activity/[email protected] 
    Draw Process Execute 

View hierarchy: 

    com.kabam.marvelbattle/com.explodingbarrel.Activity/[email protected] 

6次,顯示列表的0.22 KB,5幀渲染

Total ViewRootImpl: 1 
Total Views:  6 
Total DisplayList: 0.22 kB 
+0

這裏需要補充慧深標籤 – N0dGrand87

回答

0

在AOSP存在幾種方法如何渲染UI:

  • 基於CPU庫如Skia的
  • 基於硬件加速庫 - 如HWUI

對於上述日誌,輸出意味着 - 您的活動不使用加速HWUI - 沒有將HardwareRenderer實施分配給您的活動視圖。 的dumpGfxInfo()API實施無關的輸出在這裏 - 看sources

下面是相關的問題How to enable skia with GPU backend on JB - 使慧深利用

相關問題