Creates a new pipeline with the configuration copied from the source pipeline.
We would strongly advise developers to always aim to use copy instead of Pipeline whenever there will be any similarity between two pipelines. Copying a pipeline helps Cogl keep track of a pipelines ancestry which we may use to help minimize GPU state changes.
this |
a Pipeline object to copy |
a pointer to the newly allocated Pipeline |