public interface IEGLDevice
修飾子とタイプ | メソッドと説明 |
---|---|
boolean |
bind()
GL処理対象としてバインドする
|
void |
createPBufferSurface(int width,
int height)
オフスクリーンレンダリング用のサーフェイスを生成する。
|
void |
dispose()
廃棄処理を行う
|
android.content.Context |
getApplicationContext()
ApplicationContextを取得する
|
android.content.res.AssetManager |
getAssetManager()
AssetManagerを取得する
|
IEGLContextGroup |
getContextGroup()
Context管理グループを取得する
|
int |
getSurfaceHeight()
サーフェイスの大きさをピクセル単位で取得する
|
int |
getSurfaceWidth()
サーフェイスの大きさをピクセル単位で取得する
|
boolean |
hasContext()
レンダリング可能なEGLContextを持っていたらtrue
|
boolean |
hasSurface()
レンダリング対象として有効なEGLSurfaceを持っていればtrue
|
boolean |
hasSurfaceDestroyRequest()
サーフェイスの廃棄リクエストがあるならばtrue
|
boolean |
isBinded()
いずれかのスレッドにバインドされていたらtrue
|
boolean |
isBindedThread()
実行しているスレッドがbindを行ったthreadであればtrueを返す
bindされていない、もしくは別スレッドでbindされていたらfalseを返す。 |
boolean |
isWindowDevice()
ウィンドウデバイスであればtrue
|
void |
onSurfaceChanged(Object nativeWindow,
int newWidth,
int newHeight)
サーフェイスサイズが変更された
|
void |
onSurfaceDestroyed()
サーフェイスが廃棄された
|
void |
swapBuffers()
画面内に情報を反映する
|
void |
unbind()
GL処理対象からアンバインドする
|
boolean bind()
void unbind()
int getSurfaceWidth()
int getSurfaceHeight()
void dispose()
boolean isWindowDevice()
IEGLContextGroup getContextGroup()
boolean isBinded()
boolean isBindedThread()
void createPBufferSurface(int width, int height)
width
- サーフェイスの幅ピクセル数height
- サーフェイスの高さピクセル数void onSurfaceChanged(Object nativeWindow, int newWidth, int newHeight)
nativeWindow
- newWidth
- newHeight
- void onSurfaceDestroyed()
void swapBuffers()
boolean hasSurfaceDestroyRequest()
boolean hasSurface()
boolean hasContext()
android.content.Context getApplicationContext()
android.content.res.AssetManager getAssetManager()