Lanai: reduce data for shape clip using bounding box

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • None
    • Affects Version/s: internal
    • Component/s: client-libs
    • 2d
    • os_x

      Currently, we process data of dest surface size to create a mask for the shape clip. It was originally done to clear untouched areas that might be dirty after the previous clip operation. However, a separate render pass with MTLLoadActionClear load action performs better than loading a large MTLBuffer to the stencil texture. So, limiting data to the bounding box of the clip shape and using the clearing render pass noticeable improves the shape clip performance.

            Assignee:
            Alexey Ushakov
            Reporter:
            Alexey Ushakov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: