Reland "Remove legacy precision boundary"
This reverts commitdab15f7a02
. Reason for revert: the Android roll is broken by something else: b/76126268 Original change's description: > Revert "Remove legacy precision boundary" > > This reverts commita2513c14c4
. > > Reason for revert: This is breaking the Android roll. > > Original change's description: > > Remove legacy precision boundary > > > > Bug: skia:7731 > > Change-Id: I86a87b960541c2bc7b099ca9f609342cb0bbf563 > > Reviewed-on: https://skia-review.googlesource.com/115652 > > Reviewed-by: Cary Clark <caryclark@google.com> > > Commit-Queue: Yuqian Li <liyuqian@google.com> > > TBR=caryclark@google.com,fmalita@chromium.org,liyuqian@google.com,reed@google.com > > Change-Id: I45b14f5a84e97cc1022b99c414f90126d368f598 > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > Bug: skia:7731 > Reviewed-on: https://skia-review.googlesource.com/115840 > Reviewed-by: Derek Sollenberger <djsollen@google.com> > Commit-Queue: Derek Sollenberger <djsollen@google.com> TBR=djsollen@google.com,caryclark@google.com,fmalita@chromium.org,liyuqian@google.com,reed@google.com Change-Id: I5d957cb7be9cc578672079e98ab5e131ad249f70 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: skia:7731 Reviewed-on: https://skia-review.googlesource.com/115940 Reviewed-by: Yuqian Li <liyuqian@google.com> Commit-Queue: Yuqian Li <liyuqian@google.com>
This commit is contained in:
parent
5fba7ad39a
commit
817e999f4c
@ -107,13 +107,8 @@ private:
|
||||
|
||||
class SkCoverageDeltaMask {
|
||||
public:
|
||||
#ifdef SK_SUPPORT_LEGACY_PRECISION_BOUNDARY
|
||||
// 1 for precision error, 1 for boundary delta (e.g., -SK_Fixed1 at fBounds.fRight + 1)
|
||||
static constexpr int PADDING = 2;
|
||||
#else
|
||||
// 3 for precision error, 1 for boundary delta (e.g., -SK_Fixed1 at fBounds.fRight + 1)
|
||||
static constexpr int PADDING = 4;
|
||||
#endif
|
||||
|
||||
static constexpr int SIMD_WIDTH = 8;
|
||||
static constexpr int SUITABLE_WIDTH = 32;
|
||||
|
Loading…
Reference in New Issue
Block a user