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

Issue 675823002: Fix the way we patch up the matrix for scaled images that aren't (Closed)

Created:
6 years, 1 month ago by humper
Modified:
6 years, 1 month ago
Reviewers:
reed, reed1
CC:
reviews_skia.org, jbroman, tfarina
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Fix the way we patch up the matrix for scaled images that aren't clamp/clamp BUG=skia:2904 TBR=reed Committed: https://skia.googlesource.com/skia/+/535e3b2025d3244c2ca48982d14d1d31f1d23c1f

Patch Set 1 #

Total comments: 3

Patch Set 2 : added Mike's comment + nits #

Patch Set 3 : Build bitmap ourselves instead of loading a circle from the png #

Patch Set 4 : windows build #

Patch Set 5 : don't tile the new GM #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -16 lines) Patch
A gm/tiledscaledbitmap.cpp View 1 2 3 4 1 chunk +88 lines, -0 lines 4 comments Download
M gyp/gmslides.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M src/core/SkBitmapProcState.cpp View 1 2 3 4 3 chunks +12 lines, -16 lines 0 comments Download

Messages

Total messages: 25 (8 generated)
humper
PTAL -- this turned out to be kind of a (very) stupid bug, although I ...
6 years, 1 month ago (2014-10-23 20:34:11 UTC) #1
reed1
/* * Most of the scanline procs deal with "unit" texture coordinates, as this makes ...
6 years, 1 month ago (2014-10-24 14:21:14 UTC) #3
reed1
https://codereview.chromium.org/675823002/diff/1/gm/tiledscaledbitmap.cpp File gm/tiledscaledbitmap.cpp (right): https://codereview.chromium.org/675823002/diff/1/gm/tiledscaledbitmap.cpp#newcode45 gm/tiledscaledbitmap.cpp:45: SkString resourcePath = GetResourcePath(fFilename.c_str()); I think it is just ...
6 years, 1 month ago (2014-10-24 14:27:38 UTC) #4
humper
On 2014/10/24 14:27:38, reed1 wrote: > https://codereview.chromium.org/675823002/diff/1/gm/tiledscaledbitmap.cpp > File gm/tiledscaledbitmap.cpp (right): > > https://codereview.chromium.org/675823002/diff/1/gm/tiledscaledbitmap.cpp#newcode45 > ...
6 years, 1 month ago (2014-10-24 15:05:30 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/675823002/20001
6 years, 1 month ago (2014-10-24 15:09:50 UTC) #7
humper
https://codereview.chromium.org/675823002/diff/1/gm/tiledscaledbitmap.cpp File gm/tiledscaledbitmap.cpp (right): https://codereview.chromium.org/675823002/diff/1/gm/tiledscaledbitmap.cpp#newcode90 gm/tiledscaledbitmap.cpp:90: static GM* MyFactory(void*) { return new TiledScaledBitmapGM("circle.png"); } On ...
6 years, 1 month ago (2014-10-24 15:10:02 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu13.10-GCE-NoGPU-x86_64-Debug-Trybot on client.skia (http://build.chromium.org/p/client.skia/builders/Test-Ubuntu13.10-GCE-NoGPU-x86_64-Debug-Trybot/builds/228)
6 years, 1 month ago (2014-10-24 15:21:23 UTC) #10
reed1
On 2014/10/24 15:05:30, humper wrote: > On 2014/10/24 14:27:38, reed1 wrote: > > https://codereview.chromium.org/675823002/diff/1/gm/tiledscaledbitmap.cpp > ...
6 years, 1 month ago (2014-10-24 15:33:30 UTC) #11
reed1
6 years, 1 month ago (2014-10-24 15:33:42 UTC) #12
humper
On 2014/10/24 15:33:30, reed1 wrote: > On 2014/10/24 15:05:30, humper wrote: > > On 2014/10/24 ...
6 years, 1 month ago (2014-10-27 12:46:18 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/675823002/40001
6 years, 1 month ago (2014-10-27 12:46:44 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: Build-Win-VS2013-x86-Debug-Trybot on client.skia.compile (http://build.chromium.org/p/client.skia.compile/builders/Build-Win-VS2013-x86-Debug-Trybot/builds/291)
6 years, 1 month ago (2014-10-27 12:50:25 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/675823002/60001
6 years, 1 month ago (2014-10-27 12:53:54 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu13.10-GCE-NoGPU-x86_64-Release-Shared-Trybot on client.skia (http://build.chromium.org/p/client.skia/builders/Test-Ubuntu13.10-GCE-NoGPU-x86_64-Release-Shared-Trybot/builds/266)
6 years, 1 month ago (2014-10-27 12:59:26 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/675823002/80001
6 years, 1 month ago (2014-10-27 17:23:26 UTC) #23
commit-bot: I haz the power
Committed patchset #5 (id:80001) as 535e3b2025d3244c2ca48982d14d1d31f1d23c1f
6 years, 1 month ago (2014-10-27 17:32:11 UTC) #24
tfarina
6 years, 1 month ago (2014-10-30 15:30:16 UTC) #25
Message was sent while issue was closed.
https://codereview.chromium.org/675823002/diff/80001/gm/tiledscaledbitmap.cpp
File gm/tiledscaledbitmap.cpp (right):

https://codereview.chromium.org/675823002/diff/80001/gm/tiledscaledbitmap.cpp...
gm/tiledscaledbitmap.cpp:10: #include "Resources.h"
looks like it is unused after make_bm().

https://codereview.chromium.org/675823002/diff/80001/gm/tiledscaledbitmap.cpp...
gm/tiledscaledbitmap.cpp:34: virtual SkString onShortName() {
SK_OVERRIDE?

https://codereview.chromium.org/675823002/diff/80001/gm/tiledscaledbitmap.cpp...
gm/tiledscaledbitmap.cpp:38: virtual SkISize onISize() {
SK_OVERRIDE?

https://codereview.chromium.org/675823002/diff/80001/gm/tiledscaledbitmap.cpp...
gm/tiledscaledbitmap.cpp:61: virtual void onDraw(SkCanvas* canvas) {
SK_OVERRIDE?

Powered by Google App Engine
This is Rietveld 408576698