-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
7u6
-
Windows 7, ATI Radeon HD 3470.
-----------------
Prism pipeline init order: d3d j2d
Using t2k for text rasterization
Using dirty region optimizations
Prism pipeline name = com.sun.prism.d3d.D3DPipeline
Loading D3D native library ...
succeeded.
Direct3D initialization succeeded
(X) Got class = class com.sun.prism.d3d.D3DPipeline
Initialized prism pipeline: com.sun.prism.d3d.D3DPipeline
Maximum supported texture size: 8192
OS Information:
Maximum texture size clamped to 4096
Windows 7 build 7601
D3D Driver Information:
ATI Radeon HD 3470 - Dell Optiplex
\\.\DISPLAY2
Driver atiumd64.dll, version 8.14.10.716
Pixel Shader version 3.0
Device : ven_1002, dev_95C0, subsys_32431028
RESIZE: 3575008514889 w: 800 h: 600
RESIZE: 3581418197356 w: 1600 h: 1138
RESIZE: 3584019893097 w: 800 h: 600Windows 7, ATI Radeon HD 3470. ----------------- Prism pipeline init order: d3d j2d Using t2k for text rasterization Using dirty region optimizations Prism pipeline name = com.sun.prism.d3d.D3DPipeline Loading D3D native library ... succeeded. Direct3D initialization succeeded (X) Got class = class com.sun.prism.d3d.D3DPipeline Initialized prism pipeline: com.sun.prism.d3d.D3DPipeline Maximum supported texture size: 8192 OS Information: Maximum texture size clamped to 4096 Windows 7 build 7601 D3D Driver Information: ATI Radeon HD 3470 - Dell Optiplex \\.\DISPLAY2 Driver atiumd64.dll, version 8.14.10.716 Pixel Shader version 3.0 Device : ven_1002, dev_95C0, subsys_32431028 RESIZE: 3575008514889 w: 800 h: 600 RESIZE: 3581418197356 w: 1600 h: 1138 RESIZE: 3584019893097 w: 800 h: 600
The animation runs at a good frame rate with fullspeed=true (around ~530 fps). However, when I maximize the application window, the frame rate drops to ~150 fps, even though the effective area of animation hasn't changed. This seems to suggest to me that the entire window is repainted every time, although prism.showdirty=true shows that the dirty regions are calculated properly. This behaviour happens both using the d3d renderer as well as using the j2d renderer.
This seems like a bug to me, although to be honest I'm not quite sure what the reason is. On a side note, with a maximized window I'm seeing choppy animation on my screen, much worse than should be possible with the reported FPS (I should not be able to tell the difference between 500 and 150 fps, right?). This could all be an artifact of my GPU and/or driver but then why does it also happen with the software renderer?
I've attached a NetBeans project (with a runnable .jar inside) that exhibits the problem.
- duplicates
-
JDK-8091385 PresentingPainter and UploadingPainter disregarding dirty clip rect
- Open
-
JDK-8100879 Performance degrades in case window size is increased but the dirty area remains the same
- Closed