glsyncmeta: separate out gpu/cpu waits.
authorMatthew Waters <matthew@centricular.com>
Tue, 9 Feb 2016 01:14:04 +0000 (12:14 +1100)
committerMatthew Waters <matthew@centricular.com>
Tue, 9 Feb 2016 01:30:25 +0000 (12:30 +1100)
commitcd4a93da3b433de215903184f18944668053e04c
treeef4ffadd7e9d45efff5332288479ac717d411e01
parent44c0d75cffcc82a797b6b9db9988fcbbc59a40b6
glsyncmeta: separate out gpu/cpu waits.

CPU waits are more expensive and are only required if the CPU is ever going to
access the data. GPU waits perform inter-context synchronisation and are cheaper
as they don't require CPU intervention.
ext/gtk/gtkgstglwidget.c
gst-libs/gst/gl/gstglsyncmeta.c
gst-libs/gst/gl/gstglsyncmeta.h
sys/androidmedia/gstamcvideodec.c