Home | History | Annotate | Download | only in rs

Lines Matching full:context

35 pthread_mutex_t Context::gInitMutex = PTHREAD_MUTEX_INITIALIZER;
36 pthread_mutex_t Context::gLibMutex = PTHREAD_MUTEX_INITIALIZER;
38 bool Context::initGLThread() {
51 void Context::deinitEGL() {
55 Context::PushState::PushState(Context *con) {
66 Context::PushState::~PushState() {
77 uint32_t Context::runScript(Script *s) {
84 uint32_t Context::runRootScript() {
94 uint64_t Context::getTime() const {
104 void Context::timerReset() {
110 void Context::timerInit() {
121 void Context::timerFrame() {
136 void Context::timerSet(Timers tm) {
143 void Context::timerPrint() {
165 bool Context::setupCheck() {
175 void Context::setupProgramStore() {
185 void Context::displayDebugStats() {
205 void * Context::threadProc(void *vrsc) {
206 Context *rsc = static_cast<Context *>(vrsc);
299 void Context::destroyWorkerThreadResources() {
322 void Context::printWatchdogInfo(void *ctx) {
323 Context *rsc = (Context *)ctx;
333 void Context::setPriority(int32_t p) {
352 Context::Context() {
365 Context * Context::createContext(Device *dev, const RsSurfaceConfig *sc) {
366 Context * rsc = new Context();
375 Context * Context::createContextLite() {
376 Context * rsc = new Context();
381 bool Context::initContext(Device *dev, const RsSurfaceConfig *sc) {
417 LOGE("Failed to start rs context thread.");
433 Context::~Context() {
434 LOGV("%p Context::~Context", this);
458 LOGV("%p Context::~Context done", this);
461 void Context::setSurface(uint32_t w, uint32_t h, RsNativeWindow sur) {
475 void Context::pause() {
480 void Context::resume() {
485 void Context::setRootScript(Script *s) {
490 void Context::setProgramStore(ProgramStore *pfs) {
499 void Context::setProgramFragment(ProgramFragment *pf) {
508 void Context::setProgramRaster(ProgramRaster *pr) {
517 void Context::setProgramVertex(ProgramVertex *pv) {
526 void Context::setFont(Font *f) {
535 void Context::assignName(ObjectBase *obj, const char *name, uint32_t len) {
541 void Context::removeName(ObjectBase *obj) {
550 RsMessageToClientType Context::peekMessageToClient(size_t *receiveLen, uint32_t *subID) {
554 RsMessageToClientType Context::getMessageToClient(void *data, size_t *receiveLen, uint32_t *subID, size_t bufferLen) {
558 bool Context::sendMessageToClient(const void *data, RsMessageToClientType cmdID,
564 void Context::initToClient() {
570 void Context::deinitToClient() {
574 void Context::setError(RsError e, const char *msg) const {
580 void Context::dumpDebug() const {
581 LOGE("RS Context debug %p", this);
582 LOGE("RS Context debug");
595 void rsi_ContextFinish(Context *rsc) {
598 void rsi_ContextBindRootScript(Context *rsc, RsScript vs) {
603 void rsi_ContextBindSampler(Context *rsc, uint32_t slot, RsSampler vs) {
614 void rsi_ContextBindProgramStore(Context *rsc, RsProgramStore vpfs) {
619 void rsi_ContextBindProgramFragment(Context *rsc, RsProgramFragment vpf) {
624 void rsi_ContextBindProgramRaster(Context *rsc, RsProgramRaster vpr) {
629 void rsi_ContextBindProgramVertex(Context *rsc, RsProgramVertex vpv) {
634 void rsi_ContextBindFont(Context *rsc, RsFont vfont) {
639 void rsi_AssignName(Context *rsc, RsObjectBase obj, const char *name, size_t name_length) {
644 void rsi_ObjDestroy(Context *rsc, void *optr) {
650 void rsi_ContextPause(Context *rsc) {
654 void rsi_ContextResume(Context *rsc) {
658 void rsi_ContextSetSurface(Context *rsc, uint32_t w, uint32_t h, RsNativeWindow sur) {
662 void rsi_ContextSetPriority(Context *rsc, int32_t p) {
666 void rsi_ContextDump(Context *rsc, int32_t bits) {
670 void rsi_ContextDestroyWorker(Context *rsc) {
674 void rsi_ContextDestroy(Context *rsc) {
682 RsMessageToClientType rsi_ContextPeekMessage(Context *rsc,
688 RsMessageToClientType rsi_ContextGetMessage(Context *rsc, void * data, size_t data_length,
696 void rsi_ContextInitToClient(Context *rsc) {
700 void rsi_ContextDeinitToClient(Context *rsc) {
711 Context *rsc = Context::createContext(dev, NULL);
723 Context *rsc = Context::createContext(dev, &sc);