Cocoa Port: Disable the default clipping feature in display views as a micro optimization.

This commit is contained in:
rogerman 2017-01-10 10:42:08 -08:00
parent 522a4e25d1
commit ee306a9f07
1 changed files with 5 additions and 0 deletions

View File

@ -1885,6 +1885,11 @@ static std::unordered_map<NSScreen *, DisplayWindowController *> _screenMap; //
return YES;
}
- (BOOL)wantsDefaultClipping
{
return NO;
}
- (void)lockFocus
{
[super lockFocus];