At least add a fastAA property (#6058)
Since my other pr will never get merged, i will at least add this so i can use it myself
This commit is contained in:
@@ -17,7 +17,7 @@ def doAntialias = !project.hasProperty("disableAntialias")
|
|||||||
def colorMap = new IntMap<List<Color>>(), colorIndexMap = new IntIntMap()
|
def colorMap = new IntMap<List<Color>>(), colorIndexMap = new IntIntMap()
|
||||||
//on my machine, I have a native Nim AA implementation that is ~10x faster
|
//on my machine, I have a native Nim AA implementation that is ~10x faster
|
||||||
//it's not compiled for other platforms so they don't get it
|
//it's not compiled for other platforms so they don't get it
|
||||||
def useFastAA = System.getProperty("user.name") == "anuke"
|
def useFastAA = project.hasProperty("fastAA") || System.getProperty("user.name") == "anuke"
|
||||||
|
|
||||||
def transformColors = { List<List<String>> list ->
|
def transformColors = { List<List<String>> list ->
|
||||||
list.each{ colors ->
|
list.each{ colors ->
|
||||||
@@ -281,4 +281,4 @@ task updateScripts(dependsOn: classes, type: JavaExec){
|
|||||||
classpath = sourceSets.main.runtimeClasspath
|
classpath = sourceSets.main.runtimeClasspath
|
||||||
standardInput = System.in
|
standardInput = System.in
|
||||||
workingDir = "../"
|
workingDir = "../"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user