Add unit test for ShmPool
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
parent
d8e4f5ed
Please register or sign in to comment