From 2f466242c7289b246d7ef665aa50006cfd11aa36 Mon Sep 17 00:00:00 2001 From: Cary Clark Date: Mon, 11 Dec 2017 16:03:17 -0500 Subject: working on image and nightly housekeeping bot Add more examples and docs for SkImage; still a ways to go. Fix bit-rotted examples. Add typedef support. Add json driver to pick files to work on; remove special-casing. Fix unordered map traversal that made md output unreliable. TBR=rmistry@google.com Docs-Preview: https://skia.org/?cl=80060 Bug: skia:6898 Change-Id: Ib8eb9fdfa5a9db61c8332e657fa2e2f4b96a665f Reviewed-on: https://skia-review.googlesource.com/80060 Reviewed-by: Cary Clark Commit-Queue: Cary Clark --- docs/SkSurface_Reference.bmh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'docs/SkSurface_Reference.bmh') diff --git a/docs/SkSurface_Reference.bmh b/docs/SkSurface_Reference.bmh index f13134fa46..acbc191bfd 100644 --- a/docs/SkSurface_Reference.bmh +++ b/docs/SkSurface_Reference.bmh @@ -1558,14 +1558,18 @@ Return true if Surface supports characterization. Raster_Surface returns false. # ------------------------------------------------------------------------------ -#Method void draw(SkDeferredDisplayList* deferredDisplayList) +#Method bool draw(SkDeferredDisplayList* deferredDisplayList) Draws deferred display list created using SkDeferredDisplayListRecorder. -The draw has no effect if Surface_Characterization stored in deferredDisplayList -is not compatible with Surface. +Has no effect and returns false if Surface_Characterization stored in +deferredDisplayList is not compatible with Surface. + +Raster_Surface returns false. #Param deferredDisplayList drawing commands ## +#Return false if deferredDisplayList is not compatible ## + #Example #Height 64 #Platform gpu cpu -- cgit v1.2.3