From 5ab52f6a38052c2316e8daae6bd51c928d487f3c Mon Sep 17 00:00:00 2001 From: Cary Clark Date: Mon, 2 Apr 2018 08:32:23 -0400 Subject: fix a couple of minor surface doc changes Newly added MakeRenderTarget doesn't have an example yet, so just mark it as such; and remove the doxygen style comments. MakeFormBackendRenderTarget was missing TBR=robertphillips@google.com Docs-Preview: https://skia.org/?cl=117629 NOTRY=true Bug: skia:6898 Change-Id: Icf6fb7195503b54c96cbf3a5785c2c4b3c0f9d8d Reviewed-on: https://skia-review.googlesource.com/117629 Commit-Queue: Cary Clark Reviewed-by: Cary Clark --- site/user/api/SkSurface_Reference.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'site') diff --git a/site/user/api/SkSurface_Reference.md b/site/user/api/SkSurface_Reference.md index 065d8eb957..b6933c8aa7 100644 --- a/site/user/api/SkSurface_Reference.md +++ b/site/user/api/SkSurface_Reference.md @@ -35,6 +35,7 @@ of the requested dimensions are zero, then nullptr will be returned. | name | description | | --- | --- | +| MakeFromBackendRenderTarget | creates Surface from GPU render target | | MakeFromBackendTexture | creates Surface from GPU texture | | MakeFromBackendTextureAsRenderTarget | creates Surface from GPU back-end render target | | MakeNull | creates Surface without backing pixels | @@ -66,6 +67,7 @@ of the requested dimensions are zero, then nullptr will be returned. | name | description | | --- | --- | +| MakeFromBackendRenderTarget | creates Surface from GPU render target | | MakeFromBackendTexture | creates Surface from GPU texture | | MakeFromBackendTextureAsRenderTarget | creates Surface from GPU back-end render target | | MakeNull | creates Surface without backing pixels | @@ -733,11 +735,6 @@ static sk_sp<SkSurface> MakeRenderTarget(GrContext* context, Returns SkSurface on GPU indicated by context that is compatible with the provided characterization. budgeted selects whether allocation for pixels is tracked by context. -@param context GPU context -@param characterization description of the desired SkSurface -@param budgeted one of: SkBudgeted::kNo, SkBudgeted::kYes -@return SkSurface if all parameters are valid; otherwise, nullptr - ### Parameters
context -- cgit v1.2.3