Skip to content

d3d11: Use WIN32 API directly for locking with RAII pattern

Seungha Yang requested to merge seungha.yang/gstreamer:d3d11mem-remove-lock into main
    d3d11: Use WIN32 API directly for locking with RAII pattern

    Such abstraction is unnecessary for this library/plugin.
    Use WIN32 API directly instead of GLib wrappers.
    d3d11memory: Remove unnecessary locking

    * memory map/unmap is already protected by d3d11 device lock.
      Don't need to take another memory lock.
    * Use WIN32 critical section and slim reader/writer lock APIs
      directly instead of GLib wrappers.

Merge request reports