Go to file
Eric Karl 914a36b248 MakeBackendTextureFromSkImage
Creates a static function on SkImage which converts the SkImage to a
GrBackendTexture. The texture is unowned by Skia, and must be deleted
by the caller. Allows for a no-copy / no-conversion fast path if the
provided image is unowned (unique()) and texture backed.

Change-Id: I8a48f9cc39de792725cd72057d98cd1c4594daab
Reviewed-on: https://skia-review.googlesource.com/52440
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Eric Karl <ericrk@chromium.org>
2017-10-12 20:05:31 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Add benchmark for comparing multitexturing to non-multitexturing image draws. 2017-10-11 20:32:49 +00:00
bin add a Win/Clang build bot 2017-07-31 19:53:51 +00:00
debugger Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
dm DM: move skiatest functions into separate file. 2017-10-10 12:34:22 +00:00
docs General clean up on bookmaker. 2017-10-11 15:26:37 +00:00
example Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
experimental [SVGDom] Add 'visibility' support 2017-10-12 17:06:34 +00:00
fuzz Fuzz: use SkNullWStream 2017-08-29 17:41:36 +00:00
gm Add api for passing mipped hint into ImageGenerator onGenerateTexture 2017-10-11 17:11:07 +00:00
gn Add flag on GrBackendTexture to say whether texture is mipped or not 2017-10-12 17:02:41 +00:00
include MakeBackendTextureFromSkImage 2017-10-12 20:05:31 +00:00
infra Fix Chromebook output step and skpbench 2017-10-12 19:18:11 +00:00
platform_tools Enable ios on Raspberry Pi 2017-04-25 16:56:41 +00:00
resources Avoid uninitialized memory in readByteArrayAsData 2017-09-28 19:51:32 +00:00
samplecode Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
site General clean up on bookmaker. 2017-10-11 15:26:37 +00:00
src MakeBackendTextureFromSkImage 2017-10-12 20:05:31 +00:00
tests MakeBackendTextureFromSkImage 2017-10-12 20:05:31 +00:00
third_party roll libpng to 1.6.33 2017-10-02 17:31:34 +00:00
tools Add flag on GrBackendTexture to say whether texture is mipped or not 2017-10-12 17:02:41 +00:00
.clang-format Mark flatennable macros as block beginning/ending in .clang-format 2017-01-09 15:31:36 +00:00
.gitignore clang on windows support 2017-07-31 18:39:23 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS fix use of uninitialized flag in SkCodec 2017-10-09 19:17:05 +00:00
BUILD.gn [SVGDom] Initial <pattern> support 2017-10-11 18:56:38 +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 skia/third_party/externals/angle2/ 6aee8620c..c3bc98415 (2 commits) 2017-10-12 19:19:31 +00:00
Doxyfile Make the housekeeper upload doxygen to a newer bucket 2016-10-04 13:23:57 -07:00
LICENSE BUG=skia:5602 2016-09-02 11:19:34 -07:00
PRESUBMIT.py Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
public.bzl remove legacy computeByteSize flag, now returns max_size_t 2017-10-09 17:33:25 +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
whitespace.txt Revert "Whitespace change to test Android autoroller" 2017-09-07 15:25:02 +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.