JDK-8303550 : Implement support for remaining Effects
  • Type: Sub-task
  • Component: javafx
  • Sub-Component: graphics
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • CPU: generic
  • Submitted: 2023-03-03
  • Updated: 2024-07-06
  • Resolved: 2023-03-03
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 Decora POC JDK-8293341: implements support for Blend Effects.
The other following Effects need to be supported too:

Bloom, BoxBlur, ColorAdjust, ColorInput, DisplacementMap, DropShadow, GaussianBlur, Glow, ImageInput, InnerShadow, Lighting, MotionBlur, PerspectiveTransform, Reflection, SepiaTone, Shadow
Comments
The method fixed in above commit: receives a set of float4 in the FloatBuffer, The parameter count is count of float4 and not count of all floats. The FloatBuffer can blindly be treated as a buffers of Float4. (same is done in ES2 and D3D) Just multiplying the count by 4, fixes most of the Effects.
03-03-2023

Changeset: 68eec1b4 Author: Ambarish Rapte <arapte@openjdk.org> Date: 2023-03-03 11:33:46 +0530 URL: https://github.com/openjdk/jfx-sandbox/commit/68eec1b411688335d112487b88f0627adb6d58ae
03-03-2023