Skip to content
  • Fabian Bieler's avatar
    util-gl: Add piglit_probe_rect_two_rgb. · 748b62a8
    Fabian Bieler authored
    
    
    Read color data from the given rectangle and compare its RGB value to the
    given two expected values.
    
    Print a log message if the color value deviates from both expected values.
    Return true if the color values match, false otherwise.
    
    This is useful to compare two renders drawn on top of each other with
    blending.
    
    Reviewed-by: default avatarBrian Paul <brianp@vmware.com>
    748b62a8