Lines Matching defs:config

33 bool validate(egl::Display *display, EGLConfig config)
40 if (!display->isValidConfig(config))
289 EGLBoolean __stdcall eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value)
291 TRACE("(EGLDisplay dpy = 0x%0.8p, EGLConfig config = 0x%0.8p, EGLint attribute = %d, EGLint *value = 0x%0.8p)",
292 dpy, config, attribute, value);
298 if (!validate(display, config))
303 if (!display->getConfigAttrib(config, attribute, value))
318 EGLSurface __stdcall eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list)
320 TRACE("(EGLDisplay dpy = 0x%0.8p, EGLConfig config = 0x%0.8p, EGLNativeWindowType win = 0x%0.8p, "
321 "const EGLint *attrib_list = 0x%0.8p)", dpy, config, win, attrib_list);
327 if (!validate(display, config))
373 EGLSurface surface = (EGLSurface)display->createWindowSurface(window, config);
385 EGLSurface __stdcall eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list)
387 TRACE("(EGLDisplay dpy = 0x%0.8p, EGLConfig config = 0x%0.8p, const EGLint *attrib_list = 0x%0.8p)",
388 dpy, config, attrib_list);
394 if (!validate(display, config))
411 EGLSurface __stdcall eglCreatePixmapSurface(EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint *attrib_list)
413 TRACE("(EGLDisplay dpy = 0x%0.8p, EGLConfig config = 0x%0.8p, EGLNativePixmapType pixmap = 0x%0.8p, "
414 "const EGLint *attrib_list = 0x%0.8p)", dpy, config, pixmap, attrib_list);
420 if (!validate(display, config))
635 EGLSurface __stdcall eglCreatePbufferFromClientBuffer(EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list)
638 "EGLConfig config = 0x%0.8p, const EGLint *attrib_list = 0x%0.8p)",
639 dpy, buftype, buffer, config, attrib_list);
645 if (!validate(display, config))
770 EGLContext __stdcall eglCreateContext(EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint *attrib_list)
772 TRACE("(EGLDisplay dpy = 0x%0.8p, EGLConfig config = 0x%0.8p, EGLContext share_context = 0x%0.8p, "
773 "const EGLint *attrib_list = 0x%0.8p)", dpy, config, share_context, attrib_list);
801 if (!validate(display, config))
806 EGLContext context = display->createContext(config, static_cast<gl::Context*>(share_context));