Searched refs:EglContext (Results 1 – 5 of 5) sorted by relevance
24 struct EglContext { struct32 static std::map<uint32_t, EglContext*> map; argument35 EglContext(EGLContext context_, uint32_t ctx_, GLESApi api_) in EglContext() function40 ~EglContext() { in ~EglContext() argument44 EglContext* bind(uint32_t ctx_) { in bind() argument45 for (auto const& it : EglContext::map) { in bind()46 EglContext* ctx = it.second; in bind()
262 case EglContext::GLESApi::GLESApi_CM: in rcGetGLString()373 case EglContext::GLESApi::GLESApi_CM: in rcCreateContext()377 case EglContext::GLESApi::GLESApi_2: in rcCreateContext()380 case EglContext::GLESApi::GLESApi_3_0: in rcCreateContext()383 case EglContext::GLESApi::GLESApi_3_1: in rcCreateContext()397 std::map<uint32_t, EglContext*>::iterator context_it; in rcCreateContext()398 context_it = EglContext::map.find(share_); in rcCreateContext()399 if (context_it == EglContext::map.end()) in rcCreateContext()402 EglContext const* share = context_it->second; in rcCreateContext()412 EglContext* context = new (std::nothrow) in rcCreateContext()[all …]
34 struct EglContext;61 Context* bind(EglContext* ctx_) { in bind()111 EglContext* ctx = nullptr;
94 ### [`EglContext`](EglContext.h)[](EglContext)96 The EglContext structure maintains a list of active EGLContexts, and decides
97 std::map<uint32_t, EglContext*> EglContext::map;106 uint32_t EglContext::nextId = 1U;457 EglContext::nextId = 1U; in virgl_renderer_init()