From: GStreamer (bugzilla.gnome.org) <bug...@bu...> - 2007-05-24 14:24:28
|
If you have any questions why you received this email, please see the text at the end of this email. Replies to this email are NOT read, please see the text at the end of this email. You can add comments to this bug at: http://bugzilla.gnome.org/show_bug.cgi?id=431252 GStreamer | don't know | Ver: HEAD CVS Jan Schmidt changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |th...@ma... ------- Comment #9 from Jan Schmidt 2007-05-24 14:23 UTC ------- The problem with the approach in the example code above is that glReadPixels is notoriously slow. On modern cards with a PCI-X bus, it's less so, but on older cards, reading back from the gfx card has always been a slow process. It's certainly not feasible to read the frames back and forth for several processing steps - it very quickly saturates the bus. In general, I think we can concoct a method where a glxcontext is passed between elements using buffer_alloc somehow though, so that multiple processing steps can be performed in a chain with the results being read back at the end, either by an element which has the job of allocated the glx context and passing it upstream, then reading the pixels at the end, or by having each element in the chain recognise that downstream wants image/x-raw-rgb and taking the task on itself. -- See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received this email, why you can't respond via email, how to stop receiving emails (or reduce the number you receive), and how to contact someone if you are having problems with the system. You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=431252. |