diff options
author | bsalomon <bsalomon@google.com> | 2016-02-16 11:36:47 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-16 11:36:47 -0800 |
commit | babafcc681de86801b15b4fe0ab856ce32048ff6 (patch) | |
tree | 321c3f86acf2a301ea283aa6e365a49e5c52008c /src/gpu/GrCaps.cpp | |
parent | 8e84a1ed07ad5d529d381d43302e597f31723076 (diff) |
Workaround for bug in Tegra 3 when uploading to a render target
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1703603002
Review URL: https://codereview.chromium.org/1703603002
Diffstat (limited to 'src/gpu/GrCaps.cpp')
-rw-r--r-- | src/gpu/GrCaps.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpu/GrCaps.cpp b/src/gpu/GrCaps.cpp index 2568e567fc..4fb05c14a1 100644 --- a/src/gpu/GrCaps.cpp +++ b/src/gpu/GrCaps.cpp @@ -115,6 +115,7 @@ GrCaps::GrCaps(const GrContextOptions& options) { fDrawPathMasksToCompressedTextureSupport = options.fDrawPathToCompressedTexture; fGeometryBufferMapThreshold = options.fGeometryBufferMapThreshold; fUseDrawInsteadOfPartialRenderTargetWrite = options.fUseDrawInsteadOfPartialRenderTargetWrite; + fUseDrawInsteadOfAllRenderTargetWrites = false; fPreferVRAMUseOverFlushes = true; } |