Go to file
Chris Dalton 8738cf4c19 ccpr: Simplify triangle corners
Modifies triangle corner shaders to just approximate their coverage with
linear values that ramp to zero at bloat vertices outside the triangle.

For the vertex backend, since corners now have the same fragment shader
as the rest of the triangle, we fold them in with the other steps and
draw triangles in a single pass.

The geometry backend still draws triangles in two passes, as there is
not an apparent performance advantage in combining them.

Updates SampleCCPRGeometry to better visualize this new geometry by
clearing to black and drawing with SkBlendMode::kPlus.

Bug: skia:
Change-Id: Idf8df8ff715dfab7ac91a07b914f65c08e46010b
Reviewed-on: https://skia-review.googlesource.com/113287
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
2018-03-09 19:25:11 +00:00
animations
bench Add GM configs that test rendering to a GL backend texture and render target 2018-03-09 16:32:10 +00:00
bin remove fetch-gn dependency on buildtools 2018-02-21 20:42:26 +00:00
debugger Revert "Revert "Revert "Revert "Revert "Revert "Redefine the meaning of sample counts in GPU backend."""""" 2018-02-03 01:59:59 +00:00
dm Make GrGpu::deleteTestingOnlyBackendTexture() take const GrBackendTexture& 2018-03-09 18:20:40 +00:00
docs work in imageinfo and phrase substitution 2018-03-05 18:48:15 +00:00
example Revert "Revert "Revert "Revert "Revert "Revert "Redefine the meaning of sample counts in GPU backend."""""" 2018-02-03 01:59:59 +00:00
experimental [skottie] Reduce parser verbosity 2018-03-07 22:34:20 +00:00
fuzz Fix a tiny typo 2018-03-01 14:52:04 +00:00
gm Make GrGpu::deleteTestingOnlyBackendTexture() take const GrBackendTexture& 2018-03-09 18:20:40 +00:00
gn ccpr: Simplify triangle corners 2018-03-09 19:25:11 +00:00
include Fix no gpu build 2018-03-09 19:12:34 +00:00
infra Update SKP version 2018-03-09 17:18:10 +00:00
platform_tools Viewer/Amdroid: universal build, resources in APK 2018-03-06 22:52:10 +00:00
resources Avoid serializing to 'typ1' on Mac. 2018-03-09 15:03:20 +00:00
samplecode ccpr: Simplify triangle corners 2018-03-09 19:25:11 +00:00
site Reland "Reland "make SkJumper stages normal Skia code"" 2018-03-07 17:32:40 +00:00
src ccpr: Simplify triangle corners 2018-03-09 19:25:11 +00:00
tests Fix breakage from merge conflict related to deleteTestingOnlyBackendTexture sig. change 2018-03-09 18:37:54 +00:00
third_party Support pngs with incorrect CMF bytes 2018-02-28 21:46:03 +00:00
tools update tool to sniff images during deserialization 2018-03-09 19:12:50 +00:00
.clang-format Mark flatennable macros as block beginning/ending in .clang-format 2017-01-09 15:31:36 +00:00
.gitignore Ignore generated README.recipes.md 2017-10-26 18:07:27 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Fix assert format string in GrContext_colorTypeSupportedAsImage test. 2018-02-26 17:02:38 +00:00
BUILD.gn Initial texture data is never flipped when uploaded. 2018-03-07 18:22:40 +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 skia/third_party/externals/angle2/ e8a93c6ed..331404098 (1 commit) 2018-03-09 17:20:40 +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 Presubmit that modified json files are valid json. 2018-02-12 16:32:12 +00:00
public.bzl Remove dm excludes from public.bzl. 2018-03-07 15:57:40 +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
whitespace.txt Test change 2018-02-15 17:46:19 +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.