Open Bug 943004 Opened 12 years ago Updated 3 years ago

provide sync markers to aid in eideticker fps tests

Categories

(Core :: Graphics: Layers, defect, P4)

defect

Tracking

()

People

(Reporter: bkelly, Unassigned)

References

Details

(Keywords: perf, Whiteboard: [c=automation p= s= u=])

Currently it is difficult for eideticker to accurately determine the fps of the display due to the refresh rate of the screen being out of sync with the capture rate of the camera. Typically the camera will receive a partially drawn frame each time it captures the screen. To help work around this issue it might be helpful for the device to display sync markers. These markers would be a vertical bar along the side of the screen. The color of the bar would alternate on each frame allowing. This would make it easier for eideticker to detect where the frame boundary occurs. If the gfx team doesn't have time for this, I think I might know enough now to try adding the markers to CompositorOGL.cpp similar to how the fps overlay is drawn.
(In reply to Ben Kelly [:bkelly] from comment #0) > try adding the markers to CompositorOGL.cpp similar to how the fps > overlay is drawn. The FPS counter is OGL specific because CompositorOGL wasn't around back then. Now that we have a compositor abstraction new code like this should live in gfx/layers/composite/LayerManagerComposite.cpp. It should work similar to the frame borders. You should be able to fill a rect to get the colored border and it should be platform neutral.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.