Go to file
Dominic Mazzoni 8f233fc795 Add marked-content ID to PDF images
Previously we only added marked-content IDs to text commands.
Extend this to support marking bitmaps drawn to a PDF document
too, so that images can be tagged with alt text.

Moves the code that outputs the marked content ID and closing
tag into a scoped helper class that outputs the closing sequence
on destruction.

Note: we'll probably want to do this to nearly all drawing
commands, since nearly everything could in theory be tagged.

This change is safe because it's still behind a flag in
Chromium and if the document doesn't have any structure
tree, it won't output anything.

Bug: chromium:607777
Change-Id: I4d7d655857fa7e76c6a6914a2a83097be917d835
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/275517
Commit-Queue: Dominic Mazzoni <dmazzoni@chromium.org>
Reviewed-by: Derek Sollenberger <djsollen@google.com>
2020-03-06 19:48:50 +00:00
animations
bench Reland "Move GrGpuResource GrSurface and GrTexture into src." 2020-03-05 19:16:21 +00:00
bin [infra] Fix bin/try 2020-01-14 12:05:56 +00:00
build/fuchsia Add command line argument to specify the rendertests file. 2020-03-05 17:51:12 +00:00
build_overrides Add Dawn on Windows job. 2020-02-28 17:48:37 +00:00
dm Clean up for DDL program pre-compilation 2020-03-05 19:11:37 +00:00
docker Revert "fiddle - Don't make warnings into errors." 2020-02-07 21:39:38 +00:00
docs/examples basic, untested BGR 1010102 and 101010x 2020-02-11 21:44:57 +00:00
example Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
experimental Split building encoding from decoding 2020-03-06 18:50:40 +00:00
fuzz Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
gm Land a testable raster backend for per-vertex-data vertices. 2020-03-06 19:02:23 +00:00
gn set lib_switch to empty for the msvc toolchain 2020-03-06 19:32:50 +00:00
include Land a testable raster backend for per-vertex-data vertices. 2020-03-06 19:02:23 +00:00
infra [recipes] Minor import cleanup 2020-03-06 19:06:10 +00:00
modules Split building encoding from decoding 2020-03-06 18:50:40 +00:00
platform_tools Reland "GrGLMakeNativeInterface_{iOS,mac,win}: clean up" 2020-01-08 16:55:43 +00:00
resources re-enable fnma 2020-03-05 21:58:07 +00:00
samplecode Adjusting getRectsForRange to grapheme edges. 2020-03-05 17:42:32 +00:00
site Name name changes suggested in API review 2020-03-05 15:13:41 +00:00
specs [img-decode] Start on proposed new spec 2019-05-06 17:39:19 +00:00
src Add marked-content ID to PDF images 2020-03-06 19:48:50 +00:00
tests Add marked-content ID to PDF images 2020-03-06 19:48:50 +00:00
third_party Restore logic to check for .git in ANGLE BUILD.gn 2020-03-02 20:02:19 +00:00
tools Revert "Update skpbench's DDL timing" 2020-03-06 19:14:10 +00:00
.clang-format restore .clang-format 2019-03-21 15:52:32 +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
AUTHORS Optimize SkSL xor where one argument is constant 2019-12-20 14:50:46 +00:00
BUILD.gn Split building encoding from decoding 2020-03-06 18:50:40 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING
CQ_COMMITTERS
DEPS Roll third_party/externals/angle2 c55fbc4064aa..9acaf6626042 (5 commits) 2020-03-06 04:40:23 +00:00
go.mod Update Go Deps 2020-03-06 05:28:48 +00:00
go.sum Update Go Deps 2020-03-06 05:28:48 +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 [Tree Status] Update all references in Skia repo to tree-status 2020-03-02 18:43:49 +00:00
public.bzl disable command buffer on iOS g3 builds 2020-03-06 18:57:13 +00:00
README
README.chromium
RELEASE_NOTES.txt Remove SkImage getTexture call. 2020-03-06 18:53:00 +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.