From c5766c4ae39b4190965abd65eaf67b478a9ad028 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Wed, 20 Jan 2010 14:35:50 +0800 Subject: 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. --- src/egl/main/egldriver.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/egl/main/egldriver.h') diff --git a/src/egl/main/egldriver.h b/src/egl/main/egldriver.h index 808b1c3fb7..d9d61297c1 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 */ -- cgit v1.2.3