Re: [OpenJDK 2D-Dev] Question regarding GraphicsConfiguration/DisplayMode

2009-03-31 Thread Dmitri Trembovetski
Hi Roman, Roman Kennke wrote: This doesn't explain some methods that crept up into this class (like getBounds and getNormalizingTransform). They should have been on GraphicsDevice. Why? Isn't getBounds() used to indicate which part of the whole virtual screen (Xinerama) a GC is represent

Re: [OpenJDK 2D-Dev] Question regarding GraphicsConfiguration/DisplayMode

2009-03-31 Thread Roman Kennke
Hi Dmitri, > > I think my mental model regarding the GD/GC/DisplayMode API is a bit > > messed up, or the API is a bit messed up. > >It's the API that's a bit messed up. Phew. ;-) >Basically, GD represents a real graphics device - like a video board on > windows, and screen on X11 (w/o

Re: [OpenJDK 2D-Dev] Question regarding GraphicsConfiguration/DisplayMode

2009-03-31 Thread Dmitri Trembovetski
Hi Roman, Roman Kennke wrote: I think my mental model regarding the GD/GC/DisplayMode API is a bit messed up, or the API is a bit messed up. It's the API that's a bit messed up. Basically, GD represents a real graphics device - like a video board on windows, and screen on X11 (w/o xin

[OpenJDK 2D-Dev] Question regarding GraphicsConfiguration/DisplayMode

2009-03-31 Thread Roman Kennke
Hi, I think my mental model regarding the GD/GC/DisplayMode API is a bit messed up, or the API is a bit messed up. So far I was always assuming that the GCs (as returned by GD.getGraphicsConfigurations()) represent all the possible settings (resolution, color model, etc) that the GD can use. BUT,