public class

BufferedPaints

extends Object
java.lang.Object
   ↳ sun.java2d.pipe.BufferedPaints

Summary

Constants
int MULTI_MAX_FRACTIONS The maximum number of gradient "stops" supported by our native fragment shader implementations.
Public Constructors
BufferedPaints()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int MULTI_MAX_FRACTIONS

The maximum number of gradient "stops" supported by our native fragment shader implementations. This value has been empirically determined and capped to allow our native shaders to run on all shader-level graphics hardware, even on the older, more limited GPUs. Even the oldest Nvidia hardware could handle 16, or even 32 fractions without any problem. But the first-generation boards from ATI would fall back into software mode (which is unusably slow) for values larger than 12; it appears that those boards do not have enough native registers to support the number of array accesses required by our gradient shaders. So for now we will cap this value at 12, but we can re-evaluate this in the future as hardware becomes more capable.

Constant Value: 12 (0x0000000c)

Public Constructors

public BufferedPaints ()