Collect GPU info on Mac through IO registry for dual GPU systems.
Collect GPU info on Mac through IO registry for dual GPU systems.

Go through IO Registry to locate PCI based video cards on Mac.  If there are two video cards and one of them is Intel, we assume Intel GPU is the integrated one and the other is the discrete one.  Chromium GPU process should always use the discrete one (if Mac is handling automatic card switching), and we identify the discrete card in preliminary GPU info collection so we could run through GPU software rendering list and set up the renderer process with approriate GPU feature capabilities.

Note that if the IO registry method fails, we fallback to the original "GPU locating through current display" method, so this CL should be pretty safe.

BUG=75208,75220
TEST=gpu acceleration is enabled on Mac with Intel/ATI dual GPU.
Review URL: http://codereview.chromium.org/6879023

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@82202 0039d316-1c4b-4281-b951-d872f2087c98

dushu1203/chromium.src,zcbenz/cefode-chromium,nacl-webkit/chrome_deps,anirudhSK/chromium,Just-D/chromium-1,bright-sparks/chromium-spacewalk,hgl888/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,markYoungH/chromium.src,hgl888/chromium-crosswalk-efl,Jonekee/chromium.src,ltilve/chromium,Chilledheart/chromium,axinging/chromium-crosswalk,dushu1203/chromium.src,hujiajie/pa-chromium,axinging/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,ondra-novak/chromium.src,axinging/chromium-crosswalk,ChromiumWebApps/chromium,mogoweb/chromium-crosswalk,hujiajie/pa-chromium,hgl888/chromium-crosswalk-efl,chuan9/chromium-crosswalk,M4sse/chromium.src,ondra-novak/chromium.src,Just-D/chromium-1,rogerwang/chromium,Jonekee/chromium.src,hgl888/chromium-crosswalk,Fireblend/chromium-crosswalk,patrickm/chromium.src,mohamed--abdel-maksoud/chromium.src,mogoweb/chromium-crosswalk,ondra-novak/chromium.src,ltilve/chromium,Just-D/chromium-1,Pluto-tv/chromium-crosswalk,pozdnyakov/chromium-crosswalk,hgl888/chromium-crosswalk-efl,patrickm/chromium.src,bright-sparks/chromium-spacewalk,Just-D/chromium-1,jaruba/chromium.src,mogoweb/chromium-crosswalk,rogerwang/chromium,dushu1203/chromium.src,keishi/chromium,mohamed--abdel-maksoud/chromium.src,Fireblend/chromium-crosswalk,Jonekee/chromium.src,hgl888/chromium-crosswalk-efl,dednal/chromium.src,Fireblend/chromium-crosswalk,Fireblend/chromium-crosswalk,robclark/chromium,M4sse/chromium.src,krieger-od/nwjs_chromium.src,Jonekee/chromium.src,M4sse/chromium.src,bright-sparks/chromium-spacewalk,crosswalk-project/chromium-crosswalk-efl,rogerwang/chromium,hgl888/chromium-crosswalk-efl,timopulkkinen/BubbleFish,dushu1203/chromium.src,Just-D/chromium-1,littlstar/chromium.src,patrickm/chromium.src,bright-sparks/chromium-spacewalk,patrickm/chromium.src,PeterWangIntel/chromium-crosswalk,hujiajie/pa-chromium,Chilledheart/chromium,littlstar/chromium.src,axinging/chromium-crosswalk,jaruba/chromium.src,markYoungH/chromium.src,ltilve/chromium,PeterWangIntel/chromium-crosswalk,anirudhSK/chromium,PeterWangIntel/chromium-crosswalk,hgl888/chromium-crosswalk-efl,mogoweb/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,keishi/chromium,TheTypoMaster/chromium-crosswalk,zcbenz/cefode-chromium,hujiajie/pa-chromium,dednal/chromium.src,TheTypoMaster/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,hujiajie/pa-chromium,TheTypoMaster/chromium-crosswalk,dushu1203/chromium.src,chuan9/chromium-crosswalk,littlstar/chromium.src,fujunwei/chromium-crosswalk,hgl888/chromium-crosswalk,ltilve/chromium,nacl-webkit/chrome_deps,Just-D/chromium-1,fujunwei/chromium-crosswalk,Pluto-tv/chromium-crosswalk,hgl888/chromium-crosswalk,mogoweb/chromium-crosswalk,dednal/chromium.src,rogerwang/chromium,Chilledheart/chromium,keishi/chromium,robclark/chromium,M4sse/chromium.src,axinging/chromium-crosswalk,timopulkkinen/BubbleFish,ltilve/chromium,ChromiumWebApps/chromium,hgl888/chromium-crosswalk,ondra-novak/chromium.src,ltilve/chromium,crosswalk-project/chromium-crosswalk-efl,krieger-od/nwjs_chromium.src,jaruba/chromium.src,patrickm/chromium.src,robclark/chromium,M4sse/chromium.src,timopulkkinen/BubbleFish,anirudhSK/chromium,chuan9/chromium-crosswalk,ChromiumWebApps/chromium,mogoweb/chromium-crosswalk,dednal/chromium.src,zcbenz/cefode-chromium,dushu1203/chromium.src,bright-sparks/chromium-spacewalk,TheTypoMaster/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,robclark/chromium,dednal/chromium.src,dednal/chromium.src,hujiajie/pa-chromium,ondra-novak/chromium.src,mohamed--abdel-maksoud/chromium.src,dushu1203/chromium.src,zcbenz/cefode-chromium,anirudhSK/chromium,nacl-webkit/chrome_deps,junmin-zhu/chromium-rivertrail,pozdnyakov/chromium-crosswalk,nacl-webkit/chrome_deps,nacl-webkit/chrome_deps,Fireblend/chromium-crosswalk,dushu1203/chromium.src,Chilledheart/chromium,Chilledheart/chromium,markYoungH/chromium.src,bright-sparks/chromium-spacewalk,timopulkkinen/BubbleFish,junmin-zhu/chromium-rivertrail,krieger-od/nwjs_chromium.src,dednal/chromium.src,dushu1203/chromium.src,Just-D/chromium-1,Pluto-tv/chromium-crosswalk,Jonekee/chromium.src,krieger-od/nwjs_chromium.src,anirudhSK/chromium,Chilledheart/chromium,PeterWangIntel/chromium-crosswalk,hgl888/chromium-crosswalk,markYoungH/chromium.src,keishi/chromium,crosswalk-project/chromium-crosswalk-efl,zcbenz/cefode-chromium,Jonekee/chromium.src,krieger-od/nwjs_chromium.src,ChromiumWebApps/chromium,pozdnyakov/chromium-crosswalk,markYoungH/chromium.src,fujunwei/chromium-crosswalk,krieger-od/nwjs_chromium.src,Fireblend/chromium-crosswalk,hgl888/chromium-crosswalk-efl,PeterWangIntel/chromium-crosswalk,littlstar/chromium.src,junmin-zhu/chromium-rivertrail,ltilve/chromium,jaruba/chromium.src,Pluto-tv/chromium-crosswalk,robclark/chromium,nacl-webkit/chrome_deps,mogoweb/chromium-crosswalk,hujiajie/pa-chromium,rogerwang/chromium,crosswalk-project/chromium-crosswalk-efl,ChromiumWebApps/chromium,junmin-zhu/chromium-rivertrail,zcbenz/cefode-chromium,keishi/chromium,rogerwang/chromium,M4sse/chromium.src,anirudhSK/chromium,pozdnyakov/chromium-crosswalk,zcbenz/cefode-chromium,rogerwang/chromium,markYoungH/chromium.src,junmin-zhu/chromium-rivertrail,jaruba/chromium.src,hgl888/chromium-crosswalk-efl,chuan9/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,krieger-od/nwjs_chromium.src,M4sse/chromium.src,robclark/chromium,fujunwei/chromium-crosswalk,M4sse/chromium.src,ltilve/chromium,anirudhSK/chromium,krieger-od/nwjs_chromium.src,axinging/chromium-crosswalk,zcbenz/cefode-chromium,TheTypoMaster/chromium-crosswalk,Just-D/chromium-1,hgl888/chromium-crosswalk,krieger-od/nwjs_chromium.src,Chilledheart/chromium,timopulkkinen/BubbleFish,timopulkkinen/BubbleFish,chuan9/chromium-crosswalk,ChromiumWebApps/chromium,ondra-novak/chromium.src,crosswalk-project/chromium-crosswalk-efl,pozdnyakov/chromium-crosswalk,fujunwei/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,Fireblend/chromium-crosswalk,markYoungH/chromium.src,hujiajie/pa-chromium,hgl888/chromium-crosswalk-efl,patrickm/chromium.src,timopulkkinen/BubbleFish,littlstar/chromium.src,Pluto-tv/chromium-crosswalk,nacl-webkit/chrome_deps,timopulkkinen/BubbleFish,keishi/chromium,nacl-webkit/chrome_deps,keishi/chromium,chuan9/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,TheTypoMaster/chromium-crosswalk,ondra-novak/chromium.src,axinging/chromium-crosswalk,patrickm/chromium.src,pozdnyakov/chromium-crosswalk,dednal/chromium.src,markYoungH/chromium.src,pozdnyakov/chromium-crosswalk,junmin-zhu/chromium-rivertrail,PeterWangIntel/chromium-crosswalk,mogoweb/chromium-crosswalk,junmin-zhu/chromium-rivertrail,littlstar/chromium.src,axinging/chromium-crosswalk,littlstar/chromium.src,hujiajie/pa-chromium,ChromiumWebApps/chromium,Chilledheart/chromium,dednal/chromium.src,hujiajie/pa-chromium,mohamed--abdel-maksoud/chromium.src,ChromiumWebApps/chromium,Jonekee/chromium.src,Pluto-tv/chromium-crosswalk,fujunwei/chromium-crosswalk,Just-D/chromium-1,Jonekee/chromium.src,axinging/chromium-crosswalk,zcbenz/cefode-chromium,pozdnyakov/chromium-crosswalk,Pluto-tv/chromium-crosswalk,fujunwei/chromium-crosswalk,dushu1203/chromium.src,crosswalk-project/chromium-crosswalk-efl,keishi/chromium,axinging/chromium-crosswalk,anirudhSK/chromium,robclark/chromium,chuan9/chromium-crosswalk,littlstar/chromium.src,Jonekee/chromium.src,pozdnyakov/chromium-crosswalk,M4sse/chromium.src,krieger-od/nwjs_chromium.src,hujiajie/pa-chromium,hgl888/chromium-crosswalk-efl,ChromiumWebApps/chromium,timopulkkinen/BubbleFish,nacl-webkit/chrome_deps,markYoungH/chromium.src,keishi/chromium,M4sse/chromium.src,ondra-novak/chromium.src,pozdnyakov/chromium-crosswalk,jaruba/chromium.src,patrickm/chromium.src,rogerwang/chromium,markYoungH/chromium.src,bright-sparks/chromium-spacewalk,markYoungH/chromium.src,dushu1203/chromium.src,chuan9/chromium-crosswalk,dednal/chromium.src,Pluto-tv/chromium-crosswalk,jaruba/chromium.src,PeterWangIntel/chromium-crosswalk,jaruba/chromium.src,junmin-zhu/chromium-rivertrail,anirudhSK/chromium,ltilve/chromium,mogoweb/chromium-crosswalk,jaruba/chromium.src,M4sse/chromium.src,junmin-zhu/chromium-rivertrail,robclark/chromium,pozdnyakov/chromium-crosswalk,robclark/chromium,junmin-zhu/chromium-rivertrail,Pluto-tv/chromium-crosswalk,axinging/chromium-crosswalk,bright-sparks/chromium-spacewalk,timopulkkinen/BubbleFish,timopulkkinen/BubbleFish,ondra-novak/chromium.src,mogoweb/chromium-crosswalk,zcbenz/cefode-chromium,chuan9/chromium-crosswalk,dednal/chromium.src,ChromiumWebApps/chromium,Fireblend/chromium-crosswalk,ChromiumWebApps/chromium,keishi/chromium,jaruba/chromium.src,Fireblend/chromium-crosswalk,anirudhSK/chromium,Jonekee/chromium.src,jaruba/chromium.src,crosswalk-project/chromium-crosswalk-efl,zcbenz/cefode-chromium,mohamed--abdel-maksoud/chromium.src,junmin-zhu/chromium-rivertrail,robclark/chromium,fujunwei/chromium-crosswalk,nacl-webkit/chrome_deps,PeterWangIntel/chromium-crosswalk,anirudhSK/chromium,rogerwang/chromium,hgl888/chromium-crosswalk,ChromiumWebApps/chromium,hgl888/chromium-crosswalk,patrickm/chromium.src,TheTypoMaster/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,anirudhSK/chromium,fujunwei/chromium-crosswalk,rogerwang/chromium,Chilledheart/chromium,bright-sparks/chromium-spacewalk,krieger-od/nwjs_chromium.src,Jonekee/chromium.src,keishi/chromium,nacl-webkit/chrome_deps,TheTypoMaster/chromium-crosswalk