aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/SkImage_Reference.bmh
diff options
context:
space:
mode:
authorGravatar Cary Clark <caryclark@skia.org>2018-07-17 13:19:56 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-07-17 17:27:10 +0000
commite80cd44cb2c549b709022a62a1fa9f8d6a7822ec (patch)
tree76b90d88c667317886c85002040c77ee9b07def9 /docs/SkImage_Reference.bmh
parenta8cdbd7431b6a27d28db1bc80d7557cedf7e66d0 (diff)
fix bookmaker build bot
Sync up with deletion of SkTransferFunctionBehavior. TBR=brianosman@google.com NOTRY=true Docs-Preview: https://skia.org/?cl=141828 Bug: skia:6818 Change-Id: Ibcfad17b8e886a4c980e4eb2bbae5a007f4bb36e Reviewed-on: https://skia-review.googlesource.com/141828 Commit-Queue: Cary Clark <caryclark@skia.org> Commit-Queue: Brian Osman <brianosman@google.com> Auto-Submit: Cary Clark <caryclark@skia.org> Reviewed-by: Brian Osman <brianosman@google.com> Reviewed-by: Cary Clark <caryclark@skia.org>
Diffstat (limited to 'docs/SkImage_Reference.bmh')
-rw-r--r--docs/SkImage_Reference.bmh18
1 files changed, 1 insertions, 17 deletions
diff --git a/docs/SkImage_Reference.bmh b/docs/SkImage_Reference.bmh
index 1c329801a8..28c98d247c 100644
--- a/docs/SkImage_Reference.bmh
+++ b/docs/SkImage_Reference.bmh
@@ -2187,9 +2187,7 @@ void draw(SkCanvas* canvas) {
# ------------------------------------------------------------------------------
-#Method sk_sp<SkImage> makeColorSpace(
- sk_sp<SkColorSpace> target,
- SkTransferFunctionBehavior premulBehavior = SkTransferFunctionBehavior::kIgnore) const
+#Method sk_sp<SkImage> makeColorSpace(sk_sp<SkColorSpace> target) const
#In Constructor
#Line # creates Image matching Color_Space if possible ##
@@ -2200,21 +2198,7 @@ Returns original Image if it is in target Color_Space.
Otherwise, converts pixels from Image Color_Space to target Color_Space.
If Image colorSpace returns nullptr, Image Color_Space is assumed to be sRGB.
-SkTransferFunctionBehavior is to be deprecated.
-
-Set premulBehavior to SkTransferFunctionBehavior::kRespect to convert Image
-pixels to a linear space, before converting to destination Color_Type
-and Color_Space.
-
-Set premulBehavior to SkTransferFunctionBehavior::kIgnore to treat Image
-pixels as linear, when converting to destination Color_Type
-and Color_Space, ignoring pixel encoding. premulBehavior is
-SkTransferFunctionBehavior::kIgnore by default.
-
#Param target Color_Space describing color range of returned Image ##
-#Param premulBehavior one of: SkTransferFunctionBehavior::kRespect,
- SkTransferFunctionBehavior::kIgnore
-##
#Return created Image in target Color_Space ##