aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/ops
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2017-11-30 19:08:10 +0000
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-11-30 19:08:19 +0000
commit48ed0043a94877a5a8afb837356a036f4b70e711 (patch)
treef815d77269050962dbecf27debf48949a2eb21ed /src/gpu/ops
parent25b17780787e504245bb990c2e95b8b612d64106 (diff)
Revert "Set multitexturing threshold for NVIDIA"
This reverts commit b4ec10431818200a41a082cfe2e82fe58a9b1ecc. Reason for revert: to revert another change Original change's description: > Set multitexturing threshold for NVIDIA > > Change-Id: Ie992b34b8fdd3bf569241cce7c851880258f05df > Reviewed-on: https://skia-review.googlesource.com/78261 > Commit-Queue: Brian Salomon <bsalomon@google.com> > Reviewed-by: Robert Phillips <robertphillips@google.com> TBR=bsalomon@google.com,robertphillips@google.com Change-Id: I87923d039d2f2fe17fb73b5e8f45b0c3f6dfedf2 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://skia-review.googlesource.com/78541 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/ops')
-rw-r--r--src/gpu/ops/GrTextureOp.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gpu/ops/GrTextureOp.cpp b/src/gpu/ops/GrTextureOp.cpp
index 1cee63ed43..565eb88c52 100644
--- a/src/gpu/ops/GrTextureOp.cpp
+++ b/src/gpu/ops/GrTextureOp.cpp
@@ -478,11 +478,6 @@ private:
fDraws[i].fTextureIdx = map[fDraws[i].fTextureIdx];
}
} else {
- // We can get here when one of the ops is already multitextured but the other cannot
- // be because of the dst rect size.
- if (fProxyCnt > 1 || that->fProxyCnt > 1) {
- return false;
- }
if (fProxy0->uniqueID() != that->fProxy0->uniqueID() || fFilter0 != that->fFilter0) {
return false;
}
@@ -575,13 +570,13 @@ private:
GrTextureProxy* fProxy0;
GrTextureProxy** fProxyArray;
};
- size_t fMaxApproxDstPixelArea;
// The next four members should pack.
GrSamplerState::Filter fFilter0;
uint8_t fProxyCnt;
// Used to track whether fProxy is ref'ed or has a pending IO after finalize() is called.
uint8_t fFinalized;
uint8_t fAllowSRGBInputs;
+ size_t fMaxApproxDstPixelArea;
typedef GrMeshDrawOp INHERITED;
};