Go to file
Hal Canary 83c2f70b51 Compile all fiddle examples locally
Motivation: it would be a good idea if the API documentation examples
were checked into the skia repository, so we could make sure they
compile as part of the commit queue.

Fiddle would make/update a named fiddle each time it gets a new
commit of Skia, extracted from the code in the examples/ directory.
The docs would point at those named fiddles.  Named fiddles have urls
in the form:

    https://fiddle.skia.org/c/@Bitmap_000

Then we would stick a link to the example into the header documentation
like this:

    /** Allocates the pixel memory for the bitmap, given its dimensions
        and SkColorType. Returns true on success, where success means
        either setPixels() or setPixelRef() was called.

        @param bitmap  SkBitmap containing SkImageInfo as input, and
                       SkPixelRef as output
        @return        true if SkPixelRef was allocated

        @example       https://fiddle.skia.org/c/@Bitmap_000
    */
    bool allocPixelRef(SkBitmap* bitmap) override;

There are still around 200 disabled examples that need to be fixed
(these result from API changes since the author left).

Change-Id: I14a31348a9ccaaa31f65424b91e3a3533d2583a7
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/198824
Commit-Queue: Hal Canary <halcanary@google.com>
Reviewed-by: Leon Scroggins <scroggo@google.com>
Reviewed-by: Joe Gregorio <jcgregorio@google.com>
2019-03-15 15:19:18 +00:00
animations
bench Add shader based blending of kPlus for configs that need clamping 2019-03-15 14:54:17 +00:00
bin tools: bin/sync just alias for git-sync-deps now 2019-02-22 20:05:05 +00:00
dm Change --checkF16 behavior to just print - it's easier to see all failures 2019-03-15 14:24:47 +00:00
docker Turn on CI/CD for api.skia.org. (skia) 2019-03-12 18:30:38 +00:00
docs Compile all fiddle examples locally 2019-03-15 15:19:18 +00:00
example Reduce usage of SkCanvas::flush 2019-03-04 22:09:39 +00:00
experimental fill out more of SkDebugCanvas interface 2019-03-14 13:50:24 +00:00
fuzz Allocate the backing SkBitmap in the SerializedImageFilter fuzzer 2019-03-14 18:02:21 +00:00
gm Add shader based blending of kPlus for configs that need clamping 2019-03-15 14:54:17 +00:00
gn Compile all fiddle examples locally 2019-03-15 15:19:18 +00:00
include Add shader based blending of kPlus for configs that need clamping 2019-03-15 14:54:17 +00:00
infra Revert "Reland "Update SkCanvas' experimental SkiaRenderer API"" 2019-03-15 14:33:39 +00:00
modules [skottie] Initial text box support 2019-03-15 14:39:17 +00:00
platform_tools SkQP: android.support.test -> androidx.test 2019-02-18 17:50:38 +00:00
resources Compile all fiddle examples locally 2019-03-15 15:19:18 +00:00
samplecode Add shader based blending of kPlus for configs that need clamping 2019-03-15 14:54:17 +00:00
site update milestones to 2019 dates 2019-03-11 18:39:21 +00:00
src Add shader based blending of kPlus for configs that need clamping 2019-03-15 14:54:17 +00:00
tests Add shader based blending of kPlus for configs that need clamping 2019-03-15 14:54:17 +00:00
third_party Roll skia/third_party/skcms 04a7830913b3..10ed3a8a5eec (1 commits) 2019-03-12 17:55:53 +00:00
tools Compile all fiddle examples locally 2019-03-15 15:19:18 +00:00
.clang-format .clang-format: Don't force break after > in template declarations 2018-12-21 14:20:57 +00:00
.clang-tidy add google-build-namespaces to clang-tidy checks 2018-12-12 16:33:59 +00:00
.gitignore Add script to pull svgs to svgs/ and add to .gitignore 2018-08-31 20:02:24 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS [Viewer] Set the current slide first before attaching the fBackendType to fWindow. 2019-02-26 14:21:55 +00:00
BUILD.gn Compile all fiddle examples locally 2019-03-15 15:19:18 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING
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 2fb6563bf503..de52ca373d98 (1 commits) 2019-03-15 14:02:27 +00:00
LICENSE BUG=skia:5602 2016-09-02 11:19:34 -07:00
OWNERS add OWNERS file 2017-12-01 19:50:19 +00:00
PRESUBMIT.py Add new recipe autoroller service account to list of recognized accounts 2019-03-12 13:00:58 +00:00
public.bzl SkShaper/public.bzl fix 2019-02-22 20:57:07 +00:00
README
README.chromium
whitespace.txt [infra] Marker for IntelBayTrail BIOS update. 2018-09-17 16:47:35 +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.