Revert "Reduce max # of AA Quads that can be merged or chained into a single GrTextureOp"

This reverts commit 0a4681d044.

Reason for revert: Maybe the cause of red bots

Original change's description:
> Reduce max # of AA Quads that can be merged or chained into a single GrTextureOp
> 
> It is, arguably, not a good metric but the max number of AA Quads that are merged or chained together across all Skia's GMs and SKPs is 276.
> 
> This should also reduce the memory consumed from 245,760 bytes to 30,720 bytes.
> 
> Bug: b/143572065
> Change-Id: Ia70d3671fa33e0d84b38b4788e8c74ef98a9661e
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/252176
> Reviewed-by: Michael Ludwig <michaelludwig@google.com>
> Commit-Queue: Robert Phillips <robertphillips@google.com>

TBR=robertphillips@google.com,michaelludwig@google.com

Change-Id: Id38a1242327b853b494631d9fbc6f6d3f15d5aec
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: b/143572065
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/252193
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
This commit is contained in:
Robert Phillips 2019-11-01 19:08:17 +00:00 committed by Skia Commit-Bot
parent 491eba5f1d
commit e2e3a2fc57

View File

@ -414,7 +414,7 @@ int GrResourceProvider::NumVertsPerNonAAQuad() { return kVertsPerNonAAQuad; }
int GrResourceProvider::NumIndicesPerNonAAQuad() { return kIndicesPerNonAAQuad; }
///////////////////////////////////////////////////////////////////////////////////////////////////
static constexpr int kMaxNumAAQuads = 1 << 9; // max possible: (1 << 13) - 1;
static constexpr int kMaxNumAAQuads = 1 << 12; // max possible: (1 << 13) - 1;
static const int kVertsPerAAQuad = 8;
static const int kIndicesPerAAQuad = 30;