From 198d6d05b033ece21d094c46390ec0faa7612939 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 17 May 2005 13:22:13 +0000 Subject: remove eglQueryDisplayMESA() --- src/egl/main/eglapi.c | 9 --------- src/egl/main/egldisplay.c | 7 ------- src/egl/main/egldriver.c | 1 - src/egl/main/egldriver.h | 2 -- 4 files changed, 19 deletions(-) (limited to 'src') diff --git a/src/egl/main/eglapi.c b/src/egl/main/eglapi.c index c5e67ed672..87160c7f48 100644 --- a/src/egl/main/eglapi.c +++ b/src/egl/main/eglapi.c @@ -354,7 +354,6 @@ void (* APIENTRY eglGetProcAddress(const char *procname))() { "eglCreateScreenSurfaceMESA", (_EGLProc) eglCreateScreenSurfaceMESA }, { "eglShowSurfaceMESA", (_EGLProc) eglShowSurfaceMESA }, { "eglScreenPositionMESA", (_EGLProc) eglScreenPositionMESA }, - { "eglQueryDisplayMESA", (_EGLProc) eglQueryDisplayMESA }, { "eglQueryScreenMESA", (_EGLProc) eglQueryScreenMESA }, { "eglQueryScreenSurfaceMESA", (_EGLProc) eglQueryScreenSurfaceMESA }, { "eglQueryScreenModeMESA", (_EGLProc) eglQueryScreenModeMESA }, @@ -461,14 +460,6 @@ eglScreenPositionMESA(EGLDisplay dpy, EGLScreenMESA screen, EGLint x, EGLint y) } -EGLBoolean -eglQueryDisplayMESA(EGLDisplay dpy, EGLint attrib, EGLint *value) -{ - _EGLDriver *drv = _eglLookupDriver(dpy); - return drv->QueryDisplayMESA(drv, dpy, attrib, value); -} - - EGLBoolean eglQueryScreenMESA( EGLDisplay dpy, EGLScreenMESA screen, EGLint attribute, EGLint *value) { diff --git a/src/egl/main/egldisplay.c b/src/egl/main/egldisplay.c index 53b4ba9c38..669a4d5084 100644 --- a/src/egl/main/egldisplay.c +++ b/src/egl/main/egldisplay.c @@ -69,10 +69,3 @@ _eglCleanupDisplay(_EGLDisplay *disp) free(disp->Name); /* driver deletes _EGLDisplay */ } - - -EGLBoolean -_eglQueryDisplayMESA(_EGLDriver *drv, EGLDisplay dpy, EGLint attrib, EGLint *value) -{ - return EGL_FALSE; -} diff --git a/src/egl/main/egldriver.c b/src/egl/main/egldriver.c index a52a7aa3c9..1aeefbbe48 100644 --- a/src/egl/main/egldriver.c +++ b/src/egl/main/egldriver.c @@ -189,7 +189,6 @@ _eglInitDriverFallbacks(_EGLDriver *drv) drv->CreateScreenSurfaceMESA = _eglCreateScreenSurfaceMESA; drv->ShowSurfaceMESA = _eglShowSurfaceMESA; drv->ScreenPositionMESA = _eglScreenPositionMESA; - drv->QueryDisplayMESA = _eglQueryDisplayMESA; drv->QueryScreenMESA = _eglQueryScreenMESA; drv->QueryScreenSurfaceMESA = _eglQueryScreenSurfaceMESA; drv->QueryScreenModeMESA = _eglQueryScreenModeMESA; diff --git a/src/egl/main/egldriver.h b/src/egl/main/egldriver.h index cc6d0814bd..ecf630cb7d 100644 --- a/src/egl/main/egldriver.h +++ b/src/egl/main/egldriver.h @@ -51,7 +51,6 @@ typedef EGLBoolean (*GetScreensMESA_t)(_EGLDriver *drv, EGLDisplay dpy, EGLScree typedef EGLSurface (*CreateScreenSurfaceMESA_t)(_EGLDriver *drv, EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list); typedef EGLBoolean (*ShowSurfaceMESA_t)(_EGLDriver *drv, EGLDisplay dpy, EGLScreenMESA screen, EGLSurface surface, EGLModeMESA mode); typedef EGLBoolean (*ScreenPositionMESA_t)(_EGLDriver *drv, EGLDisplay dpy, EGLScreenMESA screen, EGLint x, EGLint y); -typedef EGLBoolean (*QueryDisplayMESA_t)(_EGLDriver *drv, EGLDisplay dpy, EGLint attrib, EGLint *value); typedef EGLBoolean (*QueryScreenMESA_t)(_EGLDriver *drv, EGLDisplay dpy, EGLScreenMESA screen, EGLint attribute, EGLint *value); typedef EGLBoolean (*QueryScreenSurfaceMESA_t)(_EGLDriver *drv, EGLDisplay dpy, EGLScreenMESA screen, EGLSurface *surface); typedef EGLBoolean (*QueryScreenModeMESA_t)(_EGLDriver *drv, EGLDisplay dpy, EGLScreenMESA screen, EGLModeMESA *mode); @@ -112,7 +111,6 @@ struct _egl_driver CreateScreenSurfaceMESA_t CreateScreenSurfaceMESA; ShowSurfaceMESA_t ShowSurfaceMESA; ScreenPositionMESA_t ScreenPositionMESA; - QueryDisplayMESA_t QueryDisplayMESA; QueryScreenMESA_t QueryScreenMESA; QueryScreenSurfaceMESA_t QueryScreenSurfaceMESA; QueryScreenModeMESA_t QueryScreenModeMESA; -- cgit v1.2.3