Bug 1507 - Some pixels are chipping when drawing GLJPanel in high-resolution environments
Summary: Some pixels are chipping when drawing GLJPanel in high-resolution environments
Status: UNCONFIRMED
Alias: None
Product: Jogl
Classification: JogAmp
Component: awt (show other bugs)
Version: 2.5.0
Hardware: pc_x86_64 windows
: P4 normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2024-05-14 12:09 CEST by Daisuke Urano
Modified: 2024-05-14 12:14 CEST (History)
0 users

See Also:
Type: DEFECT
SCM Refs:
Workaround: ---


Attachments
test project (62.71 KB, application/zip)
2024-05-14 12:09 CEST, Daisuke Urano
Details
test image (13.95 KB, image/png)
2024-05-14 12:11 CEST, Daisuke Urano
Details
runtime version (21.04 KB, text/plain)
2024-05-14 12:14 CEST, Daisuke Urano
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daisuke Urano 2024-05-14 12:09:27 CEST
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.
Comment 1 Daisuke Urano 2024-05-14 12:11:37 CEST
Created attachment 892 [details]
test image
Comment 2 Daisuke Urano 2024-05-14 12:14:39 CEST
Created attachment 893 [details]
runtime version