public abstract class EglTask extends MessageTask
MessageTask.Request, MessageTask.TaskBreak| Modifier and Type | Field and Description |
|---|---|
static int |
EGL_FLAG_DEPTH_BUFFER |
static int |
EGL_FLAG_RECORDABLE |
static int |
EGL_FLAG_STENCIL_1BIT |
static int |
EGL_FLAG_STENCIL_8BIT |
REQUEST_TASK_NON, REQUEST_TASK_QUIT, REQUEST_TASK_RUN, REQUEST_TASK_RUN_AND_WAIT, REQUEST_TASK_START| Constructor and Description |
|---|
EglTask(EGLBase.IContext sharedContext,
int flags) |
EglTask(int maxClientVersion,
EGLBase.IContext sharedContext,
int flags) |
| Modifier and Type | Method and Description |
|---|---|
protected EGLBase.IConfig |
getConfig() |
protected EGLBase.IContext |
getContext() |
protected EGLBase |
getEgl() |
protected EGLBase.IContext |
getEGLContext() |
protected boolean |
isGLES3() |
protected void |
makeCurrent() |
protected void |
onBeforeStop()
onStopの直前に呼び出される, interruptされた時は呼び出されない
|
protected void |
onInit(int flags,
int maxClientVersion,
java.lang.Object sharedContext)
初期化処理
|
protected void |
onRelease()
onStop後に呼び出される。
|
protected MessageTask.Request |
takeRequest()
要求メッセージを取り出す処理(要求メッセージがなければブロックされる)
|
callOnError, init, isFinished, isRunning, obtain, offer, offer, offer, offer, offer, offer, offerAndWait, offerFirst, onError, onStart, onStop, processRequest, queueEvent, release, release, releaseSelf, removeRequest, removeRequest, run, userBreak, waitReadypublic static final int EGL_FLAG_DEPTH_BUFFER
public static final int EGL_FLAG_RECORDABLE
public static final int EGL_FLAG_STENCIL_1BIT
public static final int EGL_FLAG_STENCIL_8BIT
public EglTask(EGLBase.IContext sharedContext, int flags)
public EglTask(int maxClientVersion,
EGLBase.IContext sharedContext,
int flags)
protected void onInit(int flags,
int maxClientVersion,
java.lang.Object sharedContext)
MessageTaskonInit in class MessageTaskflags - maxClientVersion - sharedContext - protected MessageTask.Request takeRequest() throws java.lang.InterruptedException
MessageTasktakeRequest in class MessageTaskjava.lang.InterruptedExceptionprotected void onBeforeStop()
MessageTaskonBeforeStop in class MessageTaskprotected void onRelease()
MessageTaskonRelease in class MessageTaskprotected EGLBase getEgl()
protected EGLBase.IContext getEGLContext()
protected EGLBase.IConfig getConfig()
protected EGLBase.IContext getContext()
protected void makeCurrent()
protected boolean isGLES3()