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 - 使慧深利用

相关问题