- changed component to Packaging
- marked as enhancement
-
assigned issue to
- changed milestone to R - 01
- changed version to 3.0beta1
Suggestion: Turn on opengl rendering to maximize rendering performance
USE CASE:
Turn on hardware acceleration for graphics rendering**
STEPS TO TRIGGER
Should be automatic
CURRENT BEHAVIOR
opengl is off by default (at least it seems to be on my Ubuntu box)
EXPECTED BEHAVIOR
opengl is on, enabling hardware acceleration of 2d graphics
SUGGESTED CHANGE
See: https://stackoverflow.com/a/13832805/63093
1) So far hardware acceleration is never enabled by default, and to my knowledge it has not changed yet. To activate rendering acceleration pass this arg (-Dsun.java2d.opengl=true) to the Java launcher at program start up, or set it before using any rendering libraries. System.setProperty("sun.java2d.opengl", "true"); It is an optional parameter.
FILES AFFECTED
Either setting a flag in the packaging script, or, better yet, turning on during startup (before any rendering)
LEVEL OF EFFORT
minor
COMMENTS
After some testing, performance did not seem to be affected noticeably (though the first time you run treeview (/java? sometimes?), is seems a bit slow. It then speeds up. So instead of adding it by default (which means we would have to require opengl drivers as a dependency), I added a wiki page instructing people how to turn it on - by supplying the command line flag.
Comments (9)
-
-
- changed status to open
Implementing on branch beta1-release.
-
Waiting from lance to see if this improved his performance (it didn't on my mac - but it looks pretty good already).
-
- edited description
-
- edited description
-
- changed status to resolved
Resolved on beta1-release branch.
-
- changed version to beta1
-
- changed component to Installation, Bundling, & Packaging
-
- changed status to closed
Merged to master.
- Log in to comment