Home
last modified time | relevance | path

Searched refs:context_ (Results 1 – 7 of 7) sorted by relevance

/device/google/cuttlefish/host/frontend/webrtc/
Dclient_server.cpp56 context_(context), in ClientFilesServer()
65 if (context_) { in ~ClientFilesServer()
67 lws_context_destroy(context_); in ~ClientFilesServer()
89 return lws_get_vhost_listen_port(lws_get_vhost_by_name(context_, "default")); in port()
94 if (lws_service(context_, 0) < 0) { in Serve()
Dclient_server.h43 lws_context* context_; variable
/device/google/cuttlefish/host/frontend/webrtc/libdevice/
Dserver_connection.cpp113 std::shared_ptr<WsConnectionContext> context_; member in cuttlefish::webrtc_streaming::WsConnection
419 context_(context) {} in WsConnection()
422 context_->ForgetConnection(this); in ~WsConnection()
431 lws_sul_schedule(context_->lws_context(), 0, &extended_sul_.sul, in Connect()
570 connect_info.context = context_->lws_context(); in ConnectInner()
596 connect_info.userdata = context_.get(); in ConnectInner()
602 context_->RememberConnection(wsi_, weak_from_this()); in ConnectInner()
/device/generic/opengl-transport/host/libs/virglrenderer/
DRenderControl.cpp407 EGLContext context_ = in rcCreateContext() local
409 if (context_ == EGL_NO_CONTEXT) in rcCreateContext()
413 EglContext(context_, rc->ctx->handle, (enum EglContext::GLESApi)glVersion); in rcCreateContext()
415 s_egl.eglDestroyContext(rc->dpy, context_); in rcCreateContext()
535 static EGLint rcMakeCurrent(void* ctx_, uint32_t context_, uint32_t drawSurf, uint32_t readSurf) { in rcMakeCurrent() argument
537 context_it = EglContext::map.find(context_); in rcMakeCurrent()
704 static uint32_t rcCreateClientImage(void* ctx_, uint32_t context_, EGLenum target, GLuint buffer_) { in rcCreateClientImage() argument
706 it = EglContext::map.find(context_); in rcCreateClientImage()
DEglContext.h35 EglContext(EGLContext context_, uint32_t ctx_, GLESApi api_) in EglContext()
36 : create_ctx(ctx_), context(context_), api(api_), id(nextId++) { in EglContext()
/device/google/cuttlefish/host/libs/websocket/
Dwebsocket_server.cpp219 context_ = lws_create_context(&info); in InitializeLwsObjects()
220 if (!context_) { in InitializeLwsObjects()
241 n = lws_service(context_, 0); in Serve()
243 lws_context_destroy(context_); in Serve()
Dwebsocket_server.h84 struct lws_context* context_; variable