Home
last modified time | relevance | path

Searched refs:EglContext (Results 1 – 5 of 5) sorted by relevance

/device/generic/opengl-transport/host/libs/virglrenderer/
DEglContext.h24 struct EglContext { struct
32 static std::map<uint32_t, EglContext*> map; argument
35 EglContext(EGLContext context_, uint32_t ctx_, GLESApi api_) in EglContext() function
40 ~EglContext() { in ~EglContext() argument
44 EglContext* bind(uint32_t ctx_) { in bind() argument
45 for (auto const& it : EglContext::map) { in bind()
46 EglContext* ctx = it.second; in bind()
DRenderControl.cpp262 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 …]
DContext.h34 struct EglContext;
61 Context* bind(EglContext* ctx_) { in bind()
111 EglContext* ctx = nullptr;
DREADME.md94 ### [`EglContext`](EglContext.h)[](EglContext)
96 The EglContext structure maintains a list of active EGLContexts, and decides
DAVDVirglRenderer.cpp97 std::map<uint32_t, EglContext*> EglContext::map;
106 uint32_t EglContext::nextId = 1U;
457 EglContext::nextId = 1U; in virgl_renderer_init()