<AWT Dev> my favporite bug jdk-8178091
Patrick Chen
chen.j.patrick at gmail.com
Wed May 10 08:56:42 UTC 2017
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.patrick at 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.bylokhov at 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.patrick at 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.bylokhov at 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.patrick at 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.bylokhov at oracle.com>:
>>> > >
>>>>
>>>> > >
>>>> Hi, Chen.
>>>> XRender is implemented in classes which are located in sun.java2d.xr.*
>>>> package.
>>>> > >
>>>>
>>>> > > ----- chen.j.patrick at gmail.com wrote:
>>>> > > >
>>>> > > > Hello ,
>>>> I would like to know from where in the jdk source tree we can found
>>>> classes deals with Xrender
>>>>
>>>> > > >
>>>>
>>>> > > >
>>>> thanks
>>>>
>>>
>>> > >
>>>
>>
>> >
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20170510/34dd09a8/attachment.html>
More information about the awt-dev
mailing list