FirefoxGraphics / wr-planning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Solve Batching Problem with alternating text and image 'scenes'

jbonisteel opened this issue · comments

Jimb?

There is a meta meta-bug (alias wr-batching) See comment 1.
One of the common source of batch breaks is alternating text and images (or text and their shadows the latter being rendered using the image shader), although we also identified other sources of batching issues.

Three (independent) angles to attack the issue we have identified:

  • (Work in progress) Avoid batch breaks by having a shader that can render text and images: bug 1615613.

  • Avoid batch breaks caused by how images are packed into different textures: bug 1622226.

  • Avoid batch breaks by changing the batching algorithm bug 1585374.