Go to file
Ben Wagner bba38ee80e Avoid drawing BW clipped color glyphs many times.
Prior to this change if a color glyph is drawn through the raster device
with an aliased clip the glyph is drawn once for each rectangular region
in the aliased clip. In addition, even when the glyph was not a color
glyph in this situation, the mask was checked for being a color glyph
once for each rectangular region of the aliased clip. This change hoists
the test for the color format out of the loop to ensure that the mask
format is checked once and the mask is drawn once.

This issue was discovered by rotating the coloremoji_blendmodes gm.

Change-Id: I18b6b546356780e0b00948fff7b65783219f5c92
Reviewed-on: https://skia-review.googlesource.com/125868
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
2018-05-04 18:40:03 +00:00
animations
bench prepare to remove obsolete macros 2018-04-24 19:19:01 +00:00
bin remove fetch-gn dependency on buildtools 2018-02-21 20:42:26 +00:00
dm [skottie] Disable on Android Framework builds 2018-05-04 18:36:03 +00:00
docs Reland "Remove devKerning" 2018-05-02 15:15:08 +00:00
example Compile with GCC 7.2.0. 2018-03-13 22:18:18 +00:00
experimental [skottie] Add support for round-corners geometry effects 2018-05-01 14:54:14 +00:00
fuzz Add Skottie fuzzer (via json input) 2018-05-04 13:05:12 +00:00
gm Update SkRandomScalerContext to handle mask filters. 2018-05-03 01:00:08 +00:00
gn [skottie] Disable on Android Framework builds 2018-05-04 18:36:03 +00:00
include Revert "Reland "remove obsolete color defines"" 2018-05-04 17:19:33 +00:00
infra [recipes] Remove core.setup() 2018-05-04 18:23:13 +00:00
platform_tools Viewer/Amdroid: universal build, resources in APK 2018-03-06 22:52:10 +00:00
resources Add color fonts. 2018-03-28 20:14:44 +00:00
samplecode Use MaskFilter to create SDFs for text. 2018-05-04 13:56:02 +00:00
site Update markdown files 2018-05-03 12:02:11 +00:00
src Avoid drawing BW clipped color glyphs many times. 2018-05-04 18:40:03 +00:00
tests Remove fCacheKeys from SkImageFilter. 2018-05-04 14:33:32 +00:00
third_party Roll skia/third_party/skcms cc1799c..02fc32e (1 commits) 2018-05-04 14:34:22 +00:00
tools [skottie] Disable on Android Framework builds 2018-05-04 18:36:03 +00:00
.clang-format Mark flatennable macros as block beginning/ending in .clang-format 2017-01-09 15:31:36 +00:00
.gitignore [lottiecap] Moved over from buildbot repo. 2018-03-20 13:25:23 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Fixed SkVertices crashing on Windows DLL builds 2018-04-22 14:42:01 +00:00
BUILD.gn [skottie] Disable on Android Framework builds 2018-05-04 18:36:03 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING
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 third_party/externals/angle2/ 03bb2231a..d7b56642c (2 commits) 2018-05-04 11:09:09 +00:00
Doxyfile Make the housekeeper upload doxygen to a newer bucket 2016-10-04 13:23:57 -07:00
LICENSE BUG=skia:5602 2016-09-02 11:19:34 -07:00
OWNERS add OWNERS file 2017-12-01 19:50:19 +00:00
PRESUBMIT.py Skip post upload hooks for new service accounts 2018-05-03 12:10:11 +00:00
public.bzl Remove SK_SUPPORT_LEGACY_BACKEND_OBJECTS from public.bzl. 2018-05-03 18:14:41 +00:00
README
README.chromium Update README.chromium. 2015-06-11 13:19:24 -07:00
whitespace.txt Reland "Whitespace change" 2018-04-14 01:24:11 +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.