Go to file
Chris Dalton a3e9271ec4 CCPR: Eliminate texel buffers
Points cost 8 bytes and indices cost 4. If a point is accessed twice,
it's a wash whether we duplicate it or index. This change eliminates
texel buffers by duplicating points across instance arrays. This
reduces our dependence on extensions as well as getting rid of our
indirect memory access pattern in vertex shaders.

As a result of this change, memory usage by GPU buffers will only be a
fraction larger at worst, and slightly better at best.

Bug: skia:
Cq-Include-Trybots: skia.primary:Test-Debian9-Clang-GCE-CPU-AVX2-x86_64-Release-All-SKNX_NO_SIMD
Change-Id: I3c7f03772edd4f850d5fdd7b55552647335c1b52
Reviewed-on: https://skia-review.googlesource.com/79185
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Chris Dalton <csmartdalton@google.com>
2017-12-05 21:12:48 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Fix shader linker errors on several GL benchmarks 2017-11-17 20:52:26 +00:00
bin bin/try: Add interactive mode 2017-10-18 17:16:16 +00:00
debugger Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
dm Reland "Hide SkEncodedInfo" 2017-12-05 19:28:08 +00:00
docs working on skimage 2017-12-01 17:13:39 +00:00
example Remove SampleApp and convert HelloWorld to sk_app 2017-11-21 18:37:19 +00:00
experimental Remove a huge pile of views code 2017-11-22 18:59:44 +00:00
fuzz Fuzz: RasterN32CanvasViaSerialization, 2017-12-01 17:56:26 +00:00
gm Add analytic clip FPs that read from the CCPR atlas 2017-12-05 18:06:18 +00:00
gn add serial procs to pictures 2017-12-05 20:33:18 +00:00
include add serial procs to pictures 2017-12-05 20:33:18 +00:00
infra ANGLE -> Clang 2017-12-05 19:25:38 +00:00
platform_tools remove mips support and bots 2017-12-05 17:19:45 +00:00
resources Extract Android FontMgr part of Typeface test. 2017-11-13 17:00:31 +00:00
samplecode CCPR: Eliminate texel buffers 2017-12-05 21:12:48 +00:00
site remove mips support and bots 2017-12-05 17:19:45 +00:00
src CCPR: Eliminate texel buffers 2017-12-05 21:12:48 +00:00
tests CCPR: Eliminate texel buffers 2017-12-05 21:12:48 +00:00
third_party Reland "Hide SkEncodedInfo" 2017-12-05 19:28:08 +00:00
tools add serial procs to pictures 2017-12-05 20:33:18 +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 use of uninitialized flag in SkCodec 2017-10-09 19:17:05 +00:00
BUILD.gn Move some bits from views to sk_app 2017-12-01 14:47:10 +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/ d5f44c986..f5be5bafa (1 commit) 2017-12-04 20:10: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 Add in test_filter to build configuration 2017-10-16 11:09:49 +00:00
public.bzl Exclude tools/gpu/atlastext from public.bzl 2017-11-19 19:47:32 +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 Removed general bot upload permissions, whitespace change to test 2017-12-04 13:03:34 +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.