skia2/site
Tommy Chiang 2e79abd941 [docs] Fix SkCanvas Creation API
The `encode` method of SkImage is renamed to `encodeToData` in
6409f84fc3.

We also don't use GrContext anymore. According to the file we included,
we should use GrDirectContext instead now.

This patch should make the code in the documentation buildable.

Change-Id: I07d27c5686673e17afb8a893b1c1c238fa84ecff
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/554816
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
2022-06-30 13:11:31 +00:00
..
about Site: Cleanup some out-of-date information 2022-01-06 13:47:06 +00:00
blog [docysserver] Move to the Hugo/Docsy set of files as the primary documentation. 2021-03-31 19:16:09 +00:00
docs [docs] Fix SkCanvas Creation API 2022-06-30 13:11:31 +00:00
_index.html Site: Cleanup some out-of-date information 2022-01-06 13:47:06 +00:00
config.toml [docsyserver] Turn on mermaid support. 2021-04-01 17:36:08 +00:00
featured-background.png [docysserver] Move to the Hugo/Docsy set of files as the primary documentation. 2021-03-31 19:16:09 +00:00
search.md [docysserver] Move to the Hugo/Docsy set of files as the primary documentation. 2021-03-31 19:16:09 +00:00