Go to file
Greg Daniel 5ab94e1ae6 Add GrContext getter to SkSurface.
Currently this is possible by getting the canvas off of surface and then
getting the context off of the canvas. However, if in the future we wanted
a surface that didn't have a canvas (maybe something that looked like a
mutible image that only had a writePixels call), this would allow us to
still get the GrContext.

Bug: skia:10118
Change-Id: Ie8504bb708c1e4532edc8c7832ead86ae711e237
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/289479
Commit-Queue: Greg Daniel <egdaniel@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
2020-05-13 19:09:05 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Plumbing SkMatrixProvider into the raster backend 2020-05-13 18:05:32 +00:00
bin roll GN 2020-04-01 17:02:23 +00:00
build/fuchsia harmonize rewrite-includes and gn-format checks 2020-04-03 17:00:54 +00:00
build_overrides Use Dawn's BUILD.gn instead of defining another one for Skia. 2020-04-13 23:26:31 +00:00
client_utils/android Remove SkFrontBufferedStream 2020-04-28 13:51:40 +00:00
dm [skottie] Introduce an external layer API 2020-05-06 20:31:14 +00:00
docker Support specifying hash and patch_ref in skia-release & skia-wasm-release Dockerfiles 2020-05-06 20:39:04 +00:00
docs/examples Remove SkPath::RawIter from docs and examples 2020-05-06 14:00:59 +00:00
example Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
experimental Added setNodeAttribute to SkSVGDom 2020-05-08 21:08:12 +00:00
fuzz Revert "Revert "Revert "Revert "Don't build GL on Metal, Vulkan, Dawn, Direct3D bots"""" 2020-03-20 17:11:58 +00:00
gm Simplify GrClip::getConservativeBounds() signature 2020-05-13 18:59:13 +00:00
gn Reland "Refactor stencil clip mask generation into helper" 2020-05-12 17:49:47 +00:00
include Add GrContext getter to SkSurface. 2020-05-13 19:09:05 +00:00
infra Turn off vulkan for Galaxy S20 2020-05-11 17:26:50 +00:00
modules Fixing minor bugs: ellipsis on justified text 2020-05-13 14:59:21 +00:00
platform_tools Improve selection of target_cpu in android_gdbserver 2020-04-21 19:31:54 +00:00
resources Add ahem.ttf. 2020-05-13 16:32:52 +00:00
samplecode Put Paragraph SkDebugf behind runtime flag. 2020-05-13 15:38:21 +00:00
site Remove SkPath::RawIter from docs and examples 2020-05-06 14:00:59 +00:00
specs [img-decode] Start on proposed new spec 2019-05-06 17:39:19 +00:00
src Add GrContext getter to SkSurface. 2020-05-13 19:09:05 +00:00
tests Simplify GrClip::getConservativeBounds() signature 2020-05-13 18:59:13 +00:00
third_party Update AMD vulkan memory allocator. 2020-05-13 13:03:39 +00:00
tools [infra] chrome_release_branch: maintain the last 3 branches 2020-05-13 18:13:13 +00:00
.clang-format Disable BinPackParameters in .clang-format 2020-03-27 14:32:40 +00:00
.clang-tidy add google-build-namespaces to clang-tidy checks 2018-12-12 16:33:59 +00:00
.gitignore clean up some .gitignores 2019-05-15 19:55:45 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Fixing a bug in SkOpEdgeBuilder::walk that causes pathOps to fail when cubic segment is reducable 2020-04-21 16:56:54 +00:00
BUILD.gn Revert "retry absl" 2020-04-30 16:11:14 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
CQ_COMMITTERS Moved committer list to chrome-infra-auth and deleted it from the repo 2015-09-02 13:37:54 -07:00
DEPS Roll third_party/externals/angle2 9823d86a5a40..3b82fdcf1c83 (14 commits) 2020-05-13 05:24:51 +00:00
go.mod Update Go Deps 2020-05-13 05:29:46 +00:00
go.sum Update Go Deps 2020-05-13 05:29:46 +00:00
LICENSE LICENSE file: clean up 2019-11-22 21:59:03 +00:00
OWNERS add OWNERS file 2017-12-01 19:50:19 +00:00
PRESUBMIT.py PRESUBMIT: Don't check formatting of deleted files 2020-04-08 10:36:09 +00:00
public.bzl [skottie] Cleanup: split animators into separate CUs 2020-03-17 15:48:17 +00:00
README Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
README.chromium Update README.chromium. 2015-06-11 13:19:24 -07:00
RELEASE_NOTES.txt Add GrContext getter to SkSurface. 2020-05-13 19:09:05 +00:00
whitespace.txt Whitespace change to re-trigger Mac/iOS tests 2020-02-23 20:55:01 +00:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at https://skia.org.