Forked from finalfantasia/improving_text_antialiasing_and_gui_performance_in_intellij_idea_on_openjdk_8.md
Last active
August 29, 2015 14:09
-
-
Save cemo/5bdd50dbe8a4341439a3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is a list of tweaks to make IntelliJ IDEA work better with OpenJDK 8 (64-bit). Refer to https://docs.oracle.com/javase/8/docs/technotes/guides/2d/flags.html for the details of the options used below. | |
Note that, the performance boost achieved via the OpenGL-based pipeline is made possible by using the latest version (e.g., mesa-dri-drivers-10.3.2-1.20141028.fc21.x86_64) of the open-source Radeon driver (for ATi graphics cards). This might vary based on the types of graphics cards and drivers. | |
1. Text Anti-aliasing | |
In $IDEA_HOME/bin/idea64.vmoptions, change | |
-Dawt.useSystemAAFontSettings=lcd | |
to | |
-Dawt.useSystemAAFontSettings=on | |
2. Improve GUI Performance (Java2D) by switching to OpenGL Hardware Acceleration Pipeline | |
In $IDEA_HOME/bin/idea.properties, add the following: | |
#--------------------------------------------------------------------- | |
# Enable the OpenGL-based pipeline, which provides hardware acceleration. | |
#--------------------------------------------------------------------- | |
sun.java2d.opengl=true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment