Platform/GFX/APZ: Difference between revisions

→‎Debugging APZ: mention moz_log
(Misc updates)
(→‎Debugging APZ: mention moz_log)
Line 77: Line 77:
This logging can be turned on by setting the "apz.printtree" pref to "true".
This logging can be turned on by setting the "apz.printtree" pref to "true".


Additional compile-time logging can be enabled by looking for *_LOG macros at the top of .cpp files. INPQ_LOG in InputQueue.cpp is often useful for tracing input events through the APZ code.
Additional logging can be enabled by looking for *_LOG macros at the top of .cpp files, and setting the MOZ_LOG environment variable appropriately. For example, setting <tt>MOZ_LOG=apz.inputqueue:4</tt> is often useful for tracing input events through the APZ code.


== Main APZ-related projects on the horizon ==
== Main APZ-related projects on the horizon ==
Confirmed users
586

edits