Gecko:DisplayListBasedInvalidation: Difference between revisions

(Note that setting MOZ_DUMP_PAINT_LIST only works if you also built with --enable-dump-painting)
Line 43: Line 43:
= Debugging Invalidations Problems =
= Debugging Invalidations Problems =
== Invalidation Logging ==
== Invalidation Logging ==
This requires an --enable-debug build.  Enable logging by defining 'DEBUG_INVALIDATIONS' in view/src/nsViewManager.cpp and layout/base/FrameLayerBuilder.cpp and recompile/link these files.
This requires an --enable-debug build.  Enable logging by flipping the nglayout.debug.invalidation pref to true (or else, prior to v24, defining 'DEBUG_INVALIDATIONS' in view/src/nsViewManager.cpp and layout/base/FrameLayerBuilder.cpp and recompile/link these files).
Running with MOZ_DUMP_PAINT_LIST=1 (only works if you also built with --enable-dump-painting) in your environment is recommended to view the display list that is being analyzed by DLBI, but note that this adds a huge amount of extra log data.
Running with MOZ_DUMP_PAINT_LIST=1 (only works if you also built with --enable-dump-painting) in your environment is recommended to view the display list that is being analyzed by DLBI, but note that this adds a huge amount of extra log data.


Confirmed users, Bureaucrats and Sysops emeriti
969

edits