Skip to content
  • Martin Flöser's avatar
    Add unit test for ShmPool · 6394b6cd
    Martin Flöser authored
    The unit test found a few problems which are now addressed
    * getBuffer did not check the format when reusing a buffer
    * creatBuffer used the wrong method on QSize to check whether it is empty
    * destroy didn't call destroy on the Buffer. This is now added by moving
      the Buffer::Private in a dedicated header which can also be included
      from the ShmPool
    6394b6cd