Lines Matching refs:Context

45 pthread_mutex_t Context::gInitMutex = PTHREAD_MUTEX_INITIALIZER;
46 pthread_mutex_t Context::gMessageMutex = PTHREAD_MUTEX_INITIALIZER;
47 pthread_mutex_t Context::gLibMutex = PTHREAD_MUTEX_INITIALIZER;
49 bool Context::initGLThread() { in initGLThread()
64 void Context::deinitEGL() { in deinitEGL()
70 Context::PushState::PushState(Context *con) { in PushState()
83 Context::PushState::~PushState() { in ~PushState()
96 uint32_t Context::runScript(Script *s) { in runScript()
103 uint32_t Context::runRootScript() { in runRootScript()
115 uint64_t Context::getTime() const { in getTime()
121 void Context::timerReset() { in timerReset()
127 void Context::timerInit() { in timerInit()
138 void Context::timerFrame() { in timerFrame()
153 void Context::timerSet(Timers tm) { in timerSet()
160 void Context::timerPrint() { in timerPrint()
183 bool Context::setupCheck() { in setupCheck()
195 void Context::setupProgramStore() { in setupProgramStore()
210 void Context::displayDebugStats() { in displayDebugStats()
233 void * Context::threadProc(void *vrsc) { in threadProc()
234 Context *rsc = static_cast<Context *>(vrsc); in threadProc()
364 void Context::destroyWorkerThreadResources() { in destroyWorkerThreadResources()
389 void Context::printWatchdogInfo(void *ctx) { in printWatchdogInfo()
390 Context *rsc = (Context *)ctx; in printWatchdogInfo()
400 void Context::setPriority(int32_t p) { in setPriority()
426 Context::Context() { in Context() function in android::renderscript::Context
451 void Context::setCacheDir(const char * cacheDir_arg, uint32_t length) { in setCacheDir()
461 Context * Context::createContext(Device *dev, const RsSurfaceConfig *sc, in createContext()
464 Context * rsc = new Context(); in createContext()
484 Context * Context::createContextLite() { in createContextLite()
485 Context * rsc = new Context(); in createContextLite()
490 bool Context::initContext(Device *dev, const RsSurfaceConfig *sc) { in initContext()
553 Context::~Context() { in ~Context()
574 void Context::setSurface(uint32_t w, uint32_t h, RsNativeWindow sur) { in setSurface()
588 uint32_t Context::getCurrentSurfaceWidth() const { in getCurrentSurfaceWidth()
600 uint32_t Context::getCurrentSurfaceHeight() const { in getCurrentSurfaceHeight()
612 void Context::pause() { in pause()
617 void Context::resume() { in resume()
622 void Context::setRootScript(Script *s) { in setRootScript()
627 void Context::setProgramStore(ProgramStore *pfs) { in setProgramStore()
636 void Context::setProgramFragment(ProgramFragment *pf) { in setProgramFragment()
645 void Context::setProgramRaster(ProgramRaster *pr) { in setProgramRaster()
654 void Context::setProgramVertex(ProgramVertex *pv) { in setProgramVertex()
663 void Context::setFont(Font *f) { in setFont()
673 void Context::finish() { in finish()
679 void Context::assignName(ObjectBase *obj, const char *name, uint32_t len) { in assignName()
685 void Context::removeName(ObjectBase *obj) { in removeName()
694 RsMessageToClientType Context::peekMessageToClient(size_t *receiveLen, uint32_t *subID) { in peekMessageToClient()
698 RsMessageToClientType Context::getMessageToClient(void *data, size_t *receiveLen, uint32_t *subID, … in getMessageToClient()
702 bool Context::sendMessageToClient(const void *data, RsMessageToClientType cmdID, in sendMessageToClient()
711 void Context::initToClient() { in initToClient()
717 void Context::deinitToClient() { in deinitToClient()
721 void Context::setError(RsError e, const char *msg) const { in setError()
734 void Context::dumpDebug() const { in dumpDebug()
746 void rsi_ContextFinish(Context *rsc) { in rsi_ContextFinish()
750 void rsi_ContextBindRootScript(Context *rsc, RsScript vs) { in rsi_ContextBindRootScript()
757 void rsi_ContextSetCacheDir(Context *rsc, const char *cacheDir, size_t cacheDir_length) { in rsi_ContextSetCacheDir()
761 void rsi_ContextBindSampler(Context *rsc, uint32_t slot, RsSampler vs) { in rsi_ContextBindSampler()
773 void rsi_ContextBindProgramStore(Context *rsc, RsProgramStore vpfs) { in rsi_ContextBindProgramStore()
778 void rsi_ContextBindProgramFragment(Context *rsc, RsProgramFragment vpf) { in rsi_ContextBindProgramFragment()
783 void rsi_ContextBindProgramRaster(Context *rsc, RsProgramRaster vpr) { in rsi_ContextBindProgramRaster()
788 void rsi_ContextBindProgramVertex(Context *rsc, RsProgramVertex vpv) { in rsi_ContextBindProgramVertex()
793 void rsi_ContextBindFont(Context *rsc, RsFont vfont) { in rsi_ContextBindFont()
799 void rsi_AssignName(Context *rsc, RsObjectBase obj, const char *name, size_t name_length) { in rsi_AssignName()
804 void rsi_ObjDestroy(Context *rsc, void *optr) { in rsi_ObjDestroy()
811 void rsi_ContextPause(Context *rsc) { in rsi_ContextPause()
815 void rsi_ContextResume(Context *rsc) { in rsi_ContextResume()
819 void rsi_ContextSetSurface(Context *rsc, uint32_t w, uint32_t h, RsNativeWindow sur) { in rsi_ContextSetSurface()
824 void rsi_ContextSetPriority(Context *rsc, int32_t p) { in rsi_ContextSetPriority()
828 void rsi_ContextDump(Context *rsc, int32_t bits) { in rsi_ContextDump()
832 void rsi_ContextDestroyWorker(Context *rsc) { in rsi_ContextDestroyWorker()
836 void rsi_ContextDestroy(Context *rsc) { in rsi_ContextDestroy()
843 RsMessageToClientType rsi_ContextPeekMessage(Context *rsc, in rsi_ContextPeekMessage()
849 RsMessageToClientType rsi_ContextGetMessage(Context *rsc, void * data, size_t data_length, in rsi_ContextGetMessage()
857 void rsi_ContextInitToClient(Context *rsc) { in rsi_ContextInitToClient()
861 void rsi_ContextDeinitToClient(Context *rsc) { in rsi_ContextDeinitToClient()
865 void rsi_ContextSendMessage(Context *rsc, uint32_t id, const uint8_t *data, size_t len) { in rsi_ContextSendMessage()
871 void LF_ObjDestroy_handcode(const Context *rsc, RsAsyncVoidPtr objPtr) { in LF_ObjDestroy_handcode()
872 if (((Context *)rsc)->isSynchronous()) { in LF_ObjDestroy_handcode()
873 rsi_ObjDestroy((Context *)rsc, objPtr); in LF_ObjDestroy_handcode()
890 ThreadIO *io = &((Context *)rsc)->mIO; in LF_ObjDestroy_handcode()