JDK-8305246 : Clear entire RTT when Scissor rect is not set
  • Type: Sub-task
  • Component: javafx
  • Sub-Component: graphics
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • CPU: generic
  • Submitted: 2023-03-30
  • Updated: 2024-07-06
  • Resolved: 2023-03-30
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
MetalContext.clearRTT() method should clear the entire RTT when there is no scissor rect is set.
In ES2 and D3D pipelines, the texture clearing is a unit operation, a call to clearBuffers clears all buffers, (frame, depth). But in Metal we only set loadAction in clearRTT for clearing entire texture and expect texture to be cleared on next render call.
Comments
Changeset: d5790458 Author: Ambarish Rapte <arapte@openjdk.org> Date: 2023-03-30 18:12:34 +0000 URL: https://git.openjdk.org/jfx-sandbox/commit/d5790458fa4a9a8107c114ffe23f90b6231e32c0
30-03-2023