[Bug 739440] GstGLMemory lazy malloc system memory

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Sep 22 08:08:19 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=739440

Matthew Waters (ystreet00) <ystreet00 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |ystreet00 at gmail.com
         Resolution|---                         |FIXED
   Target Milestone|git master                  |1.7.1

--- Comment #9 from Matthew Waters (ystreet00) <ystreet00 at gmail.com> ---
This seems to have been solved in the transition to glbasememory.

gst_gl_base_memory_alloc_data() (which controls the sysmem allocation) is only
called when necessary from the memcpy implementation or from the cpu accesses
of the dependant classes.

commit 27e724df8f0b7bb0d98a6c1589777633b3dadcba
Author: Matthew Waters <matthew at centricular.com>
Date:   Mon Dec 14 12:59:02 2015 +1100

    gl: add a base memory object

    It handles the following
    - GstAllocationParams -> gst_memory_init transformation
    - Makes sure that map/unmap/create/destroy happen on the GL thread with
      a GL context current.
    - Holds a possible sysmem accessible data pointer with alignment.
    - Holds the need upload/download transfer state

-- 
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