Hi , Back to this code , the bug seem to be corrected : edit : but I think a better way to solve this bug is to set in "true" by default the opengl module.
webrev : http://cr.openjdk.java.net/~alexsch/chen.j.patrick/ 8178091/webrev.02 bug : 8178091 2017-05-06 22:03 GMT+02:00 Patrick Chen <chen.j.patr...@gmail.com>: > I mean : when compiliing and exec with the option : > -Dsun.java2d.opengl=true > the bug is not here , > > (java -Dsun.java2d.opengl Main) > we have to set to true by default the opengl I think , > it correct the bug that is I see > what do you think ? > > > 2017-05-06 21:59 GMT+02:00 Sergey Bylokhov <sergey.bylok...@oracle.com>: > >> Not sure that it is related to the property itself. >> When this property is "false"(which is by default) then XRender is used >> for drawing, and when you set it to "true" then OpenGL is used. >> >> >> ----- chen.j.patr...@gmail.com wrote: >> > >> > After working on , it seem my bug is not linked to xrender but opengl >> property >> when it is 'true' (opengl) it works well >> I think add something to the code can be a good way to correct my bug >> what do you think ? >> > >> > >> > 2017-05-06 21:51 GMT+02:00 Sergey Bylokhov <sergey.bylok...@oracle.com> >> : >> > >>> >>> > No, it is located in the .xr/ package >>> http://hg.openjdk.java.net/jdk9/client/jdk/file/4ad40491266b >>> /src/java.desktop/unix/classes/sun/java2d/xr >>> > >>> >>> > ----- chen.j.patr...@gmail.com wrote: >>> > > >>> > > Hi Sergey , >>> >>> > > >>> I do not find xr/ do you mean : sun.java2d.* ? >>> > > >>> > > >>> > > 2017-05-06 3:37 GMT+02:00 Sergey Bylokhov < >>> sergey.bylok...@oracle.com>: >>> > > >>>> >>>> > > >>>> Hi, Chen. >>>> XRender is implemented in classes which are located in sun.java2d.xr.* >>>> package. >>>> > > >>>> >>>> > > ----- chen.j.patr...@gmail.com wrote: >>>> > > > >>>> > > > Hello , >>>> I would like to know from where in the jdk source tree we can found >>>> classes deals with Xrender >>>> >>>> > > > >>>> >>>> > > > >>>> thanks >>>> >>> >>> > > >>> >> >> > >> > >