Go to file
Brian Salomon 0f01b2e8b5 Revert "Revert "Improvements to GPU dither.""
This reverts commit 38fb308f31.

Reason for revert: Reland with SkSL caps fix for vulkan

Original change's description:
> Revert "Improvements to GPU dither."
> 
> This reverts commit 1806e33e6a.
> 
> Reason for revert: <INSERT REASONING HERE>
> 
> Original change's description:
> > Improvements to GPU dither.
> > 
> > 1) Makes the range of the offset dependent on the config.
> > 
> > 2) Uses an ordered dither on GPUs that support integers in shaders.
> > 
> > 3) Enables dithering for all paints with dither flag when the color type of the dst is 4444
> > 
> > 4) Dithers r,g,b and clamps to 0,a rather than dithering all four channels (same as CPU backend).
> > 
> > Bug: skia:
> > Change-Id: Ie22c3adc38c6d1dbbcd97e4b7d16fc843e392c2e
> > Reviewed-on: https://skia-review.googlesource.com/23485
> > Commit-Queue: Brian Salomon <bsalomon@google.com>
> > Reviewed-by: Robert Phillips <robertphillips@google.com>
> 
> TBR=bsalomon@google.com,robertphillips@google.com
> 
> Change-Id: Ie82e88bd9032bf8eee745d32d9b57c335a8997c9
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug: skia:
> Reviewed-on: https://skia-review.googlesource.com/24325
> Reviewed-by: Brian Salomon <bsalomon@google.com>
> Commit-Queue: Brian Salomon <bsalomon@google.com>

TBR=bsalomon@google.com,robertphillips@google.com

Change-Id: Ic38ac276c8b88b8d993a29d1fcbfe37e84becd2a
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: skia:
Reviewed-on: https://skia-review.googlesource.com/24282
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
2017-07-18 20:45:35 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench remove references to kIndex_8_SkColorType from our tools/tests 2017-07-12 20:25:44 +00:00
bin bin/fetch-clang-format 2017-03-08 16:43:49 +00:00
debugger Retract GrTexture*.h & GrRenderTarget*.h from other headers 2017-06-13 17:21:41 +00:00
dm guard references to SkColorTable 2017-07-18 15:50:43 +00:00
example Update SkiaSDLExample to latest Ganesh interfaces. 2017-07-11 16:34:21 +00:00
experimental experimental/documentation/gerrit.md: fix error 2017-07-04 17:23:04 +00:00
fuzz guard references to SkColorTable 2017-07-18 15:50:43 +00:00
gm guard references to SkColorTable 2017-07-18 15:50:43 +00:00
gn quote $windk to make copy-and-paste easy 2017-07-17 15:01:27 +00:00
include guard references to SkColorTable 2017-07-18 15:50:43 +00:00
infra Copy over private SKPs during SKP asset create command 2017-07-18 19:59:33 +00:00
platform_tools Enable ios on Raspberry Pi 2017-04-25 16:56:41 +00:00
resources Fix double delete in SkBmpCodec 2017-07-14 16:25:54 +00:00
samplecode Coverage counting path renderer 2017-07-14 21:45:35 +00:00
site SkPDF: simplify drawImage/Bitmap/Sprite code. 2017-07-12 20:41:41 +00:00
src Revert "Revert "Improvements to GPU dither."" 2017-07-18 20:45:35 +00:00
tests start on raster pipeline 2d mode 2017-07-18 18:34:04 +00:00
third_party Report error on failure to create SkCodec 2017-07-14 21:14:06 +00:00
tools Do not move over webpage archives, they are needed for capturing SKPs 2017-07-18 17:29:14 +00:00
.clang-format Mark flatennable macros as block beginning/ending in .clang-format 2017-01-09 15:31:36 +00:00
.gitignore [infra] Move Android and GPU maps into gen_tasks.go. 2017-06-14 13:17:43 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Added support for building for tvOS 2017-03-14 22:55:04 +00:00
BUILD.gn Add GN arg to allow Flutter-specific API guards 2017-07-14 18:54:24 +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 Update SkiaSDLExample to latest Ganesh interfaces. 2017-07-11 16:34:21 +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
PRESUBMIT.py Update CQ extra trybots after switch to Debian 2017-06-29 19:35:40 +00:00
public.bzl guard references to SkColorTable 2017-07-18 15:50:43 +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 Marker for Win AMD driver update. 2017-05-22 17:21:14 +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.