aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/MagnifierBench.cpp
diff options
context:
space:
mode:
authorGravatar brianosman <brianosman@google.com>2016-04-07 06:25:45 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-04-07 06:25:45 -0700
commit32f7782706fbf692c613457a74d080e18e27b15a (patch)
tree82809ba263a6dc89982e467dfb9ecc72de861bb4 /bench/MagnifierBench.cpp
parent044d3c185876f9960f07b88f068cf08d78311e33 (diff)
sRGB text fake-gamma progress:
Determine if we should use fake-gamma based on the render target format and paint parameters (ie will gamma-correct blending happen?). Plumb that down to the appropriate places in the bitmap text rendering for now. Still need to alter the behavior of the DF text renderer (using the same cue, most likely?). Also, this still doesn't account for the contrast hack. The end result of this change is a pleasant normalizing of weight when viewing text in the gpusrgb config. (Dark text gets heavier, light text gets lighter). BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1865953003 Review URL: https://codereview.chromium.org/1865953003
Diffstat (limited to 'bench/MagnifierBench.cpp')
0 files changed, 0 insertions, 0 deletions