Move sync jobs to a common place so that they can be used by rhi and opengl


This reduces duplication and will make it easier in the long run to maintain
both backends since what these jobs are doing are doesn't really on the
rendering backend in use.

Change-Id: I9e51f964880874de52a2fa55c7753a1a5633d023
Reviewed-by: Mike Krus <mike.krus@kdab.com>
commit9a07ff46ac224e810126622685385993acc6f16b
parent607235b72918a416268b45772c6bbc2f86c32e9b
authorPaul Lemire <paul.lemire@kdab.com>
committerPaul Lemire <paul.lemire@kdab.com>
commit timeWed, 26 Aug 2020 12:53:22 +0200