Embedded Software

Embedded Software

Scade test – While doing Scade Display verification i took screenshots and match

    • mryy.oztrk
      Subscriber

      While doing Scade Display verification i took screenshots and match with the actual image, there is no difference for the same .bmp image but it gives binary difference when i run the test on different computers. Why do binary difference occur in different two computers?

    • Ludovic Oddos
      Subscriber

      The bitmap files can differ on two or more machines. The bitmap outmap is generated with glReadPixels OpenGL command. 
      glReadPixels returns pixel data directly from the frame buffer. With this, the pixel data can differ because the graphics card and the driver is not the same.

      So, there are two ways to handle the issue:
      1) Generate the reference images on the same machine where the test is executed. (In case developer machines have different hardware/driver configurations)
      2) Use computers that matches in hardware and driver configuration for the developers.

Viewing 1 reply thread
  • You must be logged in to reply to this topic.