mirror of
				https://bitbucket.org/chromiumembedded/cef
				synced 2025-06-05 21:39:12 +02:00 
			
		
		
		
	- Windows: 10.0.19041 SDK is now required. - macOS: 10.15.1 SDK (at least Xcode 11.2) is now required. - Remove CefMediaSource::IsValid and CefMediaSink::IsValid which would always return true.
		
			
				
	
	
		
			19 lines
		
	
	
		
			884 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			884 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| diff --git ui/gl/init/gl_initializer_mac.cc ui/gl/init/gl_initializer_mac.cc
 | |
| index d8ad42a07552..57f725b1d088 100644
 | |
| --- ui/gl/init/gl_initializer_mac.cc
 | |
| +++ ui/gl/init/gl_initializer_mac.cc
 | |
| @@ -46,11 +46,8 @@ bool InitializeOneOffForSandbox() {
 | |
|    // GPU-related stuff is very slow without this, probably because
 | |
|    // the sandbox prevents loading graphics drivers or some such.
 | |
|    std::vector<CGLPixelFormatAttribute> attribs;
 | |
| -  if (GLContext::SwitchableGPUsSupported()) {
 | |
| -    // Avoid switching to the discrete GPU just for this pixel
 | |
| -    // format selection.
 | |
| -    attribs.push_back(kCGLPFAAllowOfflineRenderers);
 | |
| -  }
 | |
| +  // Avoid switching to the discrete GPU just for this pixel format selection.
 | |
| +  attribs.push_back(kCGLPFAAllowOfflineRenderers);
 | |
|    if (GetGLImplementation() == kGLImplementationAppleGL) {
 | |
|      attribs.push_back(kCGLPFARendererID);
 | |
|      attribs.push_back(
 |