зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1046984. Include the stride in the gralloc memory report.
--HG-- extra : rebase_source : b5c7f060c73dc67b4cdb3fe29a59c288ddbde9b2
This commit is contained in:
Родитель
3017d2858c
Коммит
29151fa2e2
|
@ -65,8 +65,8 @@ public:
|
|||
// Special case for BSP specific formats (mainly YUV formats, count it as normal YUV buffer).
|
||||
: (stride * height * 3 / 2);
|
||||
|
||||
nsPrintfCString gpath("gralloc/pid(%d)/buffer(width=%d, height=%d, bpp=%d)",
|
||||
pid, gb->getWidth(), height, bpp);
|
||||
nsPrintfCString gpath("gralloc/pid(%d)/buffer(width=%d, height=%d, bpp=%d, stride=%d)",
|
||||
pid, gb->getWidth(), height, bpp, stride);
|
||||
|
||||
rv = aHandleReport->Callback(EmptyCString(), gpath, KIND_OTHER, UNITS_BYTES, amount,
|
||||
NS_LITERAL_CSTRING(
|
||||
|
|
Загрузка…
Ссылка в новой задаче