Lines Matching defs:Context
39 struct Context { struct
40 static std::map<uint32_t, Context*> map; argument
42 Context(uint32_t handle_, const char* name_, uint32_t nlen_, PFNSUBMITCMD pfnProcessCmd_, in Context() argument
50 ~Context() { in ~Context() argument
61 Context* bind(EglContext* ctx_) { in bind() argument
80 worker = std::thread(&Context::worker_func, this); in setPidTid() argument
86 void submitCommand(void* buf, size_t bufSize) { in submitCommand()
111 EglContext* ctx = nullptr; argument
112 std::thread worker;
113 std::string name;
114 uint32_t handle;
115 GLESv1 gles1;
116 GLESv3 gles3;
117 int pid = 0;
118 int tid = 0;
122 PFNSUBMITCMD pfnProcessCmd;
123 bool killWorker = false;
124 size_t cmdBufSize;
125 char* cmdBuf;
126 std::mutex m;
127 int fence;
129 void reset() { in reset()
135 void worker_func() { in worker_func()
145 void processCmd() { in processCmd()