Home | History | Annotate | Download | only in egl

Lines Matching defs:config

133 EGLContext_t::EGLContext_t(EGLDisplay dpy, EGLConfig config, EGLContext_t* shareCtx) :
135 config(config),
171 EGLConfig config;
174 egl_surface_t(EGLDisplay dpy, EGLConfig config, EGLint surfaceType);
208 egl_surface_t::egl_surface_t(EGLDisplay dpy, EGLConfig config, EGLint surfaceType)
209 : dpy(dpy), config(config), surfaceType(surfaceType), rcSurface(0)
230 EGLDisplay dpy, EGLConfig config, EGLint surfType,
240 EGLDisplay dpy, EGLConfig config, EGLint surfType,
249 EGLDisplay dpy, EGLConfig config, EGLint surfType,
251 : egl_surface_t(dpy, config, surfType),
271 rcSurface = rcEnc->rcCreateWindowSurface(rcEnc, (uintptr_t)config,
284 EGLDisplay dpy, EGLConfig config, EGLint surfType,
288 dpy, config, surfType, window);
334 static egl_pbuffer_surface_t* create(EGLDisplay dpy, EGLConfig config,
345 egl_pbuffer_surface_t(EGLDisplay dpy, EGLConfig config, EGLint surfType,
352 egl_pbuffer_surface_t::egl_pbuffer_surface_t(EGLDisplay dpy, EGLConfig config,
354 : egl_surface_t(dpy, config, surfType),
374 rcSurface = rcEnc->rcCreateWindowSurface(rcEnc, (uintptr_t)config,
394 EGLConfig config, EGLint surfType, int32_t w, int32_t h,
397 egl_pbuffer_surface_t* pb = new egl_pbuffer_surface_t(dpy, config, surfType,
594 EGLBoolean eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value)
597 VALIDATE_CONFIG(config, EGL_FALSE);
599 if (s_display.getConfigAttrib(config, attribute, value))
609 EGLSurface eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list)
612 VALIDATE_CONFIG(config, EGL_FALSE);
618 if (s_display.getConfigAttrib(config, EGL_SURFACE_TYPE, &surfaceType) == EGL_FALSE) return EGL_FALSE;
629 &s_display, config, surfaceType, static_cast<ANativeWindow*>(win));
637 EGLSurface eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list)
640 VALIDATE_CONFIG(config, EGL_FALSE);
643 if (s_display.getConfigAttrib(config, EGL_SURFACE_TYPE, &surfaceType) == EGL_FALSE) return EGL_FALSE;
679 if (s_display.getConfigGLPixelFormat(config, &pixelFormat) == EGL_FALSE)
682 egl_surface_t* surface = egl_pbuffer_surface_t::create(dpy, config,
695 EGLSurface eglCreatePixmapSurface(EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint *attrib_list)
725 ret = s_display.getConfigAttrib(surface->config, EGL_CONFIG_ID, value);
783 EGLSurface eglCreatePbufferFromClientBuffer(EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list)
855 EGLContext eglCreateContext(EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint *attrib_list)
858 VALIDATE_CONFIG(config, EGL_NO_CONTEXT);
876 uint32_t rcContext = rcEnc->rcCreateContext(rcEnc, (uintptr_t)config, rcShareCtx, version);
882 EGLContext_t * context = new EGLContext_t(dpy, config, shareCtx);
1049 ret = s_display.getConfigAttrib(context->config, EGL_CONFIG_ID, value);