Systers Community

(Part 2 of 2) Reduce Overdraws found during inspection

An app may draw the same pixel more than once within a single frame, an event called overdraw. Overdraw is usually unnecessary, and best eliminated. It manifests itself as a performance problem by wasting GPU time to render pixels that don't contribute to what the user sees on the screen.

Prerequisite

Steps

  • Analyze all the overdraws found during inspection phase in Part 1 of this task.
  • There are several strategies you can pursue to reduce or eliminate overdraw, such as:
    • Removing unneeded backgrounds in layouts.
    • Flattening the view hierarchy.
    • Reducing transparency.
  • Implement the strategies and reduce the overdraws.

Work Submission

  • Submit a pull request reducing the overdraws.
  • Submit a doc file documenting the overdraws and steps taken by you to reduce them.

Resources

Task tags

  • reduce overdraws
  • android
  • testing

Students who completed this task

Yuyuan Luo

Task type

  • done_all Quality Assurance
close

2017