Lines Matching refs:Context

60 pthread_mutex_t Context::gInitMutex = PTHREAD_MUTEX_INITIALIZER;
61 pthread_mutex_t Context::gMessageMutex = PTHREAD_MUTEX_INITIALIZER;
62 pthread_mutex_t Context::gLibMutex = PTHREAD_MUTEX_INITIALIZER;
64 bool Context::initGLThread() { in initGLThread()
77 void Context::deinitEGL() { in deinitEGL()
83 Context::PushState::PushState(Context *con) { in PushState()
96 Context::PushState::~PushState() { in ~PushState()
109 uint32_t Context::runScript(Script *s) { in runScript()
116 uint32_t Context::runRootScript() { in runRootScript()
128 uint64_t Context::getTime() const { in getTime()
138 void Context::timerReset() { in timerReset()
144 void Context::timerInit() { in timerInit()
155 void Context::timerFrame() { in timerFrame()
170 void Context::timerSet(Timers tm) { in timerSet()
177 void Context::timerPrint() { in timerPrint()
200 bool Context::setupCheck() { in setupCheck()
212 void Context::setupProgramStore() { in setupProgramStore()
227 void Context::displayDebugStats() { in displayDebugStats()
249 void * Context::threadProc(void *vrsc) { in threadProc()
250 Context *rsc = static_cast<Context *>(vrsc); in threadProc()
385 void Context::destroyWorkerThreadResources() { in destroyWorkerThreadResources()
410 void Context::printWatchdogInfo(void *ctx) { in printWatchdogInfo()
411 Context *rsc = (Context *)ctx; in printWatchdogInfo()
421 void Context::setPriority(int32_t p) { in setPriority()
448 Context::Context() { in Context() function in Context
471 void Context::setCacheDir(const char * cacheDir_arg, uint32_t length) { in setCacheDir()
483 void Context::waitForDebugger() { in waitForDebugger()
489 Context * Context::createContext(Device *dev, const RsSurfaceConfig *sc, in createContext()
491 Context * rsc = new Context(); in createContext()
514 Context * Context::createContextLite() { in createContextLite()
515 Context * rsc = new Context(); in createContextLite()
520 bool Context::initContext(Device *dev, const RsSurfaceConfig *sc) { in initContext()
581 Context::~Context() { in ~Context()
610 void Context::setSurface(uint32_t w, uint32_t h, RsNativeWindow sur) { in setSurface()
624 uint32_t Context::getCurrentSurfaceWidth() const { in getCurrentSurfaceWidth()
636 uint32_t Context::getCurrentSurfaceHeight() const { in getCurrentSurfaceHeight()
648 void Context::pause() { in pause()
653 void Context::resume() { in resume()
658 void Context::setRootScript(Script *s) { in setRootScript()
663 void Context::setProgramStore(ProgramStore *pfs) { in setProgramStore()
672 void Context::setProgramFragment(ProgramFragment *pf) { in setProgramFragment()
681 void Context::setProgramRaster(ProgramRaster *pr) { in setProgramRaster()
690 void Context::setProgramVertex(ProgramVertex *pv) { in setProgramVertex()
699 void Context::setFont(Font *f) { in setFont()
709 void Context::finish() { in finish()
715 void Context::assignName(ObjectBase *obj, const char *name, uint32_t len) { in assignName()
721 void Context::removeName(ObjectBase *obj) { in removeName()
730 RsMessageToClientType Context::peekMessageToClient(size_t *receiveLen, uint32_t *subID) { in peekMessageToClient()
734 RsMessageToClientType Context::getMessageToClient(void *data, size_t *receiveLen, uint32_t *subID, … in getMessageToClient()
738 bool Context::sendMessageToClient(const void *data, RsMessageToClientType cmdID, in sendMessageToClient()
747 void Context::initToClient() { in initToClient()
753 void Context::deinitToClient() { in deinitToClient()
757 void Context::setError(RsError e, const char *msg) const { in setError()
770 void Context::dumpDebug() const { in dumpDebug()
785 void rsi_ContextFinish(Context *rsc) { in rsi_ContextFinish()
789 void rsi_ContextBindRootScript(Context *rsc, RsScript vs) { in rsi_ContextBindRootScript()
796 void rsi_ContextSetCacheDir(Context *rsc, const char *cacheDir, size_t cacheDir_length) { in rsi_ContextSetCacheDir()
800 void rsi_ContextBindSampler(Context *rsc, uint32_t slot, RsSampler vs) { in rsi_ContextBindSampler()
812 void rsi_ContextBindProgramStore(Context *rsc, RsProgramStore vpfs) { in rsi_ContextBindProgramStore()
817 void rsi_ContextBindProgramFragment(Context *rsc, RsProgramFragment vpf) { in rsi_ContextBindProgramFragment()
822 void rsi_ContextBindProgramRaster(Context *rsc, RsProgramRaster vpr) { in rsi_ContextBindProgramRaster()
827 void rsi_ContextBindProgramVertex(Context *rsc, RsProgramVertex vpv) { in rsi_ContextBindProgramVertex()
832 void rsi_ContextBindFont(Context *rsc, RsFont vfont) { in rsi_ContextBindFont()
838 void rsi_AssignName(Context *rsc, RsObjectBase obj, const char *name, size_t name_length) { in rsi_AssignName()
843 void rsi_ObjDestroy(Context *rsc, void *optr) { in rsi_ObjDestroy()
850 void rsi_ContextPause(Context *rsc) { in rsi_ContextPause()
854 void rsi_ContextResume(Context *rsc) { in rsi_ContextResume()
858 void rsi_ContextSetSurface(Context *rsc, uint32_t w, uint32_t h, RsNativeWindow sur) { in rsi_ContextSetSurface()
863 void rsi_ContextSetPriority(Context *rsc, int32_t p) { in rsi_ContextSetPriority()
867 void rsi_ContextDump(Context *rsc, int32_t bits) { in rsi_ContextDump()
871 void rsi_ContextDestroyWorker(Context *rsc) { in rsi_ContextDestroyWorker()
875 void rsi_ContextDestroy(Context *rsc) { in rsi_ContextDestroy()
882 RsMessageToClientType rsi_ContextPeekMessage(Context *rsc, in rsi_ContextPeekMessage()
888 RsMessageToClientType rsi_ContextGetMessage(Context *rsc, void * data, size_t data_length, in rsi_ContextGetMessage()
896 void rsi_ContextInitToClient(Context *rsc) { in rsi_ContextInitToClient()
900 void rsi_ContextDeinitToClient(Context *rsc) { in rsi_ContextDeinitToClient()
904 void rsi_ContextSendMessage(Context *rsc, uint32_t id, const uint8_t *data, size_t len) { in rsi_ContextSendMessage()
910 void LF_ObjDestroy_handcode(const Context *rsc, RsAsyncVoidPtr objPtr) { in LF_ObjDestroy_handcode()
911 if (((Context *)rsc)->isSynchronous()) { in LF_ObjDestroy_handcode()
912 rsi_ObjDestroy((Context *)rsc, objPtr); in LF_ObjDestroy_handcode()
929 ThreadIO *io = &((Context *)rsc)->mIO; in LF_ObjDestroy_handcode()
941 Context *rsc = Context::createContext(dev, nullptr, ct, flags); in rsContextCreate()
950 Context *rsc = static_cast<Context *>(con); in rsaContextSetNativeLibDir()
961 Context *rsc = Context::createContext(dev, &sc); in rsContextCreateGL()