Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8258482

Lanai: reduce data for shape clip using bounding box

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • None
    • internal
    • 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.

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

              Created:
              Updated:
              Resolved: