Go to file
Michael Ludwig a49de4de63 Keep UVs consistent in degenerate quads
An earlier CL noted that the edge correction sometimes caused popping
when undering extreme perspective, so I removed the edge correction
thinking that it was unnecessary. Turns out that for actual degenerate
quads, it is necessary. However, instead of re-determining the degenerate
edge based on the local edge length, this corrects the exact same edges
that had been corrected in device space. I confirmed that this seems to
prevent the popping under extreme perspective and draws triangles correctly.
It also avoids the coordinate scale issue that comes about when the edge
tolerances had been chosen for pixel space, but many of the local coordinates
being processed had already been normalized so differed by a factor of 3ish.

Bug: skia:9889
Change-Id: Ida4c626aa982fe4fdac6695e2ad95e162e42fca2
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/269758
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
2020-02-10 18:34:02 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
bin [infra] Fix bin/try 2020-01-14 12:05:56 +00:00
build/fuchsia format GN files 2020-02-10 16:32:46 +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 Allow decoding without color conversion - part 2 2020-02-07 19:24:33 +00:00
docker Revert "fiddle - Don't make warnings into errors." 2020-02-07 21:39:38 +00:00
docs/examples Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
example Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
experimental Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
fuzz Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
gm Change SkSL main() from (float x, float y) to (float2 p) 2020-02-07 20:19:13 +00:00
gn Extract a GrDynamicAtlas base class from GrCCAtlas 2020-02-07 21:05:04 +00:00
include Revert "Defined N32 to always be BGRA" 2020-02-10 16:51:29 +00:00
infra Update SKP version 2020-02-09 08:30:26 +00:00
modules Fix crash when editing particle scripts 2020-02-10 15:08:00 +00:00
platform_tools Reland "GrGLMakeNativeInterface_{iOS,mac,win}: clean up" 2020-01-08 16:55:43 +00:00
resources Allow decoding without color conversion - part 2 2020-02-07 19:24:33 +00:00
samplecode Change SkSL main() from (float x, float y) to (float2 p) 2020-02-07 20:19:13 +00:00
site Remove all the bookmaker generated docs. 2020-02-07 21:36:23 +00:00
specs [img-decode] Start on proposed new spec 2019-05-06 17:39:19 +00:00
src Keep UVs consistent in degenerate quads 2020-02-10 18:34:02 +00:00
tests Update copy and blitTexture calls to not query origin off of proxies. 2020-02-10 16:19:49 +00:00
third_party let's try to fix nullptr + k 2020-01-31 19:24:21 +00:00
tools [fiddle] Add more logging for setup_backend_objects failures. 2020-02-10 16:31:49 +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 ../src d7612decf133..437a856b0a5d (508 commits) 2020-02-10 04:52:29 +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 Allow decoding without color conversion - part 2 2020-02-07 19:24:33 +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.