diff options
author | jun.a.jiang@intel.com <jun.a.jiang@intel.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-05 04:59:04 +0000 |
---|---|---|
committer | jun.a.jiang@intel.com <jun.a.jiang@intel.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-05 04:59:04 +0000 |
commit | 0a7465e3c2aec71ebdec2a9569542adc3fbe2f30 (patch) | |
tree | 61c6912b53fd19077e5a6043939c20a9b490c561 /chrome/browser/io_thread.cc | |
parent | 89c20ffd91a6a98d79439ccdd1785b343c34b1db (diff) | |
download | chromium_src-0a7465e3c2aec71ebdec2a9569542adc3fbe2f30.zip chromium_src-0a7465e3c2aec71ebdec2a9569542adc3fbe2f30.tar.gz chromium_src-0a7465e3c2aec71ebdec2a9569542adc3fbe2f30.tar.bz2 |
Remove PerformClipping(),CanClipSelf() and the related logic in LTHCommon.
There is a precision lost issue for texture layers with CSS
transforms(Scaling) when applying TextureDrawQuad::PerformClipping()
to avoid explicitly setting a scissor. The rect is first divided by
the scale_factor, then round to integer value and finally multiplied
by the scale_factor in GLRenderer::EnqueueTextureQuad(). The round
process loses precision and the later scale operation enlarges the
error. This error leads to wrong width and height drawn and
introduces visual defects.
BUG=240259
Review URL: https://codereview.chromium.org/24427006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227177 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/io_thread.cc')
0 files changed, 0 insertions, 0 deletions