From 46fe9c7f6cc772639c0c7b3a71fe889139506841 Mon Sep 17 00:00:00 2001 From: Brian Osman Date: Fri, 9 Mar 2018 15:44:34 -0500 Subject: Remove SkDumpCanvas Bug: skia: Change-Id: I045e84f154d0294121a4c1966dcf47c0d7e52934 Reviewed-on: https://skia-review.googlesource.com/113464 Commit-Queue: Ben Wagner Reviewed-by: Ben Wagner --- docs/SkCanvas_Reference.bmh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'docs/SkCanvas_Reference.bmh') diff --git a/docs/SkCanvas_Reference.bmh b/docs/SkCanvas_Reference.bmh index f090207882..1db1d0f077 100644 --- a/docs/SkCanvas_Reference.bmh +++ b/docs/SkCanvas_Reference.bmh @@ -883,7 +883,7 @@ Returns true if Canvas has direct access to its pixels. Pixels are readable when Device is raster. Pixels are not readable when Canvas is returned from GPU_Surface, returned by SkDocument::beginPage, returned by SkPictureRecorder::beginRecording, or Canvas is the base of a utility class -like SkDumpCanvas. +like SkDebugCanvas. pixmap is valid only while Canvas is in scope and unchanged. Any Canvas or Surface call may invalidate the pixmap values. @@ -924,7 +924,7 @@ converting to dstInfo.colorType() and dstInfo.alphaType() if required. Pixels are readable when Device is raster, or backed by a GPU. Pixels are not readable when SkCanvas is returned by SkDocument::beginPage, returned by SkPictureRecorder::beginRecording, or Canvas is the base of a utility -class like SkDumpCanvas. +class like SkDebugCanvas. The destination pixel storage must be allocated by the caller. @@ -1016,7 +1016,7 @@ converting to pixmap.colorType() and pixmap.alphaType() if required. Pixels are readable when Device is raster, or backed by a GPU. Pixels are not readable when SkCanvas is returned by SkDocument::beginPage, returned by SkPictureRecorder::beginRecording, or Canvas is the base of a utility -class like SkDumpCanvas. +class like SkDebugCanvas. Caller must allocate pixel storage in pixmap if needed. @@ -1079,7 +1079,7 @@ converting to bitmap.colorType() and bitmap.alphaType() if required. Pixels are readable when Device is raster, or backed by a GPU. Pixels are not readable when SkCanvas is returned by SkDocument::beginPage, returned by SkPictureRecorder::beginRecording, or Canvas is the base of a utility -class like SkDumpCanvas. +class like SkDebugCanvas. Caller must allocate pixel storage in bitmap if needed. @@ -1143,7 +1143,7 @@ converting to imageInfo().colorType() and imageInfo().alphaType() if required. Pixels are writable when Device is raster, or backed by a GPU. Pixels are not writable when SkCanvas is returned by SkDocument::beginPage, returned by SkPictureRecorder::beginRecording, or Canvas is the base of a utility -class like SkDumpCanvas. +class like SkDebugCanvas. Pixel values are converted only if Color_Type and Alpha_Type do not match. Only pixels within both source and destination rectangles @@ -1201,7 +1201,7 @@ converting to imageInfo().colorType() and imageInfo().alphaType() if required. Pixels are writable when Device is raster, or backed by a GPU. Pixels are not writable when SkCanvas is returned by SkDocument::beginPage, returned by SkPictureRecorder::beginRecording, or Canvas is the base of a utility -class like SkDumpCanvas. +class like SkDebugCanvas. Pixel values are converted only if Color_Type and Alpha_Type do not match. Only pixels within both source and destination rectangles -- cgit v1.2.3