Summary: | Some pixels are chipping when drawing GLJPanel in high-resolution environments | ||
---|---|---|---|
Product: | [JogAmp] Jogl | Reporter: | Daisuke Urano <urano> |
Component: | awt | Assignee: | Sven Gothel <sgothel> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | 2.5.0 | ||
Hardware: | pc_x86_64 | ||
OS: | windows | ||
Type: | DEFECT | SCM Refs: | |
Workaround: | --- | ||
Attachments: |
test project
test image runtime version |
Created attachment 892 [details]
test image
Created attachment 893 [details]
runtime version
|
Created attachment 891 [details] test project How to reproduce. 1. Open the OS display settings and set the display scaling to 125%. 2. Execute MyFrame#main in the test project and place the generated window on the display for which you set the scale in step 1. 3. Select "File"->"Open" from the menu and open the test image. 4. Change the width of the window generated in step 2. In step 3, the test image is scaled to fit the window size while maintaining the aspect ratio. In step 4, diagonal lines may appear chipping around the middle of the window. (It looks like when texture MinFilter and MagFilter are set to Nearest.) This does not happen when the display scaling is set to 100%. In GLJPanel#paintComponent, when the texture filter is set to VALUE_INTERPOLATION_BILINEAR, the chipping disappears.