summaryrefslogtreecommitdiffstats
path: root/src/egl/main/egldriver.h
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2010-01-20 14:35:50 +0800
committerChia-I Wu <olvaffe@gmail.com>2010-01-20 17:44:12 +0800
commitc5766c4ae39b4190965abd65eaf67b478a9ad028 (patch)
treeee259fc4fff9b8462aa586cea85ccf08d57e1114 /src/egl/main/egldriver.h
parentcf22fd5e5b13ccdb02ba0368ea722ede3bbc6de0 (diff)
downloadexternal_mesa3d-c5766c4ae39b4190965abd65eaf67b478a9ad028.zip
external_mesa3d-c5766c4ae39b4190965abd65eaf67b478a9ad028.tar.gz
external_mesa3d-c5766c4ae39b4190965abd65eaf67b478a9ad028.tar.bz2
egl: Add a simple cache for driver probe.
In current design, multiple drivers will probe the same display and the best driver is determined. The cache can be used by the drivers to store and share the probed data.
Diffstat (limited to 'src/egl/main/egldriver.h')
-rw-r--r--src/egl/main/egldriver.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/egl/main/egldriver.h b/src/egl/main/egldriver.h
index 808b1c3..d9d6129 100644
--- a/src/egl/main/egldriver.h
+++ b/src/egl/main/egldriver.h
@@ -66,4 +66,12 @@ PUBLIC EGLint
_eglFindAPIs(void);
+PUBLIC void
+_eglSetProbeCache(EGLint key, const void *val);
+
+
+PUBLIC const void *
+_eglGetProbeCache(EGLint key);
+
+
#endif /* EGLDRIVER_INCLUDED */