Unofficial mirror of the WebKit SVN repository
Latest commit daee778 Jan 22, 2017 dino@apple.com [WebGL] Do not allow GPU muxing on some old Mac hardware
https://bugs.webkit.org/show_bug.cgi?id=167259
<rdar://problem/30060378>

Reviewed by Simon Fraser and Darin Adler.

Some old Macbook Pro models should never use the
integrated GPU for WebGL, because they are unstable
when swapping between that and the discrete GPU.

Unfortunately this hardware configuration isn't in our
testing infrastructure, so it was confirmed manually.
Meanwhile, our existing tests make sure this patch
doesn't break anything elsewhere.

* platform/graphics/mac/GraphicsContext3DMac.mm:
(WebCore::attachToAppleGraphicsControl): Helper function
to get a mach port that talks to Apple's Graphics Control
system.
(WebCore::hasMuxCapability): Decides whether a system
can do live GPU switching, based on whether or not it
has a muxable GPU, and if that GPU is not the old hardware
we know is problematic.
(WebCore::hasMuxableGPU): Helper to return the static hasMuxCapability value.
(WebCore::setPixelFormat): Only request the integrated card when the
GPU is muxable.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@211028 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Permalink
Failed to load latest commit information.
Examples Add a sample plugin to demonstrate the mute plugin API. Dec 4, 2014
JSTests dynamic import is ambiguous with import declaration at module code Jan 21, 2017
LayoutTests REGRESSION (r210959): LayoutTest fast/mediastream/MediaStream-video-e… Jan 22, 2017
ManualTests WebRTC: [GTK] Add MediaEndpointOwr - an OpenWebRTC WebRTC backend Oct 21, 2016
PerformanceTests 26 MotionMark performance tests failing Jan 14, 2017
Source [WebGL] Do not allow GPU muxing on some old Mac hardware Jan 22, 2017
Tools Introducing the Platform Abstraction Layer (PAL) Jan 22, 2017
WebKit.xcworkspace [WebRTC] Add libwebrtc build infrastructure Jan 20, 2017
WebKitLibraries [iOS] Purge GraphicsServices font cache on memory warning. Jan 13, 2017
Websites Build fix after r210783. Didn't mean to require custom elements API. Jan 20, 2017
.dir-locals.el emacs: unreviewed. add settings for editing js files. Dec 20, 2011
.gitattributes Tell git-archive to not export .gitattributes and .gitignore Aug 29, 2012
.gitignore Update root .gitignore for latest WebKitLibraries Sep 1, 2016
CMakeLists.txt Introducing the Platform Abstraction Layer (PAL) Jan 22, 2017
ChangeLog Introducing the Platform Abstraction Layer (PAL) Jan 22, 2017
ChangeLog-2012-05-22 .: == Rolled over to ChangeLog-2012-05-22 == May 22, 2012
Makefile Add a new 'analyze' target to the makefile. This will make use of a new Jul 18, 2014
Makefile.shared "make ARCHS=x86_64" fails to build Jul 18, 2016