aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkICCPriv.h
diff options
context:
space:
mode:
authorGravatar Brian Osman <brianosman@google.com>2017-11-06 11:27:41 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-11-06 16:48:39 +0000
commitce9c832c9125ecb6f803ba28cccb37c158bc31b5 (patch)
treefb1384562f9910e61f0ddc0db6a862be98bab599 /src/core/SkICCPriv.h
parente4aa0c4207c4bd8b4b63ed520f36110c71a9b062 (diff)
Fix another blurring bug with sRGB sources and legacy dests
By default, we propagate the input image's config to the temporary surface used for blurring. Without sRGB write control (eg Vulkan), we would end up unable to suppress the linear -> sRGB conversion, causing the blur results to be far too bright. Now, if we're rendering to a non-color correct dest, ensure that we never create an sRGB surface. Bug: skia: Change-Id: I18f5760005c11f788869251e58569029ce9f5c27 Reviewed-on: https://skia-review.googlesource.com/67845 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
Diffstat (limited to 'src/core/SkICCPriv.h')
0 files changed, 0 insertions, 0 deletions