ui/gfx: optimize UnPreMultiply operation by checking alpha value
Don't need to do Un-premultiplying operation, if alpha value equals to 0 or 255. BUG=none Test(DONE)=gfx_unittests --gtest_filter="ColorAnalysisTest*" Review URL: https://codereview.chromium.org/399053002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284166 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment