[Bug 750319] memory: subclasses don't know map flags in unmap

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Jun 3 03:43:51 PDT 2015


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

Matthew Waters <ystreet00 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|git master                  |1.5.1

--- Comment #2 from Matthew Waters <ystreet00 at gmail.com> ---
commit 7130230ddb349d0ca7942abdba26b7558df055d1
Author: Matthew Waters <matthew at centricular.com>
Date:   Wed Jun 3 18:03:36 2015 +1000

    memory: provide a mem_unmap function that takes the flags to unmap

    There are gstmemory's available that operate in two memory domains
    and need to ensure consistent access between these domains.

    Imagine a scenario where e.g. the GLMemory is mapped twice in both
    the GPU and the CPU domain.  On unmap or a subsequent map, it would
    like to ensure that the most recent data is available in the memory
    domain requested.  Either by flushing the writes and/or initiating a
    DMA transfer.  Without knowing which domain is being unmapped, the
    memory does not know where the most recent data is to transfer to
    the other memory domain.

    Note: this still does not allow downgrading a memory map.

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

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