[Bug 729278] New: gl: avoid using an extra FBO pass in some basic cases

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Apr 30 10:12:09 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=729278
  GStreamer | gst-plugins-bad | git

           Summary: gl: avoid using an extra FBO pass in some basic cases
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: julien.isorce at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


1- Currently "videotestsrc ! video/x-raw, format=RGBA/RGB/RGBx ! glimagesink" 
use a shader whereas there is no need.

(Talking about this we should compare perf using BGRA instead as RGBA for our
texture format, or maybe it should be configurable or bases on what the
windowing system prefers. And choose a matching config on egl also)

2- Currently "videotestsrc ! video/x-raw, format=I420 ! glimagesink" uses a
shader to do the color convertion, it's fine but we use a FBO for that which
can be avoided. Indeed we could draw directly to the window surface.

3- Currently "videotestsrc ! glcolorscale ! "GL" ! fakesink" uses 2 FBO, one
for the upload and one that just does the identity. The later should be
avoided.

See here in_info and out_info are the same
http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/gst-libs/gst/gl/gstglupload.c#n593
whereas everything is there to avoid this extra FBO.

Same with download "gleffects ! glcolorscale ! ximagesink"
http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/gst-libs/gst/gl/gstgldownload.c#n341,
in and out infos are the same. The second FBO pass can be avoided.

And same with "videotestsrc ! glcolorscale ! ximagesink".

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list