DescriptionAdd 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 #
Messages
Total messages: 18 (8 generated)
|