Linux: fix XRENDER support for NX
Linux: fix XRENDER support for NX

The NX X server doesn't support xRGB32 XRENDER picture formats. So, if
we don't find one of those formats, fall back on ARGB32, which is
fine, except that the X server will spend time dealing with an alpha
channel which is all 254 or 255. ARGB32 support is required by the
XRENDER spec.

(This doesn't fix VNC, a patch for that is forthcoming.)

Review URL: http://codereview.chromium.org/28192


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

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