Skip to content

d3d12: Add testsrc and compositor elements

Seungha Yang requested to merge seungha.yang/gstreamer:d3d12-compositor into main
    d3d12: Use CREATE_NOT_ZEROED heap flag if possible

    Zero initialization would have overhead and it's not required
    most cases except for textures. Use CREATE_NOT_ZEROED flag
    in case of buffer resource or if a texture will be rendered without any
    prior read operation.
    d3d12: Add compositor element

    Adding d3d12compositor element. d3d12compositor will build GPU commands
    asynchronously and each command is serialized at final render stage.
    d3d12converter: Don't map output buffer with write flag

    Conversion will happen when constructed command list is executed,
    not by converter element. Thus this object should not map output buffer
    with write flag which will result in error if multiple threads
    are building commands for the same output target frame.
    d3d12converter: Add support for texture upload

    If buffer is not a d3d12 memory or allocated by other device,
    upload to internal d3d12 memory
    d3d12converter: Add support for blending

    Create new PSO if blend state update is required
    d3d12: Add testsrc element

    Adding testsrc element with d2d interop support via d3d11on12

Merge request reports