JDK-8336469 : Update the clip state on updating render target
  • Type: Sub-task
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: internal
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • Submitted: 2024-07-16
  • Updated: 2024-07-22
  • Resolved: 2024-07-17
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
The clip state must be reset after the render target is changed. 
This is done correctly on metal native side, similarly the state object on java side should reflect the same.
This would reduce the number of setClipRect calls by a small number, with no gain in FPS.
Comments
Changeset: 02c95ed3 Branch: metal Author: Ambarish Rapte <arapte@openjdk.org> Date: 2024-07-16 16:01:30 +0000 URL: https://git.openjdk.org/jfx-sandbox/commit/02c95ed3ea35928064600b1c47ce1c65c8d0b7ac
17-07-2024