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

Lanai: reduce data for shape clip using bounding box

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: internal
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
      2d
    • Introduced In Version:
    • OS:
      os_x

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: