~vcs-imports/libpixman/master

Viewing all changes in revision 2094.

  • Committer: Bryce Harrington
  • Author(s): Basile Clement
  • Date: 2019-05-25 14:30:11 UTC
  • Revision ID: git-v1:98b5ec74ca14448349ef6a33a663ad19d446ed6b
demos: Add a dithering demo

This adds a dither.c which provides a demo of the dithering feature.
This is based on the scale.c demo for scaling and provides a selection
of intermediate formats and dithering operators (currently, only
PIXMAN_DITHER_ORDERED_BAYER_8) to use.  Images are first blitted onto a
surface of the intermediate format with the requested dither setup, then
blitted back onto a a8r8g8b8 surface for display.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: