Closed
Bug 1251065
Opened 7 years ago
Closed 7 years ago
Add a pref for logging the current/peak texture usage
Categories
(Core :: Graphics: Layers, defect)
Core
Graphics: Layers
Tracking
()
RESOLVED
FIXED
mozilla47
Tracking | Status | |
---|---|---|
firefox47 | --- | fixed |
People
(Reporter: snorp, Unassigned)
Details
(Whiteboard: [gfx-noted])
Attachments
(1 file, 1 obsolete file)
5.08 KB,
patch
|
nical
:
review+
|
Details | Diff | Splinter Review |
We store and the number of bytes used for textures now, but don't have anywhere to show it other than about:memory. It would be nice to be able to print these values as they change.
Reporter | ||
Comment 1•7 years ago
|
||
Attachment #8723271 -
Flags: review?(nical.bugzilla)
Comment 2•7 years ago
|
||
Comment on attachment 8723271 [details] [diff] [review] Add prefs for logging the current and peak texture usage Review of attachment 8723271 [details] [diff] [review]: ----------------------------------------------------------------- ::: gfx/gl/GfxTexturesReporter.cpp @@ +59,5 @@ > if (action == MemoryFreed) { > MOZ_RELEASE_ASSERT(amount <= sAmount); > sAmount -= amount; > + > + if (Preferences::GetBool("gfx.log-texture-usage.enabled")) { Can this be called off the main thread ?
Updated•7 years ago
|
Attachment #8723271 -
Flags: review?(nical.bugzilla)
Reporter | ||
Comment 3•7 years ago
|
||
Attachment #8723574 -
Flags: review?(nical.bugzilla)
Reporter | ||
Updated•7 years ago
|
Attachment #8723271 -
Attachment is obsolete: true
Updated•7 years ago
|
Attachment #8723574 -
Flags: review?(nical.bugzilla) → review+
Updated•7 years ago
|
Whiteboard: [gfx-noted]
Comment 7•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d7584b9e0166
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox47:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in
before you can comment on or make changes to this bug.
Description
•