OSDN Git Service

Fix profile gpu bars to use display fps
authorJohn Reck <jreck@google.com>
Fri, 15 Mar 2019 23:36:01 +0000 (16:36 -0700)
committerJohn Reck <jreck@google.com>
Fri, 15 Mar 2019 23:49:25 +0000 (16:49 -0700)
commit3c0f563786e23ea97f46e5f6d74023d27d3f764b
treeb668fab7f2ba5a12b27e465de1e6aaef377e70f5
parent59a599c1d34e0d70171672b6fa6bc52b81be3508
Fix profile gpu bars to use display fps

Also adds a 'good' bar at 80% threshold
and a 'bad' bar at 150% threshold (where triple
buffering would start to get iffy)

Fixes: 127371028
Test: eyeball'd it

Change-Id: I109cd293f87f8cb9c8f1e66d49fb8fb2188b0bec
libs/hwui/FrameInfoVisualizer.cpp
libs/hwui/FrameInfoVisualizer.h
libs/hwui/renderthread/CanvasContext.cpp
libs/hwui/renderthread/RenderThread.cpp
libs/hwui/renderthread/RenderThread.h