Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 5094232
Votes 9
Synopsis RFE: New compositing modes for java2d (add, sub, div, mult)
Category java:classes_2d
Reported Against 1.4.2
Release Fixed
State 6-Fix Understood, request for enhancement
Priority: 4-Low
Related Bugs 6541868
Submit Date 30-AUG-2004
Description


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) 
======================================================================
Posted Date : 2006-02-15 19:12:14.0
Work Around
N/A
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.
Posted Date : 2006-02-15 19:12:14.0

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.
Posted Date : 2009-02-13 01:26:40.0
Comments
  
  Include a link with my name & email   

Submitted On 26-JAN-2006
blending
this would definitely be useful. Please consider doing it!


Submitted On 13-AUG-2006
blending
Hi everyone, where are you at with these blending mode implementations ? I am really looking forward to using them...


Submitted On 03-OCT-2006
blending
Any progress on this advanced blending modes topic ?


Submitted On 26-MAR-2007
a big 'yes please' from me. including the other modes mentioned in the evaluation, with OGL acceleration! now that would be nice..



PLEASE NOTE: JDK6 is formerly known as Project Mustang