зеркало из https://github.com/mozilla/gecko-dev.git
Bug 687864 - Part 2: Add offline renderer awareness for Mac OGL in plugins; r=jmuizelaar
This commit is contained in:
Родитель
26df7f16e2
Коммит
6698e3f145
|
@ -451,9 +451,8 @@ nsresult nsCARenderer::SetupRenderer(void *aCALayer, int aWidth, int aHeight) {
|
|||
CARenderer* caRenderer = nsnull;
|
||||
|
||||
CGLPixelFormatAttribute attributes[] = {
|
||||
kCGLPFANoRecovery,
|
||||
kCGLPFAAccelerated,
|
||||
kCGLPFAPBuffer,
|
||||
kCGLPFAAllowOfflineRenderers,
|
||||
kCGLPFADepthSize, (CGLPixelFormatAttribute)24,
|
||||
(CGLPixelFormatAttribute)0
|
||||
};
|
||||
|
|
|
@ -27,5 +27,7 @@
|
|||
</dict>
|
||||
<key>LSUIElement</key>
|
||||
<string>1</string>
|
||||
<key>NSSupportsAutomaticGraphicsSwitching</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
|
|
Загрузка…
Ссылка в новой задаче