From Phil.Race at Sun.COM Thu Nov 15 14:19:10 2007 From: Phil.Race at Sun.COM (Phil Race) Date: Thu, 15 Nov 2007 14:19:10 -0800 Subject: [OpenJDK 2D-Dev] New list for getting 2d bug update notifiications Message-ID: <473CC5DE.3050902@sun.com> I have created a new list : http://mail.openjdk.java.net/mailman/listinfo/2d-bugupdates This list distributes email notification of all updates to 2d-dev related bugs made in Sun's bug database. This means "java/classes_2d" and "java/imageio" bugs according to the database's classification hierarchy. I expect this will address some questions and give a more dynamic view into what is happening. The email notifications originate from Sun's bug database and as such I have no control over their format or content, and its not the kind of thing that can be changed easily, if at all. 2d-bugupdates is a one way list. You cannot post to it. If you try it'll get discarded. But if you have a question or comment on an bug update notification, you'll find that the reply-to is set to point to 2d-dev at openjdk.java.net. Some might ask why not just send posts directly to that list. There are two reasons. First, not everyone will want to see all these posts, so a separate list allows people to choose. Secondly, because of the way the notifications come from the bug database it needs to be administered and configured separately. -phil. From sar.kernel at gmail.com Thu Nov 15 22:32:13 2007 From: sar.kernel at gmail.com (Saravanan S) Date: Fri, 16 Nov 2007 12:02:13 +0530 Subject: [OpenJDK 2D-Dev] DirectX9 support for java-2d Message-ID: <62207eb80711152232he38e1f9pe8f6ce866467b708@mail.gmail.com> Hi all, Are there any plans to support DirectX9 for java-2d in windows? The current code seems to contain the directx7(direct draw) implementation. Thanks Saravanan From Phil.Race at Sun.COM Fri Nov 16 06:37:20 2007 From: Phil.Race at Sun.COM (Phil Race) Date: Fri, 16 Nov 2007 06:37:20 -0800 Subject: [OpenJDK 2D-Dev] DirectX9 support for java-2d In-Reply-To: <62207eb80711152232he38e1f9pe8f6ce866467b708@mail.gmail.com> References: <62207eb80711152232he38e1f9pe8f6ce866467b708@mail.gmail.com> Message-ID: <473DAB20.70409@sun.com> Yes, the work is largely already done and you can download EA binaries at http://download.java.net/jdk6/binaries. See this thread in the 2d developers forum : http://forums.java.net/jive/thread.jspa?threadID=31500&tstart=0 Do try it out and send feedback on that thread this work will go into 6u10 first and be then brought forward into jdk7 -phil. Saravanan S wrote: > Hi all, > > Are there any plans to support DirectX9 for java-2d in windows? The > current code seems to contain the directx7(direct draw) > implementation. > > Thanks > Saravanan > From sar.kernel at gmail.com Fri Nov 16 07:03:52 2007 From: sar.kernel at gmail.com (Saravanan S) Date: Fri, 16 Nov 2007 20:33:52 +0530 Subject: [OpenJDK 2D-Dev] DirectX9 support for java-2d In-Reply-To: <473DAB20.70409@sun.com> References: <62207eb80711152232he38e1f9pe8f6ce866467b708@mail.gmail.com> <473DAB20.70409@sun.com> Message-ID: <62207eb80711160703i1730ff1eq6ef5688610b036a0@mail.gmail.com> Hi Phil, Thanks for the update. I will try it out. > Yes, the work is largely already done and you can download EA binaries at > http://download.java.net/jdk6/binaries. Does this mean that the source for the same is not available on openjdk? Thanks Saravanan On Nov 16, 2007 8:07 PM, Phil Race wrote: > Yes, the work is largely already done and you can download EA binaries at > http://download.java.net/jdk6/binaries. > See this thread in the 2d developers forum : > http://forums.java.net/jive/thread.jspa?threadID=31500&tstart=0 > > Do try it out and send feedback on that thread > > this work will go into 6u10 first and be then brought forward into jdk7 > > -phil. > > > Saravanan S wrote: > > Hi all, > > > > Are there any plans to support DirectX9 for java-2d in windows? The > > current code seems to contain the directx7(direct draw) > > implementation. > > > > Thanks > > Saravanan > > > > From Dmitri.Trembovetski at Sun.COM Fri Nov 16 09:49:45 2007 From: Dmitri.Trembovetski at Sun.COM (Dmitri Trembovetski) Date: Fri, 16 Nov 2007 09:49:45 -0800 Subject: [OpenJDK 2D-Dev] DirectX9 support for java-2d In-Reply-To: <62207eb80711160703i1730ff1eq6ef5688610b036a0@mail.gmail.com> References: <62207eb80711152232he38e1f9pe8f6ce866467b708@mail.gmail.com> <473DAB20.70409@sun.com> <62207eb80711160703i1730ff1eq6ef5688610b036a0@mail.gmail.com> Message-ID: <473DD839.9040400@Sun.COM> Saravanan S wrote: > Hi Phil, > > Thanks for the update. I will try it out. > >> Yes, the work is largely already done and you can download EA binaries at >> http://download.java.net/jdk6/binaries. > > Does this mean that the source for the same is not available on openjdk? Correct. Not because of any sinister intentions, just scheduling. Dmitri Java2D Team > > Thanks > Saravanan > > On Nov 16, 2007 8:07 PM, Phil Race wrote: >> Yes, the work is largely already done and you can download EA binaries at >> http://download.java.net/jdk6/binaries. >> See this thread in the 2d developers forum : >> http://forums.java.net/jive/thread.jspa?threadID=31500&tstart=0 >> >> Do try it out and send feedback on that thread >> >> this work will go into 6u10 first and be then brought forward into jdk7 >> >> -phil. >> >> >> Saravanan S wrote: >>> Hi all, >>> >>> Are there any plans to support DirectX9 for java-2d in windows? The >>> current code seems to contain the directx7(direct draw) >>> implementation. >>> >>> Thanks >>> Saravanan >>> >> From Phil.Race at Sun.COM Mon Nov 19 21:38:17 2007 From: Phil.Race at Sun.COM (Phil Race) Date: Mon, 19 Nov 2007 21:38:17 -0800 Subject: [OpenJDK 2D-Dev] DirectX9 support for java-2d In-Reply-To: <62207eb80711191932k67f64e45lb84a6552158aeade@mail.gmail.com> References: <62207eb80711152232he38e1f9pe8f6ce866467b708@mail.gmail.com> <473DAB20.70409@sun.com> <62207eb80711160703i1730ff1eq6ef5688610b036a0@mail.gmail.com> <473DD839.9040400@Sun.COM> <62207eb80711191932k67f64e45lb84a6552158aeade@mail.gmail.com> Message-ID: <474272C9.3090504@sun.com> Not years, but certainly months. How many months, its hard to say right now. -phil. Saravanan S wrote: > On Nov 16, 2007 11:19 PM, Dmitri Trembovetski > wrote: > >> Saravanan S wrote: >> >>> Hi Phil, >>> >>> Thanks for the update. I will try it out. >>> >>> >>>> Yes, the work is largely already done and you can download EA binaries at >>>> http://download.java.net/jdk6/binaries. >>>> >>> Does this mean that the source for the same is not available on openjdk? >>> >> Correct. Not because of any sinister intentions, just scheduling. >> > > Thanks Dmitri. Any timeline on when the code will be available on openjdk. > > -Saravanan > From sar.kernel at gmail.com Mon Nov 19 19:32:14 2007 From: sar.kernel at gmail.com (Saravanan S) Date: Tue, 20 Nov 2007 09:02:14 +0530 Subject: [OpenJDK 2D-Dev] DirectX9 support for java-2d In-Reply-To: <473DD839.9040400@Sun.COM> References: <62207eb80711152232he38e1f9pe8f6ce866467b708@mail.gmail.com> <473DAB20.70409@sun.com> <62207eb80711160703i1730ff1eq6ef5688610b036a0@mail.gmail.com> <473DD839.9040400@Sun.COM> Message-ID: <62207eb80711191932k67f64e45lb84a6552158aeade@mail.gmail.com> On Nov 16, 2007 11:19 PM, Dmitri Trembovetski wrote: > > > Saravanan S wrote: > > Hi Phil, > > > > Thanks for the update. I will try it out. > > > >> Yes, the work is largely already done and you can download EA binaries at > >> http://download.java.net/jdk6/binaries. > > > > Does this mean that the source for the same is not available on openjdk? > > Correct. Not because of any sinister intentions, just scheduling. Thanks Dmitri. Any timeline on when the code will be available on openjdk. -Saravanan From Phil.Race at Sun.COM Thu Nov 22 14:04:18 2007 From: Phil.Race at Sun.COM (Phil Race) Date: Thu, 22 Nov 2007 14:04:18 -0800 Subject: [OpenJDK 2D-Dev] [PATCH] memory leak in LCMS.c In-Reply-To: <4745ED77.5080401@redhat.com> References: <4745ED77.5080401@redhat.com> Message-ID: <4745FCE2.4060802@sun.com> This should be 2d-dev. Alexey, can you take care of this. thx, -phil. Thomas Fitzsimmons wrote: > Hi, > > Java_sun_java2d_cmm_lcms_LCMS_loadProfile gets its data parameter's > byte array elements but does not release them. A fix is attached. > > Tom > ------------------------------------------------------------------------ > > --- openjdk/jdk/src/share/native/sun/java2d/cmm/lcms/LCMS.c.orig 2007-11-17 11:07:47.000000000 -0500 > +++ openjdk/jdk/src/share/native/sun/java2d/cmm/lcms/LCMS.c 2007-11-17 11:12:47.000000000 -0500 > @@ -182,6 +182,8 @@ > > sProf.pf = cmsOpenProfileFromMem((LPVOID)dataArray, (DWORD) dataSize); > > + (*env)->ReleaseByteArrayElements (env, data, dataArray, 0); > + > if (sProf.pf == NULL) { > JNU_ThrowIllegalArgumentException(env, "Invalid profile data"); > } > From Alexey.Ushakov at Sun.COM Thu Nov 22 14:17:15 2007 From: Alexey.Ushakov at Sun.COM (Alexey Ushakov) Date: Fri, 23 Nov 2007 01:17:15 +0300 Subject: [OpenJDK 2D-Dev] [PATCH] memory leak in LCMS.c In-Reply-To: <4745FCE2.4060802@sun.com> References: <4745ED77.5080401@redhat.com> <4745FCE2.4060802@sun.com> Message-ID: <4745FFEB.2010902@sun.com> Yes, I'll look into it. Best Regards, Alexey Phil Race wrote: > This should be 2d-dev. > > Alexey, can you take care of this. > > thx, > > -phil. > > Thomas Fitzsimmons wrote: >> Hi, >> >> Java_sun_java2d_cmm_lcms_LCMS_loadProfile gets its data parameter's >> byte array elements but does not release them. A fix is attached. >> >> Tom >> ------------------------------------------------------------------------ >> >> --- openjdk/jdk/src/share/native/sun/java2d/cmm/lcms/LCMS.c.orig >> 2007-11-17 11:07:47.000000000 -0500 >> +++ openjdk/jdk/src/share/native/sun/java2d/cmm/lcms/LCMS.c >> 2007-11-17 11:12:47.000000000 -0500 >> @@ -182,6 +182,8 @@ >> >> sProf.pf = cmsOpenProfileFromMem((LPVOID)dataArray, (DWORD) >> dataSize); >> >> + (*env)->ReleaseByteArrayElements (env, data, dataArray, 0); >> + >> if (sProf.pf == NULL) { >> JNU_ThrowIllegalArgumentException(env, "Invalid profile data"); >> } >> > From Oleg.Sukhodolsky at Sun.COM Fri Nov 30 18:38:42 2007 From: Oleg.Sukhodolsky at Sun.COM (Oleg Sukhodolsky) Date: Sat, 01 Dec 2007 05:38:42 +0300 Subject: [OpenJDK 2D-Dev] Java Fullscreen Mode with Xorg server 1.3.0+ (I'm ready to work on a patch) In-Reply-To: <1196455116.9594.7.camel@dylan> References: <1196246017.8431.23.camel@dylan> <1196455116.9594.7.camel@dylan> Message-ID: <4750C932.3090908@sun.com> Hi Dan, am I right that your are going to fix our code so it correctly handled situation when Xinerama is loaded but we have just one screen, so we could use Xrandr extension in such configuration? This code is somewhere on boundary of AWT and 2D areas so you may want to also check with 2D. As for AWT side I can say for sure that we do not work on similar issue. > I've still not opened a bug on the Java bug database, do I need to do > that to be tidy? you are supposed to send a path with bug id, so it looks reasonable to have one :) Regards, Oleg. Dan Munckton wrote: >> Or maybe could the code in awt_GraphicsEnv.c check if only 1 monitor >> is connected and presume that it's the Xrandr backend that's in use as >> Xinerama wouldn't be loaded in that situation? > > I tested this out and of course it works on my single monitor setup. > > Since then I've chatted with Adam Jackson (Redhat) on #xorg he advised > that if XRRQueryVersion() returns >= 1.2, Java should go ahead and use > RANDR even if Xinerama is present. > > So I'd like to go ahead and work on a patch for this. Could anyone > confirm if this is ok and that I'd not be duplicating effort? > > I've still not opened a bug on the Java bug database, do I need to do > that to be tidy? > > Any tips on how to go about writing a jtreg test for this? > > Cheers > > Dan > > >