public void onDrawFrame() { frametime = System.currentTimeMillis(); rerender = false; mMap.beginFrame(); draw(); mMap.doneFrame(rerender); mBufferPool.releaseBuffers(); TextureItem.disposeTextures(); }
public static ShortBuffer getShortBuffer(int size) { return mBufferPool.getShortBuffer(size); }
public static IntBuffer getIntBuffer(int size) { return mBufferPool.getIntBuffer(size); }
public static FloatBuffer getFloatBuffer(int size) { return mBufferPool.getFloatBuffer(size); }