Go to file
John Stiles cbe4e2822c Fix strict-constraint bleed in strict_constraint_[batch_]no_red_allowed.
GrTextureOp was attempting to detect subset-rectangles that wouldn't
affect the rendering output and could be ignored. Unfortunately, this
optimization attempt had various flaws--small, one-pixel cracks on
the edge of the border when AA was off, and highly-visible red fuzz on
the edges of textures when MSAA was enabled. This CL limits the
optimization to cases where the source and destination quads are
axis-aligned rectangles, or cases where the inset is more than a half-
pixel deep.

This fix was made for both the single-image and batch drawing path, and
generalized as much as possible to allow the code to be shared.

This CL also cleans up the test code slightly.

Bug: skia:10263, skia:10277
Change-Id: I200aaab47737b5ba0f559182ef4d0dfe0b719d50
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/291197
Commit-Queue: John Stiles <johnstiles@google.com>
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2020-06-01 15:51:09 +00:00
animations
bench hide savelayer's clipmask fields 2020-05-31 14:06:42 +00:00
bin roll GN 2020-04-01 17:02:23 +00:00
build/fuchsia Remove FIDL C bindings usages 2020-05-26 16:40:29 +00:00
build_overrides Use Dawn's BUILD.gn instead of defining another one for Skia. 2020-04-13 23:26:31 +00:00
client_utils/android Move SkBitmapRegionCodec into client_utils/android 2020-05-20 20:06:48 +00:00
dm Update DDL test harness to better match OOP-R 2020-05-29 15:58:05 +00:00
docker Support specifying hash and patch_ref in skia-release & skia-wasm-release Dockerfiles 2020-05-06 20:39:04 +00:00
docs/examples Remove SkSurface::MakeFromBackendTextureAsRenderTarget from public API 2020-05-29 15:09:52 +00:00
example Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
experimental Upgrade to emscripten 1.39.16 2020-05-21 18:31:21 +00:00
fuzz Revert "Revert "move onto new factories for SkMatrix"" 2020-05-21 16:58:39 +00:00
gm Fix strict-constraint bleed in strict_constraint_[batch_]no_red_allowed. 2020-06-01 15:51:09 +00:00
gn Convert GrMatrixEffect to pure CPP/H 2020-06-01 14:33:57 +00:00
include Make abandonment state of context thread-safe 2020-06-01 14:47:07 +00:00
infra Update SKP version 2020-05-31 08:52:42 +00:00
modules [canvaskit] Use scratch arrays for colors and matrices 2020-06-01 15:47:07 +00:00
platform_tools Improve selection of target_cpu in android_gdbserver 2020-04-21 19:31:54 +00:00
resources Runtime effect implementation of color cube filter 2020-05-28 15:45:48 +00:00
samplecode hide savelayer's clipmask fields 2020-05-31 14:06:42 +00:00
site Fix markdown typo in the style guide 2020-05-29 16:24:57 +00:00
specs Fix CanvasKit generated documentation to work with emscripten 1.39.16. 2020-05-27 12:23:32 +00:00
src Fix strict-constraint bleed in strict_constraint_[batch_]no_red_allowed. 2020-06-01 15:51:09 +00:00
tests Revert "Remove double support from SkSL." 2020-06-01 15:24:42 +00:00
third_party Hide ICU C++ API from Skia users. 2020-05-29 21:43:19 +00:00
tools Dawn: fix Device leak in DawnTestContext. 2020-06-01 15:38:40 +00:00
.clang-format Disable BinPackParameters in .clang-format 2020-03-27 14:32:40 +00:00
.clang-tidy
.gitignore
.gn
AUTHORS Fixing a bug in SkOpEdgeBuilder::walk that causes pathOps to fail when cubic segment is reducable 2020-04-21 16:56:54 +00:00
BUILD.gn Add convert-to-nia command-line program 2020-05-28 15:08:08 +00:00
codereview.settings
CONTRIBUTING
CQ_COMMITTERS
DEPS Roll Chromium from a775f5d273ab to c70c5e32ad0b (561 revisions) 2020-06-01 04:54:46 +00:00
go.mod Update Go Deps 2020-06-01 05:42:10 +00:00
go.sum Update Go Deps 2020-06-01 05:42:10 +00:00
LICENSE LICENSE file: clean up 2019-11-22 21:59:03 +00:00
OWNERS
PRESUBMIT.py PRESUBMIT: Don't check formatting of deleted files 2020-04-08 10:36:09 +00:00
public.bzl [skottie] Cleanup: split animators into separate CUs 2020-03-17 15:48:17 +00:00
README
README.chromium
RELEASE_NOTES.txt Remove SkSurface::MakeFromBackendTextureAsRenderTarget from public API 2020-05-29 15:09:52 +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.