Some testing revealed this to be a very efficient and reliable method of ingesting GPU frames into libplacebo, so it's a good idea to give as an example.