I use "top -t" to show the performance when the browser was launched, and I 
found that the thread "Compositor" consumes too much CPU resource > 24%, even 
when page was loaded  long time after, 
   I try to enable hardware compositor in firefox OS using android hardware 
resource such as hwcompositor.xxx.so
   1. pref("layers.composer2d.enabled", true) let sUsingHwc=1 sUsingOMTC=1. but 
it dosn't work, and have side effect that the browser content cannot be shown, 
the page can only can be seen when switching to another website, it's strange. 
   
   and when DoDraw in nsWindows.cpp lm->GetBackendType return 
mozilla::layers::LAYERS_BASIC,  I read some comments that if hardware 
compositor was enabled it should go mozilla::layers::LAYERS_OPENGL == 
lm->GetBackendType() path does it right?  I checked the base GetBackendType 
function it just return LAYERS_BASIC
  firefox  now only support LAYERS_BASIC? it can support hardware compositor? 
or it need another patch? 
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to