aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/bitmappremul.cpp
diff options
context:
space:
mode:
authorGravatar derekf <derekf@osg.samsung.com>2014-12-02 11:02:06 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-12-02 11:02:06 -0800
commit367e1867b2d6901e3327d0707738d2bc7d13826e (patch)
tree9debddf71bd1f6f97cedde4b46a0ea87f5810a93 /gm/bitmappremul.cpp
parent8b896e71f613880a681dd57f5380e3fa4d3e1ae9 (diff)
use drawRect when drawing a bitmap with anti-aliasing on a non-msaa target
If the dest isn't pixel aligned, or if a non 90 degree rotation is present, we need to use drawRect() for drawing anti-aliased bitmaps on non-msaa targets or the edges won't be anti-aliased as intended. Note: If the bitmap size is bigger than max texture size we fall back to drawBitmapCommon. Original-Author: Henry Song <henrysong@samsung.com> Review URL: https://codereview.chromium.org/649313003
Diffstat (limited to 'gm/bitmappremul.cpp')
0 files changed, 0 insertions, 0 deletions