зеркало из 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;
|
CARenderer* caRenderer = nsnull;
|
||||||
|
|
||||||
CGLPixelFormatAttribute attributes[] = {
|
CGLPixelFormatAttribute attributes[] = {
|
||||||
kCGLPFANoRecovery,
|
|
||||||
kCGLPFAAccelerated,
|
kCGLPFAAccelerated,
|
||||||
kCGLPFAPBuffer,
|
kCGLPFAAllowOfflineRenderers,
|
||||||
kCGLPFADepthSize, (CGLPixelFormatAttribute)24,
|
kCGLPFADepthSize, (CGLPixelFormatAttribute)24,
|
||||||
(CGLPixelFormatAttribute)0
|
(CGLPixelFormatAttribute)0
|
||||||
};
|
};
|
||||||
|
|
|
@ -27,5 +27,7 @@
|
||||||
</dict>
|
</dict>
|
||||||
<key>LSUIElement</key>
|
<key>LSUIElement</key>
|
||||||
<string>1</string>
|
<string>1</string>
|
||||||
|
<key>NSSupportsAutomaticGraphicsSwitching</key>
|
||||||
|
<true/>
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче