Home
last modified time | relevance | path

Searched refs:ctx_ (Results 1 – 6 of 6) sorted by relevance

/device/generic/opengl-transport/host/libs/virglrenderer/
DEglContext.h35 EglContext(EGLContext context_, uint32_t ctx_, GLESApi api_) in EglContext()
36 : create_ctx(ctx_), context(context_), api(api_), id(nextId++) { in EglContext()
44 EglContext* bind(uint32_t ctx_) { in bind()
49 if (ctx->bound_ctx == ctx_) in bind()
52 bound_ctx = ctx_; in bind()
DRenderControl.cpp214 static EGLint rcGetEGLVersion(void* ctx_, EGLint* major, EGLint* minor) { in rcGetEGLVersion() argument
215 RenderControl* rc = static_cast<RenderControl*>(ctx_); in rcGetEGLVersion()
219 static EGLint rcQueryEGLString(void* ctx_, EGLenum name, void* buffer, EGLint bufferSize) { in rcQueryEGLString() argument
220 RenderControl* rc = static_cast<RenderControl*>(ctx_); in rcQueryEGLString()
255 static EGLint rcGetGLString(void* ctx_, EGLenum name, void* buffer, EGLint bufferSize) { in rcGetGLString() argument
258 RenderControl* rc = static_cast<RenderControl*>(ctx_); in rcGetGLString()
328 static EGLint rcChooseConfig(void* ctx_, EGLint* attribs, uint32_t, uint32_t* config_ints, in rcChooseConfig() argument
332 RenderControl* rc = static_cast<RenderControl*>(ctx_); in rcChooseConfig()
364 static uint32_t rcCreateContext(void* ctx_, uint32_t config_, uint32_t share_, uint32_t glVersion) { in rcCreateContext() argument
406 RenderControl* rc = static_cast<RenderControl*>(ctx_); in rcCreateContext()
[all …]
DEglSurface.h30 EglSurface(EGLConfig config_, uint32_t ctx_, uint32_t width_, uint32_t height_) in EglSurface()
31 : create_ctx(ctx_), config(config_), height(height_), width(width_), id(nextId++) { in EglSurface()
39 EglSurface* bind(uint32_t ctx_, bool read_) { in bind()
44 if (sur->bound_ctx == ctx_) { in bind()
56 bound_ctx = ctx_; in bind()
DGLESv3.cpp234 GlSync(GLESv3* ctx_, GLsync sync_) : sync(sync_), id(ctx_->sync_nextId++), ctx(ctx_) { in GlSync()
249 static GLenum glClientWaitSyncAEMU(void* ctx_, uint64_t wait_on, GLbitfield flags, in glClientWaitSyncAEMU() argument
251 GLESv3* ctx = static_cast<GLESv3*>(ctx_); in glClientWaitSyncAEMU()
295 static void glDeleteSyncAEMU(void* ctx_, uint64_t to_delete) { in glDeleteSyncAEMU() argument
296 GLESv3* ctx = static_cast<GLESv3*>(ctx_); in glDeleteSyncAEMU()
346 static uint64_t glFenceSyncAEMU(void* ctx_, GLenum condition, GLbitfield flags) { in glFenceSyncAEMU() argument
351 GLESv3* ctx = static_cast<GLESv3*>(ctx_); in glFenceSyncAEMU()
373 static void glGetSyncivAEMU(void* ctx_, uint64_t sync_, GLenum pname, GLsizei bufSize, in glGetSyncivAEMU() argument
375 GLESv3* ctx = static_cast<GLESv3*>(ctx_); in glGetSyncivAEMU()
419 static GLboolean glIsSyncAEMU(void* ctx_, uint64_t sync) { in glIsSyncAEMU() argument
[all …]
DContext.h61 Context* bind(EglContext* ctx_) { in bind()
66 if (ctx->ctx == ctx_) in bind()
69 ctx = ctx_; in bind()
DRenderControl.h26 RenderControl(Context* ctx_, EGLDisplay dpy_);