Skip to content
  • Luca Barbieri's avatar
    gallium: implement clamping controls (ARB_color_buffer_float) · 47e3896d
    Luca Barbieri authored and Marek Olšák's avatar Marek Olšák committed
    BTW this changes the gallium interface.
    Some rather cosmetic changes by Marek.
    
    Squashed commit of the following:
    
    commit 513b37d4
    Author: Luca Barbieri <luca@luca-barbieri.com>
    Date:   Thu Aug 26 18:17:54 2010 +0200
    
        mesa/st: respect fragment clamping in st_DrawPixels
    
    commit 546a31e4
    Author: Luca Barbieri <luca@luca-barbieri.com>
    Date:   Thu Aug 26 18:17:28 2010 +0200
    
        mesa/st: support fragment and vertex color clamping
    
    commit c406514a
    Author: Luca Barbieri <luca@luca-barbieri.com>
    Date:   Tue Aug 24 21:56:37 2010 +0200
    
        mesa/st: expose ARB_color_buffer_float if unclamping is supported
    
    commit d0c5ea11
    Author: Luca Barbieri <luca@luca-barbieri.com>
    Date:   Thu Aug 26 17:53:41 2010 +0200
    
        mesa/st: use unclamped colors
    
        This assumes that Gallium is to be interpreted as given drivers the
        responsibility to clamp these colors if necessary.
    
    commit aef5c3c6
    Author: Luca Barbieri <luca@luca-barbieri.com>
    Date:   Thu Aug 26 18:12:34 2010 +0200
    
        mesa, mesa/st: handle read color clamping properly
    
        We set IMAGE_CLAMP_BIT in the caller based on _ClampReadColor, where
        the operation mandates it. (see the removed XXX comment. -Marek)
    
        TODO: did I get the set of operations mandating it right?
    
    commit 76bdfcfe
    Author: Luca Barbieri <luca@luca-barbieri.com>
    Date:   Thu Aug 26 18:18:25 2010 +0200
    
        gallium: add color clamping to the interface
    47e3896d