JDK-5094232 : RFE: New compositing modes for java2d (add, sub, div, mult)
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 1.4.2
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2004-08-30
  • Updated: 2019-12-17
  • Resolved: 2019-12-17
Related Reports
Relates :  
Description
Name: jl125535			Date: 08/30/2004


A DESCRIPTION OF THE REQUEST :
Java2D does not include compositing modes that are now common:
- Add
- Subtract
- Divide
- Multiply


JUSTIFICATION :
The 12 Duff-Porter are nice, but not enough when going gaming.(those compositing modes are more than necessary in that field, and generally miss anyway).
While we can, of course, do those ourselves, we are tied to make them software. Once done by hand, they make any hardware acceleration efforts useless.


EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Another class the implements the four modes.

CUSTOMER SUBMITTED WORKAROUND :
none if we want to keep accelerated pipeline (gl, dx, ddraw, ... ).
(Incident Review ID: 301368) 
======================================================================

Comments
EVALUATION See 6541868 for an updated evaluation that discusses how the hardware acceleration story impacts our decision to deliver (or not) these extended compositing modes in Java2D.
13-02-2009

EVALUATION This is something we should investigate in the Dolphin timeframe, and should not necessarily limit ourselves to the four modes mentioned above (things like average, darken, lighten, color burn/dodge are pretty common in photo editing software and libraries these days). We could accelerate most of these modes fairly easily in the OGL/D3D pipelines, leveraging shaders where necessary.
15-02-2006