+// Copyright 2000-2005 the Contributors, as shown in the revision logs.
+// Licensed under the Apache Public Source License 2.0 ("the License").
+// You may not use this file except in compliance with the License.
+
package tests;
import org.ibex.nestedvm.Runtime;
}
rt.copyout(b,stringAddr,b.length);
long start = System.currentTimeMillis();
- if(rt.call("render",stringAddr,size,renderAddr,OURWIDTH,OURHEIGHT,BASELINE)==0) throw new Error("render() failed");
+ if(rt.call("render",new int[]{stringAddr,size,renderAddr,OURWIDTH,OURHEIGHT,BASELINE})==0)
+ throw new Error("render() failed");
System.out.println(name + ": Render of: " + s + " took " + (System.currentTimeMillis()-start) + " ms");
rt.copyin(renderAddr,render,render.length);
createImage();