On platforms that use an OpenMAX video decoder (like the rpi3) and GLES2, the call to gst_gl_sync_meta_wait_cpu() (which is internally translated into a glFinish call), causes unnecessary waits when trying to the video frame using gstreamer-gl, reducing the framerate. On these platforms the call to gst_gl_sync_meta_wait_cpu() can be omitted cause we know that OpenGL will ensure that the video frame will be ready when we want to draw it.
Created attachment 394715 [details] Patch
Minor nit: The bug tile should have “[GStreamer]” instead of “[WPE]” 😉️
Comment on attachment 394715 [details] Patch I would have changed the name of the method to waitForCPUSyncIfNeeded
Committed r259113: <https://trac.webkit.org/changeset/259113> All reviewed patches have been landed. Closing bug and clearing flags on attachment 394715 [details].