Hi Egon
The logcat is being spammed with creating 32768 texture buffer in this version.
I am not seeing any benefits in the GC department I Have turned off mipmap as well.
if (overlayBitmap == null) {
// get a canvas to paint over the overlayBitmap
overlayBitmap = Bitmap.createBitmap(nextPow2(280), nextPow2(64), Bitmap.Config.ARGB_8888);
overlayBitmap.eraseColor(0);
overlayCanvas = new Canvas(overlayBitmap);
overlay = new Texture(Bitmap.createBitmap(overlayBitmap));
overlay.setMipmap(false);
overlay.setEffect(new ITextureEffect() {
@Override
public void init(Texture arg0) {
}
@Override
public boolean containsAlpha() {
return true;
}
@Override
public void apply(int[] dest, int[] src) {
overlayBitmap.getPixels(dest, 0, overlay.getWidth(), 0, 0, overlay.getWidth(),
overlay.getHeight());
}
});
}