commit | 3b9c544bf86f930a29231ad997cb6cfad9055f66 | [log] [tgz] |
---|---|---|
author | Jim Van Verth <jvanverth@google.com> | Thu Jan 16 14:52:16 2020 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu Jan 16 21:50:36 2020 +0000 |
tree | 34c6ec54c92aa771346070f387f86cd68c395844 | |
parent | b0855273ab7bf62d43b45ed141ca4b175e2aa8da [diff] |
Reland "Reland "Add new method for storing DrawOpAtlas texture index."" This is a reland of dea2f34f09c3d0326b36099b406fa546f2b8fd96 Original change's description: > Reland "Add new method for storing DrawOpAtlas texture index." > > This is a reland of c8b2e615400fe43b74dbbd2d7167bb97bd032f87 > > Original change's description: > > Add new method for storing DrawOpAtlas texture index. > > > > Storing the texture index in the lower bit of each texture coordinate > > seems to have issues on certain iOS devices. Rather than do that, we > > use the sign of the texture coordinate to act as our storage bit. > > To manage encoding 0 we map [0, N] to [-1, -N-1] to represent a bit. > > > > Change-Id: Ic588ee92cf858915a1833cf482d4b23bd11c1000 > > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/263561 > > Commit-Queue: Jim Van Verth <jvanverth@google.com> > > Reviewed-by: Brian Osman <brianosman@google.com> > > Change-Id: I901502c3d83ff9727c51ad4447b0cee733257649 > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/264566 > Reviewed-by: Jim Van Verth <jvanverth@google.com> > Commit-Queue: Jim Van Verth <jvanverth@google.com> Change-Id: I000bb74ca57e321084ca2d1d9dc2f0274880c0da Reviewed-on: https://skia-review.googlesource.com/c/skia/+/264689 Reviewed-by: Jim Van Verth <jvanverth@google.com> Commit-Queue: Jim Van Verth <jvanverth@google.com>