summaryrefslogtreecommitdiff
path: root/src/egl
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-05-17 13:22:13 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-05-17 13:22:13 +0000
commit198d6d05b033ece21d094c46390ec0faa7612939 (patch)
tree48e932bc282fce6b61eab6bb4754821e9a9fb1d4 /src/egl
parent5a0cb726d1e8dbd8cdb024d9e45169ad8c440777 (diff)
remove eglQueryDisplayMESA()
Diffstat (limited to 'src/egl')
-rw-r--r--src/egl/main/eglapi.c9
-rw-r--r--src/egl/main/egldisplay.c7
-rw-r--r--src/egl/main/egldriver.c1
-rw-r--r--src/egl/main/egldriver.h2
4 files changed, 0 insertions, 19 deletions
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;