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

Lanai - MTLClip.beginShapeClip method uses a larger temporary buffer than needed

    XMLWordPrintable

    Details

    • Subcomponent:
      2d
    • CPU:
      x86_64
    • OS:
      os_x

      Description

      This method allocates and uses a temporary buffer of size (width * height * 4) - whereas the stencil buffer is of type MTLPixelFormatR8Uint - indicating it is a byte buffer.
      It is like we are allocating the temporary buffer which is 4 times larger and filling it with 0's - but using only 1/4th of it to copy.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              aghaisas Ajit Ghaisas
              Reporter:
              aghaisas Ajit Ghaisas
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: