[OpenJDK 2D-Dev] Provide a way to make MultiResolutionImage screen compatible

Jim Graham james.graham at oracle.com
Thu Mar 26 21:52:01 UTC 2015



On 3/26/15 9:21 AM, Hendrik Schreiber wrote:
> Nevertheless, I wouldn't mind some feedback regarding converting ToolKitImages easily to something that can be drawn faster (TYPE_INT_ARGB_PRE). Don't we all want that?
> Or asked the other way around: Why isn't TYPE_INT_ARGB_PRE the default? To be more flexible?

Toolkit images manage their own internal storage formats.  We shouldn't 
be requiring applications to adapt them for a display.  If we are 
managing the internal formats wrong then that is a bug to be fixed, not 
a reason for a new API or a new mechanism...

			...jim



More information about the 2d-dev mailing list