public abstract class MapRenderer extends java.lang.Object implements MapRendererScheduler
MapRenderer encapsulates the GL thread.
Performs actions on the GL thread to manage the GL resources and render on the one end and acts as a scheduler to request work to be performed on the GL thread on the other.
| Constructor and Description |
|---|
MapRenderer(android.content.Context context,
java.lang.String localIdeographFontFamily) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
finalize() |
void |
onDestroy() |
protected void |
onDrawFrame(javax.microedition.khronos.opengles.GL10 gl) |
void |
onPause() |
void |
onResume() |
void |
onStart() |
void |
onStop() |
protected void |
onSurfaceChanged(javax.microedition.khronos.opengles.GL10 gl,
int width,
int height) |
protected void |
onSurfaceCreated(javax.microedition.khronos.opengles.GL10 gl,
javax.microedition.khronos.egl.EGLConfig config) |
void |
setOnFpsChangedListener(DingiMap.OnFpsChangedListener listener) |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitqueueEvent, requestRenderpublic MapRenderer(@NonNull
android.content.Context context,
java.lang.String localIdeographFontFamily)
public void onStart()
public void onPause()
public void onResume()
public void onStop()
public void onDestroy()
public void setOnFpsChangedListener(DingiMap.OnFpsChangedListener listener)
@CallSuper
protected void onSurfaceCreated(javax.microedition.khronos.opengles.GL10 gl,
javax.microedition.khronos.egl.EGLConfig config)
@CallSuper
protected void onSurfaceChanged(@NonNull
javax.microedition.khronos.opengles.GL10 gl,
int width,
int height)
@CallSuper protected void onDrawFrame(javax.microedition.khronos.opengles.GL10 gl)
@CallSuper
protected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwable