commit | 3920768c72240c11f7ff62e1a823142bb451ff82 | [log] [tgz] |
---|---|---|
author | John Reck <jreck@google.com> | Wed May 12 19:10:47 2021 -0400 |
committer | John Reck <jreck@google.com> | Wed May 12 19:29:03 2021 -0400 |
tree | 7766756c9fde387af03a34c7e43500e654782df2 | |
parent | 8ae0654abd92ac4da12272f0618ae0ac992a63be [diff] [blame] |
More benchmark tweaks Bug: 187718492 Test: this Change-Id: Ie0cad91e1c7d1a02704fc4b1007ba2c28cb2b3e7
diff --git a/libs/hwui/renderthread/RenderThread.h b/libs/hwui/renderthread/RenderThread.h index afd5750..5021085 100644 --- a/libs/hwui/renderthread/RenderThread.h +++ b/libs/hwui/renderthread/RenderThread.h
@@ -151,6 +151,7 @@ sk_sp<Bitmap> allocateHardwareBitmap(SkBitmap& skBitmap); void dumpGraphicsMemory(int fd, bool includeProfileData); + void getMemoryUsage(size_t* cpuUsage, size_t* gpuUsage); void requireGlContext(); void requireVkContext();