aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/mtl
diff options
context:
space:
mode:
authorGravatar Chris Dalton <csmartdalton@google.com>2018-02-22 13:41:37 -0700
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-02-22 21:06:05 +0000
commit2612baecd8c5b8deeaef18057a57562f45150023 (patch)
tree6dc6d1690d66d1136a51f9847e6f72d8dbc26c08 /src/gpu/mtl
parentee77da2c0bb44b92409d5eaf2b7ae7530f650a24 (diff)
ccpr: Prefer atlas sizes under 4k on ARM
Bug: skia: Change-Id: Ib5afb84647efe2e64a3ec2f9da422b39228431e9 Reviewed-on: https://skia-review.googlesource.com/108871 Commit-Queue: Chris Dalton <csmartdalton@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/mtl')
-rw-r--r--src/gpu/mtl/GrMtlCaps.mm1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpu/mtl/GrMtlCaps.mm b/src/gpu/mtl/GrMtlCaps.mm
index 865aa37fe6..93d801fd72 100644
--- a/src/gpu/mtl/GrMtlCaps.mm
+++ b/src/gpu/mtl/GrMtlCaps.mm
@@ -118,6 +118,7 @@ void GrMtlCaps::initGrCaps(const id<MTLDevice> device) {
}
}
}
+ fMaxPreferredRenderTargetSize = fMaxRenderTargetSize;
fMaxTextureSize = fMaxRenderTargetSize;
// Init sample counts. All devices support 1 (i.e. 0 in skia).