Force all Intel GPUs to use draws instead of clears on Macs
Bug: 773107 Change-Id: I931d9623a359e264dfee35a2ea6c591cdf83a052 Reviewed-on: https://skia-review.googlesource.com/58580 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
This commit is contained in:
parent
e60ca7eae4
commit
7f9b215695
@ -578,7 +578,9 @@ void GrGLCaps::init(const GrContextOptions& contextOptions,
|
||||
#ifdef SK_BUILD_FOR_MAC
|
||||
// crbug.com/768134 - On MacBook Pros, the Intel Iris Pro doesn't always perform
|
||||
// full screen clears
|
||||
if (kIntelIrisPro_GrGLRenderer == ctxInfo.renderer()) {
|
||||
// crbug.com/773107 - On MacBook Pros, a wide range of Intel GPUs don't always
|
||||
// perform full screen clears.
|
||||
if (kIntel_GrGLVendor == ctxInfo.vendor()) {
|
||||
fUseDrawInsteadOfClear = true;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user