Skip to content
Snippets Groups Projects
  1. May 25, 2019
    • Basile Clement's avatar
      demos: Add a dithering demo · 98b5ec74
      Basile Clement authored and Bryce Harrington's avatar Bryce Harrington committed
      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.
      98b5ec74
  2. May 05, 2015
  3. Apr 24, 2015
    • Ben Avison's avatar
      test: Add a new benchmarker targeting affine operations · e0c0153d
      Ben Avison authored and Pekka Paalanen's avatar Pekka Paalanen committed
      
      Affine-bench is written by following the example of lowlevel-blt-bench.
      
      Affine-bench differs from lowlevel-blt-bench in the following:
      - does not test different sized operations fitting to specific caches,
        destination is always 1920x1080
      - allows defining the affine transformation parameters
      - carefully computes operation extents to hit the COVER_CLIP fast paths
      
      Original version by Ben Avison. Changes by Pekka in v3:
      - commit message
      - style fixes
      - more comments
      - refactoring (e.g. bench_info_t)
      - help output tweak
      
      Signed-off-by: default avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
      Reviewed-by: default avatarBen Avison <bavison@riscosopen.org>
      e0c0153d
  4. Mar 12, 2013
  5. Jan 23, 2013
  6. Oct 04, 2012
  7. Oct 01, 2012
    • Søren Sandmann Pedersen's avatar
      Remove 64 bit pipeline · 4afd20cc
      Søren Sandmann Pedersen authored
      The 64 bit pipeline is not used anymore, so it can now be removed.
      
      Don't generate pixman-combine64.[ch] anymore. Don't generate the
      pixman-srgb.c anymore. Delete all the 64 bit fetchers in
      pixman-access.c, all the 64 bit iterator functions in
      pixman-bits-image.c and all the functions that expand from 8 to 16
      bits.
      4afd20cc
  8. Jul 30, 2012
    • Antti S. Lankila's avatar
      Add sRGB blending demo program · a161a6ba
      Antti S. Lankila authored
      Simple sRGB color blender test can be used to determine if the sRGB processing
      works as expected. It blends alpha ramps of purple and green together such that
      at midpoint of image, 50 % blend of both is realized. At that point, sRGB-aware
      processing yields a result close to #bbb rather than #888, which is the linear
      light blending result.
      
      The demo also contains the sample computation for sRGB premultiplied alpha.
      a161a6ba
    • Antti S. Lankila's avatar
      Add support for sRGB surfaces · 7460457f
      Antti S. Lankila authored
      sRGB format is defined as a new format type, PIXMAN_TYPE_ARGB_SRGB. One form of
      this type is provided, PIXMAN_a8r8g8b8_sRGB. Use of an sRGB format triggers
      wide processing, and the pixel fetch/store functions handle the relevant
      conversion between color spaces. Pixman itself is thought to compose in the
      linearized sRGB color space.
      
      sRGB conversion is tabularized. For sRGB to linear, we are using only 256
      values because the current source format uses 8 bits per component precision.
      For linear to sRGB, it turns out that only 4096 brightness levels are required
      to generate all of the 256 sRGB color values, and therefore only 12 bits per
      component are considered during store. As a special case, a no-op
      sRGB->linear->sRGB conversion is constructed to be lossless by adjusting the
      sRGB->linear conversion table where necessary.
      7460457f
  9. Jun 13, 2012
  10. May 10, 2012
  11. Feb 22, 2012
  12. Aug 30, 2010
  13. Aug 24, 2010
  14. Sep 24, 2009
  15. Oct 08, 2008
  16. Mar 25, 2008
    • Carl Worth's avatar
      Add pixman_version function and related macros · bd2a53fc
      Carl Worth authored
      The complete new API here makes available compile-tim version checks:
      
      	PIXMAN_VERSION
      	PIXMAN_VERSION_STRING
      	PIXMAN_VERSION_ENCODE
      
      as well as run-time version checks:
      
      	pixman_version()
      	pixman_version_string()
      bd2a53fc
  17. Jan 23, 2008
  18. Oct 30, 2007
  19. Sep 06, 2007
  20. May 24, 2007
Loading