Go to file
Chris Dalton ea46ef3a9c Move clip optimizations into GrFillRRectOp
Adds a new clipToShape() virtual on GrDrawOp and implements it with
GrFillRRectOp. GrClipStack now calls this method before attempting to
clip by any other means.

Since clips are often round rects, and a round rect/round rect
intersection can itself be round rect, this allows GrFillRRectOp to
bypass clipping entirely in many cases.

Bug: chromium:928984
Change-Id: Ic19b3f481ee489e3ca85817ba11d132172089a11
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/426297
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
2021-07-12 21:58:21 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bazel bazel baby steps 2020-09-14 15:18:32 +00:00
bench Re-enable large png decode bench 2021-07-08 19:39:49 +00:00
bin [infra] Fix fetch-sk and fetch-skps 2021-06-18 15:20:38 +00:00
build/fuchsia [fuchsia] Fix fidlc command. 2020-06-10 03:29:24 +00:00
build_overrides fix tint roll - enable tint_build_wgsl_writer 2021-07-01 00:32:40 +00:00
client_utils/android Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
demos.skia.org [canvaskit] Fix demo image link 2021-06-03 12:57:50 +00:00
dm Convert dmsaa to an SkSurfaceProp 2021-04-20 16:24:56 +00:00
docker [infra] Fix index.d.ts copy in Wasm Docker build 2021-02-23 15:54:11 +00:00
docs/examples Hide getBlendMode() 2021-07-07 20:55:26 +00:00
example Remove SDL from DEPS (and SDL example that used it) 2021-05-27 21:37:57 +00:00
experimental Rename experimental app to 'sorttoy' 2021-07-01 19:11:26 +00:00
fuzz Reland "Add format-specifier warnings to SkDebugf." 2021-06-25 17:57:43 +00:00
gm Move clip optimizations into GrFillRRectOp 2021-07-12 21:58:21 +00:00
gn Add test for SkSL vector-slice constructors. 2021-07-12 20:33:44 +00:00
include Add flag for filterquality in flutter 2021-07-12 20:09:30 +00:00
infra Roll recipe dependencies (trivial). 2021-07-12 21:40:44 +00:00
modules Remove drawImageAtCurrentFrame 2021-07-12 20:08:40 +00:00
platform_tools [androidkit] Color filter support 2021-06-29 12:42:19 +00:00
resources Add test for SkSL vector-slice constructors. 2021-07-12 20:33:44 +00:00
samplecode Reland "Add format-specifier warnings to SkDebugf." 2021-06-25 17:57:43 +00:00
site Lots of prose fixes 2021-06-30 15:07:30 +00:00
specs Fix CanvasKit generated documentation to work with emscripten 1.39.16. 2020-05-27 12:23:32 +00:00
src Move clip optimizations into GrFillRRectOp 2021-07-12 21:58:21 +00:00
tests Move clip optimizations into GrFillRRectOp 2021-07-12 21:58:21 +00:00
third_party Roll ICU 2021-06-25 17:40:19 +00:00
tools Misc skgpu cleanup 2021-07-09 15:06:16 +00:00
.bazelignore bazel baby steps 2020-09-14 15:18:32 +00:00
.clang-format no more bin packing in .clang-format 2021-03-04 17:22:50 +00:00
.clang-tidy Disable ClangTidy namespace comments for short blocks. 2020-08-24 14:01:22 +00:00
.gitignore add mskps/ to .gitignore 2021-07-06 21:04:55 +00:00
.gn Pre-emptive fix for upcoming ANGLE change. 2021-01-08 17:23:52 +00:00
AUTHORS Add UWP support 2021-02-10 19:04:42 +00:00
BUILD.bazel bazel baby steps 2020-09-14 15:18:32 +00:00
BUILD.gn Move more gms and tests into the V1-only pile 2021-07-08 17:38:36 +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 Chromium from a30ee6a7dc21 to 697e53f421f9 (500 revisions) 2021-07-12 05:07:26 +00:00
DIR_METADATA Move metadata in OWNERS files to DIR_METADATA files 2021-02-02 23:41:54 +00:00
go.mod [infra] Update infra dep to roll cpython3 back to 3.8.10 2021-06-28 13:09:19 +00:00
go.sum [infra] Update infra dep to roll cpython3 back to 3.8.10 2021-06-28 13:09:19 +00:00
LICENSE LICENSE file: clean up 2019-11-22 21:59:03 +00:00
PRESUBMIT.py [fiddle] Add PRESUBMIT rule to run tools/fiddle/make_all_examples_cpp.py 2021-07-01 15:20:57 +00:00
public.bzl Reland "Purge ccpr" 2021-06-19 18:42:38 +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 Remove SkMatrix44 2021-06-26 01:51:45 +00:00
whitespace.txt Test master branch deletion 2021-05-25 13:20:41 +00:00
WORKSPACE.bazel bazel baby steps 2020-09-14 15:18:32 +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.