public static class EGLBase10.EglSurface extends java.lang.Object implements EGLBase.IEglSurface
| Modifier and Type | Method and Description |
|---|---|
EGLBase.IContext |
getContext() |
boolean |
isValid()
EGLSurfaceが有効かどうかを取得
|
void |
makeCurrent()
指定したEGLSurfaceをカレントの描画Surfaceに設定する
Surface全面に描画できるようにViewportも変更するので必要であればswapの後に変更すること
|
void |
release()
破棄処理
|
void |
setPresentationTime(long presentationTimeNs) |
void |
swap()
描画を終了してダブルバッファを切り替える
|
void |
swap(long presentationTimeNs)
swap with presentation time[ns]
only works well now when using EGLBase14
|
public void makeCurrent()
makeCurrent in interface EGLBase.IEglSurfacepublic void swap()
swap in interface EGLBase.IEglSurfacepublic void swap(long presentationTimeNs)
EGLBase.IEglSurfaceswap in interface EGLBase.IEglSurfacepublic EGLBase.IContext getContext()
getContext in interface EGLBase.IEglSurfacepublic void setPresentationTime(long presentationTimeNs)
public boolean isValid()
isValid in interface EGLBase.IEglSurfacepublic void release()
release in interface EGLBase.IEglSurface