summaryrefslogtreecommitdiffstats
path: root/tests/auto/render/commons/testaspect.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move common job handling out of RendererMike Krus2020-03-061-0/+5
| | | | | | | | | Should be done in aspect as it's independent of the backend. Moved some tests to separate test using an empty renderer as other backends are likely to have different jobs. Change-Id: I2bec0939045acea7b91ecb1622ba18bf9f5db3c6 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Use direct access to remove backend nodesPaul Lemire2019-09-161-1/+7
| | | | | | | | | - Stop using messages - Remove QSceneObserverInterface - Ensure backend node creation/destruction is done at the right time Change-Id: I470825af344ab65bf05e93fc149b61d1b9eefc96 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Use sync method when initializing new backend nodesMike Krus2019-08-291-4/+29
| | | | | | | | | | | If the node type supports syncing, use that rather than the creation message. The message is still needed since that is passed to the instantiation functor (none of qt3d's classes appear to use anything but the node id, but can't be sure no other classes do, and can't add other virtual method without breaking BC). Change-Id: Id99f448070b8722a7809b968798772c9eb3c8397 Reviewed-by: Mike Krus <mike.krus@kdab.com>
* Unit tests factor out a TestAspect classPaul Lemire2017-01-231-0/+79
Change-Id: I1615af896906b9e22056278a24c738ad4847b100 Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>