Bug 1110998 - Let the profiler turn on layers.dump-texture. r=mstange

This commit is contained in:
Benoit Girard
2014-12-12 16:11:57 -05:00
parent b46210a06d
commit 433462a3b6
5 changed files with 16 additions and 3 deletions

View File

@@ -328,7 +328,7 @@ TextureHost::PrintInfo(std::stringstream& aStream, const char* aPrefix)
}
AppendToString(aStream, mFlags, " [flags=", "]");
#ifdef MOZ_DUMP_PAINTING
if (gfxPrefs::LayersDumpTexture()) {
if (gfxPrefs::LayersDumpTexture() || profiler_feature_active("layersdump")) {
nsAutoCString pfx(aPrefix);
pfx += " ";