Beispiel #1
0
  public void onDrawFrame() {
    frametime = System.currentTimeMillis();
    rerender = false;

    mMap.beginFrame();

    draw();

    mMap.doneFrame(rerender);

    mBufferPool.releaseBuffers();
    TextureItem.disposeTextures();
  }
Beispiel #2
0
 public static ShortBuffer getShortBuffer(int size) {
   return mBufferPool.getShortBuffer(size);
 }
Beispiel #3
0
 public static IntBuffer getIntBuffer(int size) {
   return mBufferPool.getIntBuffer(size);
 }
Beispiel #4
0
 public static FloatBuffer getFloatBuffer(int size) {
   return mBufferPool.getFloatBuffer(size);
 }