JDK-8304324 : Basic support for Clip/Scissor rect
  • Type: Sub-task
  • Component: javafx
  • Sub-Component: graphics
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • CPU: generic
  • Submitted: 2023-03-16
  • Updated: 2024-07-06
  • Resolved: 2023-03-16
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
internalFixed
Description
Override BaseShaderGraphics.updateClipRect() in MTLContext.
A Rectangle clip rect is provided by Prism by making a call to this method.
The rectangle is used  to set the ScissorRect on GraphicsPipiline.
We need to pass it down to to Metal pipeline and manage the state correctly.

Comments
Changeset: cb1b1acc Author: Ambarish Rapte <arapte@openjdk.org> Date: 2023-03-16 15:01:02 +0000 URL: https://git.openjdk.org/jfx-sandbox/commit/cb1b1accdba9f7d1932791a08dbb8283e289e1a5
16-03-2023