Go to file
Michael Ludwig 7c6a4a898b Simplify domain insetting for bulk texture ops
Previously, the normalization, origin flip, and insetting occurred
simultanesouly. The problem was that whether or not the insetting
was needed had a cyclic dependency with the overall filter level
(not known until the end of the loop). So it had an ugly hack that
kept track of the early appended quads and would update their domains
if needed.

This will no longer work when perspective clipping is implemented because
we won't have a 1-1 mapping from quads+viewcount pairs back to the
texture set entries. However, by splitting the insetting out from the
rest of the normalization step, we can defer it until we're in
onPrePrepare w/o losing any optimization capabilities and scales with
the perspective clipping change in the future. It should also make it
easier to upgrade an op from kNearest to kBilerp in onCombineIfPossible
because the prior op will not have applied the bilerp-insetting yet.

Bug: skia:9779
Change-Id: I71b269730de200b8452e2a6b39b777928967f621
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/269151
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2020-02-07 16:05:48 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Remove SkMin32/SkMax32 2020-02-06 17:31:51 +00:00
bin [infra] Fix bin/try 2020-01-14 12:05:56 +00:00
build/fuchsia Change fidl tables from cpp to c. 2020-01-30 18:01:05 +00:00
build_overrides Update Dawn backend to ToT. This is about 3 months of changes. 2019-10-15 22:26:38 +00:00
dm Reland: Initial checkin of GM verifier framework 2020-02-06 15:01:31 +00:00
docker [canvaskit] Update build script to support latest Emscripten 2020-01-28 15:41:58 +00:00
docs/examples decs/examples: Support more fiddle types: offscreen, srgb 2020-01-30 16:31:58 +00:00
example Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
experimental decs/examples: Support more fiddle types: offscreen, srgb 2020-01-30 16:31:58 +00:00
fuzz Make it safe to include SkRuntimeEffect.h from client code 2019-12-30 21:06:56 +00:00
gm Have gpu yuv code speak in views. 2020-02-06 21:47:02 +00:00
gn rm SkPreConfig.h and SkPostConfig.h 2020-02-06 19:16:43 +00:00
include Convert DIRTY_AFTER_EDIT to SkPath::dirtyAfterEdit 2020-02-06 21:42:37 +00:00
infra Add ccache_mac cipd package scripts. 2020-02-06 22:00:57 +00:00
modules Cache should work with INF values 2020-02-06 19:44:43 +00:00
platform_tools Reland "GrGLMakeNativeInterface_{iOS,mac,win}: clean up" 2020-01-08 16:55:43 +00:00
resources refactor out a middle representation 2020-02-06 20:09:53 +00:00
samplecode Cache should work with INF values 2020-02-06 19:44:43 +00:00
site Update Viewer docs for Android and iOS. 2020-02-05 04:40:23 +00:00
specs [img-decode] Start on proposed new spec 2019-05-06 17:39:19 +00:00
src Simplify domain insetting for bulk texture ops 2020-02-07 16:05:48 +00:00
tests Use DrawQuad struct to group device+local coords 2020-02-07 15:25:58 +00:00
third_party let's try to fix nullptr + k 2020-01-31 19:24:21 +00:00
tools Reland "Switch runtime SkSL to always sample at explicit coords" 2020-02-07 14:39:29 +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 Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Optimize SkSL xor where one argument is constant 2019-12-20 14:50:46 +00:00
BUILD.gn remove more vtune references 2020-01-29 04:19:03 +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 libgifcodec 2020-02-07 14:14:58 +00:00
go.mod Update Go Deps 2020-02-02 05:24:51 +00:00
go.sum Update Go Deps 2020-02-02 05:24:51 +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 Fix error on PRESUBMIT PostUploadHook 2020-02-05 11:11:07 +00:00
public.bzl Reland: Initial checkin of GM verifier framework 2020-02-06 15:01:31 +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 Replace usage of SkTClamp with SkTPin 2020-02-06 20:34:13 +00:00
whitespace.txt Whitespace test 2019-05-18 13:05:29 +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.