commit | 0e1853c89615d14d0d03c87c7e0c604e5285cc54 | [log] [tgz] |
---|---|---|
author | egdaniel <egdaniel@google.com> | Thu Mar 17 11:35:45 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Thu Mar 17 11:35:45 2016 -0700 |
tree | e0ffc4b77a62d396b548f6e45fc8b335d3e6ecc1 | |
parent | 852f15da7ceb53cfb49b9f728baa6dbc53b27694 [diff] |
Update how we send draws to gpu backend to reduce state setting. The main change here is that we pull primitive type off of the vertices, we set the gpu state on gpu once per pipeline/prim proc draw batch, and we create the ProgramDescriptor only for the Cache/ProgramBuilder. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1806983002 Review URL: https://codereview.chromium.org/1806983002