changeset 5893:9dddbaefd1eb

Fix RT-34663: Adjust prism texture pool limits for desktop and embedded Reviewed by: kcr
author flar <James.Graham@oracle.com>
date Tue, 03 Dec 2013 15:01:19 -0800
parents b2c1717cfabe
children 7453c535525d
files buildSrc/armv6hf.gradle buildSrc/armv6sf.gradle modules/graphics/src/main/java/com/sun/prism/impl/PrismSettings.java
diffstat 3 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/buildSrc/armv6hf.gradle	Tue Dec 03 17:29:02 2013 -0500
+++ b/buildSrc/armv6hf.gradle	Tue Dec 03 15:01:19 2013 -0800
@@ -193,6 +193,8 @@
 eglfb.prism.order=es2
 eglfb.prism.eglfb=true
 eglfb.prism.lcdtext=false
+eglfb.prism.maxvram=128m
+eglfb.prism.targetvram=112m
 eglfb.use.egl=true
 eglfb.use.gles2=true
 eglfb.embedded=eglfb
@@ -211,6 +213,8 @@
 eglx11.prism.order=es2
 eglx11.prism.eglx11=true
 eglx11.prism.lcdtext=false
+eglx11.prism.maxvram=128m
+eglx11.prism.targetvram=112m
 eglx11.use.egl=true
 eglx11.use.gles2=true
 eglx11.embedded=eglx11
--- a/buildSrc/armv6sf.gradle	Tue Dec 03 17:29:02 2013 -0500
+++ b/buildSrc/armv6sf.gradle	Tue Dec 03 15:01:19 2013 -0800
@@ -212,6 +212,8 @@
 eglfb.prism.order=es2
 eglfb.prism.eglfb=true
 eglfb.prism.lcdtext=false
+eglfb.prism.maxvram=128m
+eglfb.prism.targetvram=112m
 eglfb.use.egl=true
 eglfb.doNativeComposite=true
 eglfb.use.gles2=true
@@ -230,6 +232,8 @@
 eglx11.prism.order=es2
 eglx11.prism.eglx11=true
 eglx11.prism.lcdtext=false
+eglx11.prism.maxvram=128m
+eglx11.prism.targetvram=112m
 eglx11.use.egl=true
 eglx11.use.gles2=true
 eglx11.embedded=eglx11
--- a/modules/graphics/src/main/java/com/sun/prism/impl/PrismSettings.java	Tue Dec 03 17:29:02 2013 -0500
+++ b/modules/graphics/src/main/java/com/sun/prism/impl/PrismSettings.java	Tue Dec 03 15:01:19 2013 -0800
@@ -253,7 +253,7 @@
         allowHiDPIScaling = getBoolean(systemProperties, "prism.allowhidpi", true);
 
         maxVram = getLong(systemProperties, "prism.maxvram", 256 * 1024 * 1024, null);
-        targetVram = getLong(systemProperties, "prism.targetvram", maxVram / 2, null);
+        targetVram = getLong(systemProperties, "prism.targetvram", maxVram * 3 / 4, null);
         poolStats = getBoolean(systemProperties, "prism.poolstats", false);
         poolDebug = getBoolean(systemProperties, "prism.pooldebug", false);