Two tweaks for accelerated painting: . Make sure if there is no texture and we're told to paint, we paint   to the whole texture (see comment for details on why we need to do   this). . When the transform changes only schedule paint on the widget. By doing   this we won't trigger updating the texture, only having the   compositor redraw everything. This currently doesn't matter, but   will once James lands his changes to SchedulePaint to keep a dirty   bit.
Two tweaks for accelerated painting:
. Make sure if there is no texture and we're told to paint, we paint
  to the whole texture (see comment for details on why we need to do
  this).
. When the transform changes only schedule paint on the widget. By doing
  this we won't trigger updating the texture, only having the
  compositor redraw everything. This currently doesn't matter, but
  will once James lands his changes to SchedulePaint to keep a dirty
  bit.

BUG=none
TEST=none
R=ben@chromium.org,wjmaclean@chromium.org

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

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

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