-
Bug
-
Resolution: Fixed
-
P4
-
6
-
b06
-
x86
-
windows_xp
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2165087 | 7 | Dmitri Trembovetski | P4 | Closed | Fixed | b33 |
I am capturing the desktop using Robot.createScreenCapture() and performing some transformations such as rotation and scaling on that image. I am using a BufferStrategy to render the transformed image onto a canvas. The performance is noticeably slow when using the image returned by Robot as is but when I copy the screenshot into another buffered image, the app flies.
We should see if we can accelerate the Robot returned image, by some means.
Run the attached test to see the performance of a screen-captured image. I have currently commented out the code that copies the Robot's image into another buffered image. You can uncomment the same and see the difference.
We should see if we can accelerate the Robot returned image, by some means.
Run the attached test to see the performance of a screen-captured image. I have currently commented out the code that copies the Robot's image into another buffered image. You can uncomment the same and see the difference.
- backported by
-
JDK-2165087 Robot's screen captured image is not accelerated
- Closed
- relates to
-
JDK-6725214 D3D: forward-port the new pipeline from 6u10
- Closed
-
JDK-6615272 D3D: Some images loaded via Toolkit or ImageIcon can't be accelerated
- Closed