pre-clip this" or "not" then this isn't really
needed - just add the necessary logic to Renderer instead...
...jim
On 8/31/17 4:15 PM, Jim Graham wrote:
First, consider what is handled inside the guts of the Renderer process.
- It doesn't need to process
DA stuff is just as good as any other technique for accomplishing that and since we have to do the DDA stuff
anyway, we can just piggy-back off of that. When it calls addLine(), we will reject each of its pieces individually...
...jim
On 8/31/17 12:45 PM, Jim Graham wro
accuracy
(cups...)
Hope you will have time soon to look at the webrev, your feedback may help a
lot.
Cheers,
Laurent
Le 29 août 2017 2:58 AM, "Jim Graham" <james.gra...@oracle.com
<mailto:james.gra...@oracle.com>> a écrit :
Hi Laurent,
On 8/28/17 2:09 PM,
Hi Laurent,
On 8/28/17 2:09 PM, Laurent Bourgès wrote:
Hi Jim,
Thanks for your comments, it helped refining the webrev.
Here are my answers:
2017-08-26 2:22 GMT+02:00 Jim Graham <james.gra...@oracle.com
<mailto:james.gra...@oracle.com>>:
[D]Dasher.java - why the
Hi Laurent,
I'm just reading through the code now to get a handle on the nature of the
changes...(and starting with the 2D version)...
[D]Dasher.java - why the changes from (firstSegIdx > 0) to (firstSegIdx != 0)?
[D]Dasher.java - why is there a new goto_starting() which is only used from one
On 7/26/17 12:34 PM, Jim Graham wrote:
I'll do a search and see if there are any cases of the above paradigm left...
I did a basic grep over the Java sources in java.desktop looking primarily for synchronizations on a class, ignoring
synchronized methods (both instance and static
This same thing is done in other places in a simpler way without creating an inner class simply by having createGE() do
the assignment and test for null, as in:
before:
public static synchronized GraphicsEnvironment
getLocalGraphicsEnvironment() {
if (localEnv == null) {
Vote: yes
...jim
On 5/5/17 12:54 PM, Phil Race wrote:
I hereby nominate Laurent Bourges to membership in the 2D group.
This is on my slate of things to finish code reviewing today, but I don't have an OpenJDK10 workspace built yet, so it
will take some time to test a sanity check-build unless Phil wants to handle that...?
...jim
On 4/22/17 4:28 AM, Laurent Bourgès wrote:
Hi,
I am
Hi Laurent,
The implementation looks good, except that the method chaining-style return value seems out of place here. Similar
trimToSize() methods in Collections return void and none of the other methods in this area use the method chaining
paradigm. In the interest of maintaining a common
the other classes would be to completely remove
the entire sentence being modified. No mention of coordinate system at all.
I can do that ... if it is what you meant.
-phil.
On 4/11/17, 3:01 PM, Jim Graham wrote:
It's silly to include this statement in Line2D when no other geometry class
bothers
It's silly to include this statement in Line2D when no other geometry class bothers to mention this. It is considered
assumed information if you've gotten far enough to be looking at this class. I would prefer to copy boiler plate from
one of the other Foo2D geometry classes instead...
339/webrev.08/
- SunGraphics2D is updated to calculate the resolution variant size
according to the _BASE, _DPI_FIT, and _SIZE_FIT resolution rendering hint
- MultiResolutionRenderingHints test is added
Thanks,
Alexandr.
On 4/7/2015 1:02 PM, Jim Graham wrote:
This is an interestin
---Original Message-
From: Jayathirth D V
Sent: Wednesday, February 08, 2017 3:41 PM
To: Jim Graham; Philip Race; 2d-dev@openjdk.java.net
Subject: Re: [OpenJDK 2D-Dev] Review Request for JDK-7107905: ColorModel
subclasses are missing hashCode() or equals() or both methods
Hello All,
I have u
nuary 31, 2017 11:53 AM
To: Philip Race; Jim Graham; 2d-dev@openjdk.java.net
Subject: Re: [OpenJDK 2D-Dev] Review Request for JDK-7107905: ColorModel
subclasses are missing hashCode() or equals() or both methods
Hi Phil & Jim,
Thanks for your inputs.
I have verified with previous iteration of
+1 for the code changes, but I didn't review the test case...
...jim
On 12/19/16 8:48 PM, Philip Race wrote:
Bug: https://bugs.openjdk.java.net/browse/JDK-8130737
Webrev : http://cr.openjdk.java.net/~prr/8130737/
If a child raster is created with a non-zero x-offset
it is possible to tweak the transform? I mean that we can
apply the "round", then calculate the diff between resulted destination
and destination based on transform, and shift/rescale the transform so
it will map exactly the pixels from source edges to destination edges.
On 29.10.16 0:47,
out below...
...jim
On 10/28/16 6:40 AM, Alexandr Scherbatiy wrote:
On 10/11/2016 10:13 PM, Sergey Bylokhov wrote:
On 11.10.16 21:54, Jim Graham wrote:
Additionally, for AA rendering, there is no such thing as
"setClip(someShape)" and "fill(sameShape)" being identi
below...
...jim
On 10/28/16 6:40 AM, Alexandr Scherbatiy wrote:
On 10/11/2016 10:13 PM, Sergey Bylokhov wrote:
On 11.10.16 21:54, Jim Graham wrote:
Additionally, for AA rendering, there is no such thing as
"setClip(someShape)" and "fill(sameShape)"
the below list is reasonably comprehensive...
...jim
On 10/13/16 1:24 PM, Jim Graham wrote:
I'm trying to track down the old history after a lot of file moves, but here is
what I have so far:
(Note that some of these only apply when we use it in non-AA mode where we set
th
I'm trying to track down the old history after a lot of file moves, but here is
what I have so far:
(Note that some of these only apply when we use it in non-AA mode where we set
the number of subpixel samples to 1x1)
https://bugs.openjdk.java.net/browse/JDK-8092682 (non-AA: changing BND
On 10/11/16 12:49 PM, Jim Graham wrote:
Right now I tried to fix overlapping, which produce visible artifacts and were
considered as a bugs. The next issue
which I would like to fix is a overlapping of drawImage().
Yes, that bears investigation...
I looked into it and the issue is basically
That looks good. +1
...jim
On 10/11/16 4:32 PM, Sergey Bylokhov wrote:
On 11.10.16 23:12, Jim Graham wrote:
Also, is it worth having a protective test for Rectangle in the
intersect(Rectangle2D) method to avoid all of the double math when the
rectangle was already
Also, is it worth having a protective test for Rectangle in the intersect(Rectangle2D) method to avoid all of the double
math when the rectangle was already an integer one?
...jim
On 10/10/16 4:37 PM, Sergey Bylokhov wrote:
On 10.10.16 23:42, Jim Graham wrote:
Can we
d the shape, so we should set an empty clip
if we get a NaN in any coordinate...
...jim
On 10/10/16 4:37 PM, Sergey Bylokhov wrote:
On 10.10.16 23:42, Jim Graham wrote:
Can we also not use MAX_INT for the drawImage test case? Either have
the drawImage follow the clip aro
On 10/11/16 12:13 PM, Sergey Bylokhov wrote:
On 11.10.16 21:54, Jim Graham wrote:
Additionally, for AA rendering, there is no such thing as
"setClip(someShape)" and "fill(sameShape)" being identical no matter how
much we predict which rules they may want because clips a
On 10/10/16 3:23 PM, Phil Race wrote:
That last sentence sounds like the right answer in principle but I don't know
if we'll be unpleasantly surprised
by some consequence of "... that setClip(Shape) and fill(Shape) might disagree
.."
-phil.
As I was thinking more about this last night we
On 10/10/16 3:53 PM, Sergey Bylokhov wrote:
On 11.10.16 1:23, Phil Race wrote:
Yes, I think adjacent drawImage requests should not overlap. We
should look into this separately.
So previously, overlapping of the clip bounds ensured adjacent images
were not drawn
over-lapped .. but with this
depends on what image was
painted first).
- Should the clip be affected by the stroke(if it was set by the shape)? Right
now if the clip was set by the shape it
will produce different result than if it was set via rectangle.
On 10.10.16 22:29, Jim Graham wrote:
That does sound like a problem
[CC'ing Phil in case he has some suggestions for how the API should work...]
Responding just to additional questions in this email...
On 10/10/16 12:45 PM, Sergey Bylokhov wrote:
The additional questions:
- In the current fix we change behavior of the clip. Before the fix if we set
the clip
Yes, we do bias both. So, the code we just added doesn't match the biasing that is performed by the fill operations, we
should probably make it be the same. You can see that it computes a bias boolean when it calls getFillSSI(), but the
bias is applied natively in the native ShapeSpanIterator
That does sound like a problem. Does it do the same thing with new Path2D(Rectangle)? The Area class does some
processing on the path and it would be nice to eliminate that as a potential source of this problem. I don't have a
buildable JDK9 repo right now that I can fire off some quick tests
On 10/10/16 11:55 AM, Sergey Bylokhov wrote:
On 10.10.16 21:31, Jim Graham wrote:
OK, but you only need a line width of 2.0 to cover the gap regardless of
scale. Line width scales in user space so larger scales scale up the
line width along with the clip region being rendered
Hi Sergey,
Comments inline...
On 10/8/16 2:15 PM, Sergey Bylokhov wrote:
On 08.10.16 0:58, Jim Graham wrote:
That looks great. A couple of questions.
An updated version and a comments inline:
http://cr.openjdk.java.net/~serb/8167310/webrev.01
Test case:
Where do you get white gaps
to scroll, it gets a little dicey unless
the scroll mode is considered just a hint.
...jim
On 10/7/16 3:41 PM, Jim Graham wrote:
Aren't the components inside the scrollpane located relative to the origin of
the entire scrollable region? In which
case, the precise location
fractional
coordinate which we cannot use via int API.
On 07.10.16 0:21, Jim Graham wrote:
Yes, most likely. It involves making sure that the origin of the
viewport is always an even multiple of pixels, then the copyArea will
match up with the repainting. The damage repair messages here have
That looks great. A couple of questions.
Region, line 132: why are you testing for newv > coordinate?
Test case:
Where do you get white gaps? Is it in the line test? If so, then consider setting the line width higher (or drawing 2
lines per iteration as I mention in the last paragraph). I
of the graphics)...
...jim
On 10/6/16 3:11 AM, Anton Tarasov wrote:
Hi all,
On 04 Oct 2016, at 23:28, Jim Graham <james.gra...@oracle.com> wrote:
On 10/4/16 1:01 PM, Anton Tarasov wrote:
Anyway, I roughly tried your approach mentioned in the previous e-mail, but
forc
16 1:46 PM, Anton Tarasov wrote:
On 10/4/2016 11:30 PM, Jim Graham wrote:
I wasn't familiar with the test code for this particular case. Is it in a bug
report somewhere?
Jim, I'm re-attaching it (it was in my first e-mail).
Thanks,
Anton.
...jim
On 10/4/16 1:01 PM, Anton Tarasov wr
.
On 02.10.16 22:10, Jim Graham wrote:
After looking into the code in RepaintManager and re-reading Alexander's
message again I can see how it describes what is going on more clearly.
Fixing the rounding errors doesn't necessarily require avoiding use of
the intermediate image for damage repair, you just
I wasn't familiar with the test code for this particular case. Is it in a bug
report somewhere?
...jim
On 10/4/16 1:01 PM, Anton Tarasov wrote:
Also, the problem with primitives rendering
(http://cr.openjdk.java.net/%7Eant/hidpi_pics/Scaling-150-percent.png) is
still
On 10/4/16 1:01 PM, Anton Tarasov wrote:
Anyway, I roughly tried your approach mentioned in the previous e-mail, but
forcing RM to paint via offscreen
BufferedImage, not volatile (just for a quick check).
It solved the shift issue of the demo listed in 8162350, which is cool. It also
solved
On 10/4/16 1:01 PM, Anton Tarasov wrote:
- Simply ask for a large enough integer to make sure you got the entire clip to
fit in it and let the allocator give
you an even larger image. It doesn't matter if you paint into a larger image
(other than having to allocate an extra
row/column on
Hi Anton,
Yes, the numbers you are describing are consistent with performing that
standard boilerplate using an origin/translate that is not exactly at an
integer pixel location.
My comments about our mechanisms not allowing for scale-aware
allocations can be dealt with in a couple of ways:
ate by an integer amount, and then scale
g.setClip(pixelx1, pixely1, pixelw, pixelh)
g.translate(pixelx1, pixely1)
g.scale(scaleX, scaleY);
component.paint(g)
destinationg.setTransform(IDENTITY)
destinationg.drawImage(img, pixelx1, pixely1)
// (restore transforms where needed)
On 9/30/16 3:22 AM, Alexandr Scherbatiy wrote:
The problem is that the RepaintManager draws a region to a buffered image at
first and draws the image after that to the
window.
Suppose the image has int coordinates and size (x, y, w, h) in the user space.
It should be drawn into the region
will address the review
comment in JDK-8166009.
The original backport webrev is still the same.
http://cr.openjdk.java.net/~aghaisas/8158356/8u_backport/webrev.00/
Request you to approve this 8u backport.
Regards,
Ajit
-Original Message-
From: Jim Graham
Sent: Friday, September
All of those conditions are optimized equivalents to getting the determinant.
invert() is a destructive call, but since getTransform is documented to return a copy, that is fine - but
getDeterminant() will involve less math to check the condition...
...jim
On 9/27/16
xplanation was at least 90% accurate...
...jim
On 9/26/16 11:55 AM, Jim Graham wrote:
They do operate differently. They aren't meant to be mixed and matched.
One thing that may shed some light is the STROKE_CONTROL hint. If it is sent
to Pure then there is no heurist
They do operate differently. They aren't meant to be mixed and matched.
One thing that may shed some light is the STROKE_CONTROL hint. If it is sent to Pure then there is no heuristic for how
to rasterize and all rasterizers should agree on how to scan convert shapes.
But, if it is set to
that need a whole new API class to support a list of strings ?
And it still not a "schema". It is simply one of a list of suffixes.
-phil.
On 9/22/16, 1:51 PM, Jim Graham wrote:
If I am developing a skinned UI and I provide a set of 20 images for
various parts of the controls and then hand
If I am developing a skinned UI and I provide a set of 20 images for various parts of the controls and then hand off to
my graphic designer to create the DPI variants for all of the images, it is much easier for me to tell them to name all
of the images with suffixes for the DPI variants and
things as
Phil suggests...
...jim
On 9/21/16 5:48 PM, Jim Graham wrote:
I think this is a good point. The only gotcha would appear to be handling the
ImageObserver notifications and the
prepareImage() calls.
The ImageObserver should get the variant's dimensions
I think this is a good point. The only gotcha would appear to be handling the ImageObserver notifications and the
prepareImage() calls.
The ImageObserver should get the variant's dimensions as one of the first notifications, though if they trigger an image
load and then add an observer later,
Hi Ajit,
In the cases where you "continue" on a non-finite slope, doesn't that mean that the edges will be mismatched? If you
can't determine the bounding polygon, perhaps the entire operation should be aborted instead...?
It's different from the case of dy1==dy2 which also results in a
hilip Race
Sent: Thursday, August 11, 2016 3:22 AM
To: Jim Graham
Cc: Ajit Ghaisas; 2d-dev
Subject: Re: [OpenJDK 2D-Dev] [9]Fix for JDK-8158356 : SIGSEGV when attempting
to rotate BufferedImage using AffineTransform by NaN degrees
Agreed, I had previously asked for that too (off-line).
ie. root cause
Hi Avik,
On 8/23/16 11:43 PM, Avik Niyogi wrote:
Hi Jim,
Just a few queries I have regarding the inputs provided. I have added them
inline in red. Thank you for further inputs
in advance.
On 24-Aug-2016, at 3:02 am, Jim Graham <james.gra...@oracle.com
<mailto:james.gra...@oracle.com&g
I wonder why the @throws is not inherited...?
Another way to fix this would be to implement it in the base Image class with the throw and all classes that can return
a graphics override it. Then you wouldn't even need documentation in the AMRI class just to say "never mind we don't
provide
:10, Jim Graham wrote:
Hi Alexandr,
Should something be done to transfer the array of sizes to the new
instance if the source is an MRCI? Perhaps a special case for MRCI as
well that calls mrciInstance.map(mapper) instead of constructing a
brand new object from scratch?
...jim
On 08
/2016 01:32 AM, Alexander Scherbatiy wrote:
Could you review the updated fix:
http://cr.openjdk.java.net/~alexsch/8151303/webrev.03
MultiResolutionToolkitImage handing is added to the
MultiResolutionCachedImage.map() method.
Thanks,
Alexandr.
On 11/08/16 01:46, Jim Graham wrote:
Ah, yes, only
This does address the specific test case directly, but I'd be happier if we dug down and figured out where it went wrong
in trying to transform the image and put in a fix that addressed the root problem whether it comes from the inputs being
NaN or from some other similar condition that could
non-MRCI...
...jim
On 8/10/16 5:35 AM, Alexander Scherbatiy wrote:
On 09/08/16 03:49, Jim Graham wrote:
Does MultiResolutionCachedImage.map() work if the Image hasn't been loaded yet
(where getWidth/Height(Observer) can
return -1)? Can it ever be called in a case like that?
Could we rely o
.
On 27/06/16 22:17, Alexander Scherbatiy wrote:
Hello,
Could you review the updated fix:
http://cr.openjdk.java.net/~alexsch/8151303/webrev.02
The fix does not use a new public API to apply filters to
multi-resolution images.
Thanks,
Alexandr.
On 14/05/16 02:54, Jim Graham
openjdk.java.net/~lbourges/marlin/marlin-8159638.2/
Cheers,
Laurent
2016-08-03 2:28 GMT+02:00 Jim Graham <james.gra...@oracle.com
<mailto:james.gra...@oracle.com>>:
How about instead of the shell script we put a comment up at the top
of the files (after the copyright header), with
I agree as well. Assignments really aren't ever needed inside if
statements...
...jim
On 08/02/2016 03:06 PM, Vadim Pakhnushev wrote:
Or as
j = w & 1;
if (j != 0) {
as in other longer cases. Too much parentheses to my taste.
Vadim
On 03.08.2016 1:04, Jim Gr
taste.
Vadim
On 03.08.2016 1:04, Jim Graham wrote:
In that case, then I'd write it as "if ((j = (w & 1)) != 0)" to make
it clear that the LHS is an assignment. A casual reading of the code
might see this as a comparison with an extra set of parentheses until
someone counts the equal
In that case, then I'd write it as "if ((j = (w & 1)) != 0)" to make it
clear that the LHS is an assignment. A casual reading of the code might
see this as a comparison with an extra set of parentheses until someone
counts the equal signs...
...jim
On 08/02/2016
On 08/02/2016 10:36 AM, Sergey Bylokhov wrote:
On 27.07.16 1:56, Jim Graham wrote:
Rectangle2D rClip = (Rectangle2D) usrClip;
int x0 = (int) Math.ceil(rClip.getMinX() - 0.5);
int y0 = (int) Math.ceil(rClip.getMinY() - 0.5);
int x1 = (int) Math.ceil(rClip.getMaxX() - 0.5);
int x1 = (int
Thanks Laurent,
On 08/02/2016 05:57 AM, Laurent Bourgès wrote:
Thanks for the tip, I made another webrev (for archive) that shows the
proper diffs in ArrayCache / ArrayCacheConst:
http://cr.openjdk.java.net/~lbourges/marlin/marlin-8159638.1_bis/
+ the putArray method always performs the
array cleanup
- ArrayCache renamed to ArrayCacheConst + simplified thresholds
More comments, below:
2016-07-21 23:41 GMT+02:00 Jim Graham <james.gra...@oracle.com
<mailto:james.gra...@oracle.com>>:
On 07/21/2016 06:56 AM, Laurent B
Hi Jay,
This looks good...
...jim
On 8/1/16 1:26 AM, Jayathirth D V wrote:
Hi,
Please review the following fix in JDK9 at your convenience:
Bug : https://bugs.openjdk.java.net/browse/JDK-8160943
Webrev : http://cr.openjdk.java.net/~jdv/8160943/webrev.00/
se find webrev for the above changes:
http://cr.openjdk.java.net/~jdv/8153943/webrev.04/
Thanks,
Jay
-Original Message-----
From: Jim Graham
Sent: Thursday, June 30, 2016 4:22 AM
To: Phil Race
Cc: Jayathirth D V; 2d-dev@openjdk.java.net
Subject: Re: [OpenJDK 2D-Dev] Review Request f
oordinates overflow an integer, but that would be the basic
gist of what we should be doing in that case in validateCompClip()...
...jim
On 07/26/2016 02:50 PM, Sergey Bylokhov wrote:
On 13.07.16 5:42, Jim Graham wrote:
What does the compClip end up being in
+1 from me too...
...jim
On 07/22/2016 10:16 AM, Phil Race wrote:
This is OK by me.
-phil.
On 07/22/2016 02:20 AM, Alexey Ushakov wrote:
Friendly reminder :)
Best Regards,
Alexey
On 13 Jul 2016, at 12:33, Alexey Ushakov
I just ran the test case attached in
https://bugs.openjdk.java.net/browse/JDK-4958271 .
It is actually generating an image and using it to do reader.readAll().
Thanks,
Jay
-Original Message-----
From: Jim Graham
Sent: Thursday, July 21, 2016 2:22 PM
To: Jayathirth D V; Philip Race
Cc: 2d-dev
Subj
-Original Message-
From: Jim Graham
Sent: Tuesday, July 12, 2016 7:41 PM
To: Jayathirth D V; Philip Race
Cc: 2d-dev@openjdk.java.net
Subject: Re: [OpenJDK 2D-Dev] Review Request for JDK-7107905: ColorModel
subclasses are missing hashCode() or equals() or both methods
Hi Jay,
When I write
Hi Laurent,
On 07/21/2016 06:56 AM, Laurent Bourgès wrote:
I don't have any issues with those numbers, but the way that they
are calculated makes it look like they are supposed to be unique
numbers and yet through the obscurity of the loops used to populate
the sizes they just
icular image) with new image that I have created.
Thanks,
Jay
-Original Message-
From: Philip Race
Sent: Wednesday, July 13, 2016 10:06 AM
To: Jim Graham
Cc: Jayathirth D V; 2d-dev
Subject: Re: [OpenJDK 2D-Dev] Review Request for JDK-8160943 : [PIT] new
failure of closed/javax/imageio/Re
Hi Laurent,
Some work should be done on the comments at the top of ArrayCache.java - line 38 and 42 make the same claim about 2
different thresholds.
It seems silly, but in ArrayCache.getNewLargeSize(), lines 162 and 164 are both ">" tests and then the newly added test
at 166 is a "<" test.
webrev.00/
Thanks,
Jay
*From:*Phil Race
*Sent:* Saturday, July 09, 2016 12:37 AM
*To:* Jayathirth D V
*Cc:* Jim Graham; 2d-dev
*Subject:* Re: REG : JDK-8160943 : [PIT] new failure of
closed/javax/imageio/ReadAllThumbnailsTest.java
On 07/08/2016 04:08 AM, Jayathirth D V wrote:
What does the compClip end up being in that case?
...jim
On 7/4/16 1:12 AM, Sergey Bylokhov wrote:
On 01.07.16 2:49, Jim Graham wrote:
How is it returning true? If the clip really is empty, then
intersectsQuickCheck() should never return true. Or are you saying
ColorModel equals
and hashCode methods should spell out the protocol subclasses need to follow to obey the
respective contracts of methods.", I have discussed with Phil also regarding the
same offline. Any inputs on this also would be helpful.
Thanks,
Jay
-Original Message-
From
if it is universally considered a valid JPEG?
...jim
On 7/12/16 6:57 PM, Jim Graham wrote:
That doesn't appear to be happening in this case. If you take the APP0 marker
lengths at face value, there are 3 APP0
markers. The first has a length that brings you to the second one
That doesn't appear to be happening in this case. If you take the APP0 marker lengths at face value, there are 3 APP0
markers. The first has a length that brings you to the second one. The second one has a length that takes you 2 bytes
short of the next. The intervening bytes are 00,00 which
I don't see the need for the extra parentheses in this particular case,
but the change/fix looks good...
...jim
On 06/30/2016 03:25 PM, Phil Race wrote:
Bug: https://bugs.openjdk.java.net/browse/JDK-8160693
Fix :-
hg diff
)?
On 24.06.16 1:14, Jim Graham wrote:
Think of this method as asking:
I don't want you to waste a lot of time, but tell me if it is silly for
me to even consider rendering something with these bounds.
And the answer is either "Oh, yeah, it is inconceivable that those
bounds would be rende
The solution looks fine to me.
I didn't run the test case, but about the only issue I can see with it
is whether it should have a flag to run it in its own VM because of its
interaction with System.err. Phil?
...jim
On 06/30/2016 06:41 AM, Ajit Ghaisas wrote:
Hi,
degenerate case), whilst
instances (of the different classes) could compare as equal.
But in either case we need to look to the super-class which is lacking
any documentation of its
own describing what makes two instances equal.
We could try to explain there what might otherwise be surprising.
-phil.
equals() method in ColorModel and its subclasses I have updated the
spec for the same.
Please find updated webrev for review:
http://cr.openjdk.java.net/~jdv/7107905/webrev.11/
Thanks,
Jay
-Original Message-
From: Jim Graham
Sent: Saturday, June 04, 2016 4:52 AM
To: Jayathirth D V; Philip Race
e layout and pixel fetching behavior for a specific configuration of PISM and BSM
are identical, they are philosophically not the same and so should not evaluate as equals()...
...Or, should they?
...jim
On 6/27/16 4:05 PM, Jim Graham wrote:
This is odd that two completely
I agree, it looks more like an overflow error, but the new code is technically more correct so this is more of a comment
on their error reporting than on the resulting fix. If you ignore the "Werror=" part of the comment, it is true that
val overflows a signed int on the 127th iteration, which
SampleModel we don't have
unique properties that are specific to these subclasses and we have proper equals()
& hashCode() method in parent class ComponentSampleModel. So removed hashCode()
method present in PixelInterleavedSampleModel and BandedSampleModel.
Thanks,
Jay
-Original Messa
.. question to Alexandr :
JComponent.paintChildren() is the only place in the JDK that consumes this API.
Is this causing a particular problem with Swing hi-dpi - other than repainting
in cases that maybe didn't need it ?
-phil.
On 6/23/2016 3:00 PM, Jim Graham wrote:
Since "return true&q
t's just that I don't think anyone has ever proven this, or written an exhaustive
test suite to verify that none of our rendering hints can perturb rendering by enough to create some surprises here...)
...jim
On 6/23/16 3:00 PM, Jim Graham wrote:
Since "return true&q
/webrev.02/
Thanks,
Jay
-Original Message-
From: Jim Graham
Sent: Tuesday, June 14, 2016 12:44 AM
To: Jayathirth D V
Cc: 2d-dev@openjdk.java.net; Philip Race
Subject: Re: [OpenJDK 2D-Dev] Review Request for JDK-8152672 : Exception while
getting second image properties for JPEG with embedded
the updated webrev for review:
http://cr.openjdk.java.net/~jdv/6386906/webrev.01/
Thanks,
Jay
-Original Message-
From: Jim Graham
Sent: Tuesday, June 14, 2016 12:34 AM
To: Jayathirth D V; 2d-dev@openjdk.java.net; Philip Race
Subject: Re: [OpenJDK 2D-Dev] Review Request for JDK-6386906 : Faulty
Made changes to
throw IOException in this case.
Please find updated webrev for review:
http://cr.openjdk.java.net/~jdv/8152672/webrev.01/
Thanks,
Jay
-Original Message-----
From: Jim Graham
Sent: Saturday, June 11, 2016 3:07 AM
To: Jayathirth D V; Philip Race
Cc: 2d-dev@openjdk.java.net
Subject: Re
Why use ceil() at all? If you want Math.ceil(intval/2.0f), use
"((intval + 1) / 2)"...
...jim
On 6/13/2016 7:00 AM, Jayathirth D V wrote:
Hi,
_Please review the following fix in JDK9:_
_ _
Bug : https://bugs.openjdk.java.net/browse/JDK-6386906
Webrev :
The getInstance MT issue could be filed as a separate follow-on bug if
you want, in which case webrev.1 is good to go...
...jim
On 6/10/2016 2:54 PM, Jim Graham wrote:
Thanks Laurent,
Eeek, I hate the type[] syntax for declaring arrays, but I guess I have
to grow
ers,
MarlinRenderingEngine, MarlinTileGenerator classes.
My comments:
2016-06-10 1:48 GMT+02:00 Jim Graham <james.gra...@oracle.com
<mailto:james.gra...@oracle.com>>:
In RendererStats, lines 276,277 - is it better to convert to an
array (which is an inherently risky situation f
1 - 100 of 622 matches
Mail list logo