Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Issue 649313003: use drawRect when drawing a bitmap with anti-aliasing on a non-msaa target (Closed)

Created:
6 years, 2 months ago by derekf
Modified:
6 years ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

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>; Committed: https://skia.googlesource.com/skia/+/367e1867b2d6901e3327d0707738d2bc7d13826e

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Patch Set 3 : #

Total comments: 1

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -1 line) Patch
M expectations/gm/ignored-tests.txt View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 2 3 1 chunk +34 lines, -1 line 0 comments Download

Messages

Total messages: 18 (5 generated)
derekf
6 years, 2 months ago (2014-10-21 19:44:50 UTC) #2
bsalomon
https://codereview.chromium.org/649313003/diff/1/src/gpu/SkGpuDevice.cpp File src/gpu/SkGpuDevice.cpp (right): https://codereview.chromium.org/649313003/diff/1/src/gpu/SkGpuDevice.cpp#newcode1056 src/gpu/SkGpuDevice.cpp:1056: fContext->getMatrix().mapRect(&rect, srcRect); Why does it matter if the src ...
6 years, 2 months ago (2014-10-22 18:47:03 UTC) #4
derekf
On 2014/10/22 18:47:03, bsalomon wrote: > https://codereview.chromium.org/649313003/diff/1/src/gpu/SkGpuDevice.cpp > File src/gpu/SkGpuDevice.cpp (right): > > https://codereview.chromium.org/649313003/diff/1/src/gpu/SkGpuDevice.cpp#newcode1056 > ...
6 years, 1 month ago (2014-11-04 20:15:03 UTC) #6
derekf
PTAL.. Patch set 2 accidentally lacked the dest rect checks. (As with patch set 2 ...
6 years, 1 month ago (2014-11-20 16:39:14 UTC) #8
bsalomon
Hey Derek, sorry for taking so long on this. It slipped under my radar. It ...
6 years ago (2014-11-26 14:22:48 UTC) #9
derekf
On 2014/11/26 14:22:48, bsalomon wrote: > Hey Derek, sorry for taking so long on this. ...
6 years ago (2014-12-01 21:53:17 UTC) #10
bsalomon
On 2014/12/01 21:53:17, derekf wrote: > On 2014/11/26 14:22:48, bsalomon wrote: > > Hey Derek, ...
6 years ago (2014-12-01 21:56:03 UTC) #11
bsalomon
lgtm
6 years ago (2014-12-02 17:57:31 UTC) #12
derekf
On 2014/12/02 17:57:31, bsalomon wrote: > lgtm Thanks... One last extremely verbose question before I ...
6 years ago (2014-12-02 18:05:15 UTC) #13
bsalomon
On 2014/12/02 18:05:15, derekf wrote: > On 2014/12/02 17:57:31, bsalomon wrote: > > lgtm > ...
6 years ago (2014-12-02 18:07:49 UTC) #14
derekf
On 2014/12/02 18:07:49, bsalomon wrote: > On 2014/12/02 18:05:15, derekf wrote: > > On 2014/12/02 ...
6 years ago (2014-12-02 18:49:36 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/649313003/100001
6 years ago (2014-12-02 18:51:45 UTC) #17
commit-bot: I haz the power
6 years ago (2014-12-02 19:02:09 UTC) #18
Message was sent while issue was closed.
Committed patchset #4 (id:100001) as
https://skia.googlesource.com/skia/+/367e1867b2d6901e3327d0707738d2bc7d13826e

Powered by Google App Engine
This is Rietveld 408576698