Re: [OpenJDK 2D-Dev] AWT Dev [9] Review Request: JDK-8029455 JLightweightFrame: support scaled painting

2013-12-12 Thread Anton V. Tarasov
[cc'ing to j2d alias] On 11.12.2013 21:29, Sergey Bylokhov wrote: On 11.12.2013 20:23, Anton V. Tarasov wrote: - CGraphicsDevice This setter is only called from CPlatformLWView.getGraphicsDevice(). I've explained it in my previous message. It's needed to change the scale factor of the

Re: [OpenJDK 2D-Dev] AWT Dev [9] Review Request: JDK-8029455 JLightweightFrame: support scaled painting

2013-12-12 Thread Anton V. Tarasov
[cc'ing to j2d] On 11.12.2013 14:38, Sergey Bylokhov wrote: On 11.12.2013 13:18, Anton V. Tarasov wrote: Hi Sergey, On 11.12.2013 3:26, Sergey Bylokhov wrote: Hi, Anton. My expectation was that everything should work automatically, if you get correct CGraphicsDevice for the embedded swing

Re: [OpenJDK 2D-Dev] AWT Dev [9] Review Request: JDK-8029455 JLightweightFrame: support scaled painting

2013-12-12 Thread Anton V. Tarasov
[cc'ing to j2d] On 11.12.2013 23:14, Anthony Petrov wrote: Hi Anton, On 12/11/2013 02:40 PM, Anton V. Tarasov wrote: 2. I'm not sure if adding the scale field to the BI is a good idea. I think that the image shouldn't be aware of any scale. After all, it's just an image, a bitmap. It has its

Re: [OpenJDK 2D-Dev] AWT Dev [9] Review Request: JDK-8029455 JLightweightFrame: support scaled painting

2013-12-12 Thread Anton V. Tarasov
[cc'ing to j2d] On 12.12.2013 1:30, Jim Graham wrote: On 12/11/13 2:40 AM, Anton V. Tarasov wrote: On 10.12.2013 23:57, Anthony Petrov wrote: I think that the image shouldn't be aware of any scale. The scale field put into the BufferedImage class means that an image instance should (or

Re: [OpenJDK 2D-Dev] AWT Dev [9] Review Request: JDK-8029455 JLightweightFrame: support scaled painting

2013-12-12 Thread Anton V. Tarasov
[cc'ing to j2d] Jim, let me continue this thread later when a general agreement about a scaled BufferedImage is made. Thanks, Anton. On 12.12.2013 1:44, Jim Graham wrote: Hi Anton, On 12/11/13 5:13 AM, Anton V. Tarasov wrote: Hi Jim, On 11.12.2013 13:14, Jim Graham wrote: In

Re: [OpenJDK 2D-Dev] AWT Dev [9] Review Request: JDK-8029455 JLightweightFrame: support scaled painting

2013-12-12 Thread Anton V. Tarasov
[cc'ing to j2d] On 12.12.2013 1:54, Jim Graham wrote: On 12/11/13 5:13 AM, Anton V. Tarasov wrote: On 11.12.2013 13:14, Jim Graham wrote: With the new support for scaled BufferedImages we now have a situation where some images return their logical dimensions from getWidth/Height(null) and

Re: [OpenJDK 2D-Dev] AWT Dev [9] Review Request: JDK-8029455 JLightweightFrame: support scaled painting

2013-12-12 Thread Sergey Bylokhov
On 12/12/13 7:16 PM, Anton V. Tarasov wrote: [cc'ing to j2d] On 11.12.2013 14:38, Sergey Bylokhov wrote: On 11.12.2013 13:18, Anton V. Tarasov wrote: Hi Sergey, On 11.12.2013 3:26, Sergey Bylokhov wrote: Hi, Anton. My expectation was that everything should work automatically, if you get

Re: [OpenJDK 2D-Dev] AWT Dev [9] Review Request: JDK-8029455 JLightweightFrame: support scaled painting

2013-12-12 Thread Jim Graham
On 12/12/13 11:19 AM, Sergey Bylokhov wrote: On 12/12/13 7:16 PM, Anton V. Tarasov wrote: On 11.12.2013 14:38, Sergey Bylokhov wrote: On 11.12.2013 13:18, Anton V. Tarasov wrote: With Nimus, at some moment, when the nimbus.AbstractRegionPainter.paint(Graphics2D g, ...) method is called it

Re: [OpenJDK 2D-Dev] AWT Dev [9] Review Request: JDK-8029455 JLightweightFrame: support scaled painting

2013-12-12 Thread Anthony Petrov
On 12/12/2013 07:18 PM, Anton V. Tarasov wrote: [cc'ing to j2d alias] On 11.12.2013 21:29, Sergey Bylokhov wrote: On 11.12.2013 20:23, Anton V. Tarasov wrote: - CGraphicsDevice This setter is only called from CPlatformLWView.getGraphicsDevice(). I've explained it in my previous message.

Re: [OpenJDK 2D-Dev] AWT Dev [9] Review Request: JDK-8029455 JLightweightFrame: support scaled painting

2013-12-12 Thread Sergey Bylokhov
On 12/12/13 11:27 PM, Jim Graham wrote: On 12/12/13 11:19 AM, Sergey Bylokhov wrote: On 12/12/13 7:16 PM, Anton V. Tarasov wrote: On 11.12.2013 14:38, Sergey Bylokhov wrote: On 11.12.2013 13:18, Anton V. Tarasov wrote: With Nimus, at some moment, when the

Re: [OpenJDK 2D-Dev] AWT Dev [9] Review Request: JDK-8029455 JLightweightFrame: support scaled painting

2013-12-12 Thread Jim Graham
On 12/12/13 2:33 PM, Sergey Bylokhov wrote: On 12/12/13 11:27 PM, Jim Graham wrote: The only real difference here is that BufferedImages have multiple definitions of width and height. For VolatileImage objects there is no view of the pixels so the dimensions are the layout size and the

[OpenJDK 2D-Dev] hg: jdk8/2d/nashorn: 5 new changesets

2013-12-12 Thread lana . steuck
Changeset: 7fa32e7d755f Author:katleman Date: 2013-12-04 23:11 -0800 URL: http://hg.openjdk.java.net/jdk8/2d/nashorn/rev/7fa32e7d755f Added tag jdk8-b119 for changeset c3343930c73c ! .hgtags Changeset: e0b4483668a7 Author:jlaskey Date: 2013-11-26 11:58 -0400 URL:

[OpenJDK 2D-Dev] hg: jdk8/2d/corba: 2 new changesets

2013-12-12 Thread lana . steuck
Changeset: 53fd772d28c8 Author:katleman Date: 2013-12-04 23:10 -0800 URL: http://hg.openjdk.java.net/jdk8/2d/corba/rev/53fd772d28c8 Added tag jdk8-b119 for changeset 379fc7609beb ! .hgtags Changeset: a7d3638deb2f Author:katleman Date: 2013-12-12 05:20 -0800 URL:

[OpenJDK 2D-Dev] hg: jdk8/2d/jaxws: 2 new changesets

2013-12-12 Thread lana . steuck
Changeset: 6c152deb600d Author:katleman Date: 2013-12-04 23:11 -0800 URL: http://hg.openjdk.java.net/jdk8/2d/jaxws/rev/6c152deb600d Added tag jdk8-b119 for changeset 172b8e056ff2 ! .hgtags Changeset: 32050ab53c8a Author:katleman Date: 2013-12-12 05:21 -0800 URL:

[OpenJDK 2D-Dev] hg: jdk8/2d/langtools: 8 new changesets

2013-12-12 Thread lana . steuck
Changeset: 1670108bec25 Author:katleman Date: 2013-12-04 23:11 -0800 URL: http://hg.openjdk.java.net/jdk8/2d/langtools/rev/1670108bec25 Added tag jdk8-b119 for changeset 43a80d75d06e ! .hgtags Changeset: a746587a1ff1 Author:jlahoda Date: 2013-12-03 18:50 +0100 URL:

[OpenJDK 2D-Dev] hg: jdk8/2d/jaxp: 4 new changesets

2013-12-12 Thread lana . steuck
Changeset: 9b4fac40124d Author:katleman Date: 2013-12-04 23:11 -0800 URL: http://hg.openjdk.java.net/jdk8/2d/jaxp/rev/9b4fac40124d Added tag jdk8-b119 for changeset 69a930376c70 ! .hgtags Changeset: aed9ca4d33ec Author:joehw Date: 2013-12-04 00:17 -0800 URL:

[OpenJDK 2D-Dev] hg: jdk8/2d/hotspot: 22 new changesets

2013-12-12 Thread lana . steuck
Changeset: a3dc98dc4d21 Author:katleman Date: 2013-12-04 23:11 -0800 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/a3dc98dc4d21 Added tag jdk8-b119 for changeset ce42d815dd21 ! .hgtags Changeset: b6b9a5d4cda0 Author:amurillo Date: 2013-11-29 11:20 -0800 URL:

[OpenJDK 2D-Dev] hg: jdk8/2d: 5 new changesets

2013-12-12 Thread lana . steuck
Changeset: 6c9cfee19264 Author:katleman Date: 2013-12-04 23:10 -0800 URL: http://hg.openjdk.java.net/jdk8/2d/rev/6c9cfee19264 Added tag jdk8-b119 for changeset 9e90215673be ! .hgtags Changeset: c009462c1e92 Author:erikj Date: 2013-12-04 12:45 +0100 URL:

[OpenJDK 2D-Dev] hg: jdk8/2d/jdk: 8029628: Many graphic artifacts

2013-12-12 Thread vadim . pakhnushev
Changeset: c8c4aef922ff Author:vadim Date: 2013-12-13 11:49 +0400 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/c8c4aef922ff 8029628: Many graphic artifacts Reviewed-by: prr, bae ! src/windows/native/sun/java2d/d3d/D3DBadHardware.h