diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-16 18:49:11 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-16 18:49:11 +0000 |
commit | bff545e65a6767bbf860058d713d4cdea0501d74 (patch) | |
tree | 49112b5c8a70a735efb16374b99c39e7db31d4ef /o3d/samples | |
parent | 47d209421f46bfe6910ac8f87a28f684c3768987 (diff) | |
download | chromium_src-bff545e65a6767bbf860058d713d4cdea0501d74.zip chromium_src-bff545e65a6767bbf860058d713d4cdea0501d74.tar.gz chromium_src-bff545e65a6767bbf860058d713d4cdea0501d74.tar.bz2 |
Mac: Fix drawing when the device's transform has a scaling part.
This currently never happens in practice, but I have a patch which uses the PaintAt IPC, which doesn't work without this fix. Without this, the clip rect is scaled down too, which means if I send a PaintAt IPC that draws the renderer at 800x600 into a 400x300 pixmap, the clip rect is 200x150, because render_view sets the scale t0 0.5 and the clip rect to 400x300.
BUG=none
TEST=Everything still paints correctly.
Review URL: http://codereview.chromium.org/3033005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52712 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/samples')
0 files changed, 0 insertions, 0 deletions