Lines Matching defs:config
174 EGLContext_t::EGLContext_t(EGLDisplay dpy, EGLConfig config, EGLContext_t* shareCtx, int maj, int min) :
176 config(config),
253 EGLConfig config;
256 egl_surface_t(EGLDisplay dpy, EGLConfig config, EGLint surfaceType);
299 egl_surface_t::egl_surface_t(EGLDisplay dpy, EGLConfig config, EGLint surfaceType)
300 : dpy(dpy), config(config), surfaceType(surfaceType), rcSurface(0)
328 EGLDisplay dpy, EGLConfig config, EGLint surfType,
338 EGLDisplay dpy, EGLConfig config, EGLint surfType,
347 EGLDisplay dpy, EGLConfig config, EGLint surfType,
349 : egl_surface_t(dpy, config, surfType),
374 rcSurface = rcEnc->rcCreateWindowSurface(rcEnc, (uintptr_t)config,
389 EGLDisplay dpy, EGLConfig config, EGLint surfType,
393 dpy, config, surfType, window);
554 static egl_pbuffer_surface_t* create(EGLDisplay dpy, EGLConfig config,
565 egl_pbuffer_surface_t(EGLDisplay dpy, EGLConfig config, EGLint surfType,
572 egl_pbuffer_surface_t::egl_pbuffer_surface_t(EGLDisplay dpy, EGLConfig config,
574 : egl_surface_t(dpy, config, surfType),
594 rcSurface = rcEnc->rcCreateWindowSurface(rcEnc, (uintptr_t)config,
613 EGLConfig config, EGLint surfType, int32_t w, int32_t h,
616 egl_pbuffer_surface_t* pb = new egl_pbuffer_surface_t(dpy, config, surfType,
840 EGLBoolean eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value)
843 VALIDATE_CONFIG(config, EGL_FALSE);
845 if (s_display.getConfigAttrib(config, attribute, value))
856 EGLSurface eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list)
861 VALIDATE_CONFIG(config, EGL_FALSE);
867 if (s_display.getConfigAttrib(config, EGL_SURFACE_TYPE, &surfaceType) == EGL_FALSE) return EGL_FALSE;
878 &s_display, config, EGL_WINDOW_BIT, static_cast<ANativeWindow*>(win));
886 EGLSurface eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list)
889 VALIDATE_CONFIG(config, EGL_FALSE);
892 if (s_display.getConfigAttrib(config, EGL_SURFACE_TYPE, &surfaceType) == EGL_FALSE) return EGL_FALSE;
936 if (s_display.getConfigGLPixelFormat(config, &pixelFormat) == EGL_FALSE)
939 egl_surface_t* surface = egl_pbuffer_surface_t::create(dpy, config,
952 EGLSurface eglCreatePixmapSurface(EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint *attrib_list)
959 VALIDATE_CONFIG(config, EGL_FALSE);
999 ret = s_display.getConfigAttrib(surface->config, EGL_CONFIG_ID, value);
1020 ret = s_display.getConfigAttrib(surface->config, EGL_SURFACE_TYPE,
1052 // TODO: get the DPI from avd config
1061 // TODO: get the real DPI from avd config
1161 EGLSurface eglCreatePbufferFromClientBuffer(EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list)
1167 (void)config;
1197 s_display.getConfigAttrib(p_surface->config, EGL_SURFACE_TYPE, &surface_type);
1208 s_display.getConfigAttrib(p_surface->config, EGL_SURFACE_TYPE, &surface_type);
1283 EGLContext eglCreateContext(EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint *attrib_list)
1286 VALIDATE_CONFIG(config, EGL_NO_CONTEXT);
1431 uint32_t rcContext = rcEnc->rcCreateContext(rcEnc, (uintptr_t)config, rcShareCtx, rcMajorVersion);
1437 EGLContext_t * context = new EGLContext_t(dpy, config, shareCtx, majorVersion, minorVersion);
1680 ret = s_display.getConfigAttrib(context->config, EGL_CONFIG_ID, value);