Go to file
csmartdalton 97f6cd5d0f Pre-crop filled rects to avoid scissor
Updates GrDrawContext to crop filled rects to the clip bounds before
creating batches for them. Also adds clipping logic to ignore scissor
when the draw falls completely inside. These two changes combined
reduce API traffic and improve batching.

In the future this can and should be improved by switching to floating
point clip boundaries, thus allowing us to throw out non pixel aligned
rectangle clips as well.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2132073002

Committed: https://skia.googlesource.com/skia/+/7969838702135b9f127bd738728da61bc49b050a
Committed: https://skia.googlesource.com/skia/+/86de59f4a99b5f54be0483c60ff0335be55b2bdf
Review-Url: https://codereview.chromium.org/2132073002
2016-07-13 13:37:08 -07:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Remove bulk float <-> half routines. These are dead code. 2016-07-13 13:30:49 -07:00
bin bin/fetch-skps: print instruction on error 2016-04-26 12:38:47 -07:00
build_overrides GN 2016-06-23 10:29:30 -07:00
cmake initial checkin of SkSL compiler 2016-07-01 08:22:01 -07:00
debugger Fix old debugger 2016-04-29 14:02:18 -07:00
dm deferred canvas 2016-07-08 08:43:28 -07:00
example Lots of progress on switching to SkColorSpace rather than SkColorProfileType 2016-06-16 13:03:24 -07:00
experimental tools/SkShaper: SkStream->blob 2016-07-12 09:17:43 -07:00
fuzz remove DownSample imagefilter 2016-06-25 14:30:44 -07:00
gm Pre-crop filled rects to avoid scissor 2016-07-13 13:37:08 -07:00
gyp Remove GrLayerHoister 2016-07-13 13:27:16 -07:00
include Pre-crop filled rects to avoid scissor 2016-07-13 13:37:08 -07:00
infra Update Win toolchain 2016-07-01 17:29:18 -07:00
platform_tools Update documents/scripts for SampleApp removal 2016-07-12 09:12:39 -07:00
resources Use hintgasp font when testing rendering. 2016-07-12 06:55:25 -07:00
samplecode Factor code to rotate a canvas about a point. 2016-07-12 15:01:19 -07:00
site Fix option name typo 2016-07-12 15:11:31 -07:00
src Pre-crop filled rects to avoid scissor 2016-07-13 13:37:08 -07:00
tests Fix SkFixedDiv macro 2016-07-13 13:34:46 -07:00
third_party GN 2016-06-23 10:29:30 -07:00
tools Turn back on nanobench on Debug trybots. 2016-07-13 09:44:18 -07:00
.gitignore Add CIPD support for bot assets 2016-06-28 04:41:49 -07:00
.gn GN 2016-06-23 10:29:30 -07:00
AUTHORS SkPDF: Use type 2/3 shading for gradient shaders 2016-06-17 12:38:54 -07:00
BUILD.gn GN 2016-06-23 10:29:30 -07:00
codereview.settings Automatically add a docs preview link and NOTRY=true when there are only docs changes. 2015-02-26 10:16:13 -08: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 GN: just new deps 2016-06-23 05:56:18 -07:00
Doxyfile Documentation: SkCanvas API 2015-05-19 10:21:29 -07:00
gn.py GN 2016-06-23 10:29:30 -07:00
gyp_skia Make Win runtime DLLs writeable before overwriting 2016-03-18 08:33:38 -07:00
gyp_skia.py Roll gyp deps from 1765 to 1796. 2013-11-21 18:11:14 +00:00
LICENSE Include resources directory in google3 sync. 2015-10-20 13:00:48 -07:00
make.bat Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
make.py GYP: remove stale skia_scalar gyp variable 2015-11-10 13:25:12 -05:00
Makefile Add visualbench as valid target to Makefile 2015-12-18 08:05:06 -08:00
OWNERS add root files from chrome 2013-08-13 19:11:15 +00:00
PRESUBMIT.py Specifying master names with "master." prefix is deprecated 2016-07-13 12:57:42 -07:00
public.bzl Exclude SkSL in public.bzl. 2016-07-02 05:12:46 -07: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
SK_IMAGE_VERSION Remove extra DNG images and use smaller HTC.dng 2016-05-24 06:23:47 -07:00
skia.gyp Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
SKP_VERSION Update SKP version 2016-07-10 00:41:28 -07:00
whitespace.txt Test PDFium bot again 2016-06-04 11:57:23 -07:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at https://skia.org.