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

Issue 1642273002: Add sampler bias for the nofilter/translate specializations (Closed)

Created:
4 years, 10 months ago by f(malita)
Modified:
4 years, 10 months ago
Reviewers:
reed1
CC:
reviews_skia.org
Base URL:
https://chromium.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Add sampler bias for the nofilter/translate specializations Convert SkBitmapProcState::setupForTranslate() to use SkBitmapProcStateAutoMapper. This adds bias for the translate procs: Clamp_S32_D32_nofilter_trans_shaderproc, Repeat_S32_D32_nofilter_trans_shaderproc Since the original impl checks for int overflow, extend SkBitmapProcStateAutoMapper to detect this condition. BUG=chromium:581870 R=reed@google.com GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1642273002 Committed: https://skia.googlesource.com/skia/+/653c12d773def4d25cbdb78072b84404a5d80957

Patch Set 1 #

Patch Set 2 : add SK_SUPPORT_LEGACY_SAMPLER_BIAS guard #

Patch Set 3 : comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -4 lines) Patch
M src/core/SkBitmapProcState.h View 1 2 1 chunk +14 lines, -0 lines 0 comments Download
M src/core/SkBitmapProcState.cpp View 1 1 chunk +16 lines, -4 lines 0 comments Download

Messages

Total messages: 18 (8 generated)
f(malita)
Moar bias! We were missing this translate proc bias. Your patch to no longer ignoring ...
4 years, 10 months ago (2016-01-28 23:26:10 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1642273002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1642273002/1
4 years, 10 months ago (2016-01-28 23:26:17 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-01-28 23:46:10 UTC) #6
f(malita)
This (reassuringly) undoes the slight shift we observed in GM:pictureshader when you landed your change: ...
4 years, 10 months ago (2016-01-28 23:47:53 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1642273002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1642273002/20001
4 years, 10 months ago (2016-01-29 13:48:35 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-01-29 14:10:00 UTC) #11
reed1
lets add a comment in the header lgtm
4 years, 10 months ago (2016-01-29 19:32:49 UTC) #12
f(malita)
On 2016/01/29 19:32:49, reed1 wrote: > lets add a comment in the header Done. I'll ...
4 years, 10 months ago (2016-01-29 19:40:03 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1642273002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1642273002/40001
4 years, 10 months ago (2016-01-29 19:40:22 UTC) #16
commit-bot: I haz the power
4 years, 10 months ago (2016-01-30 18:06:48 UTC) #18
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/653c12d773def4d25cbdb78072b84404a5d80957

Powered by Google App Engine
This is Rietveld 408576698