Platform/GFX/LayerScope: Difference between revisions

Line 8: Line 8:


=== Enabling Layer Scope ===
=== Enabling Layer Scope ===
'''Desktop''': go to <u>about:config</u> and set <tt>gfx.layerscope.enabled</tt> to '''true'''.
'''Desktop''':
*Note: On linux, please also set <tt>layers.offmainthreadcomposition.enabled</tt> (enabled by default on Mac) and <tt>layers.acceleration.force-enabled</tt> to '''true'''. However, you don't have to change these two configs on Mac.
* Linux
  go to <u>about:config</u>
  set <tt>gfx.layerscope.enabled</tt> to '''true'''.
  set <tt>layers.offmainthreadcomposition.enabled</tt> to '''true'''.
  set <tt>layers.acceleration.force-enabled</tt> to '''true'''.
* Mac/ Windows
  go to <u>about:config</u>
  set <tt>gfx.layerscope.enabled</tt> to '''true'''.


'''B2G''':  
'''B2G''':  
* Go to the Developer in Settings and click "Dump layerscope" to enable Layerscope
* Go to the Developer in Settings and click "Dump layerscope" to enable Layerscope
* If your working branch doesn't have this item to enable it, please go with the following step
* If your working branch doesn't have this item to enable it, please go with the following step
Line 19: Line 25:
   user_pref("network.gonk.manage-offline-status", false);
   user_pref("network.gonk.manage-offline-status", false);
Save and exit.
Save and exit.
=== Enabling Display List Dump ===
=== Enabling Display List Dump ===
After {{Bug|1061393}} landing, we can have display list information revealing on the LayerScope viewer. To enable this feature, you need to enable "layout.display-list.dump" preference
After {{Bug|1061393}} landing, we can have display list information revealing on the LayerScope viewer. To enable this feature, you need to enable "layout.display-list.dump" preference
Confirmed users
1,643

edits