summaryrefslogtreecommitdiff
path: root/src/egl/drivers/android/droid.h
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2009-10-27 17:19:39 +0800
committerChia-I Wu <olvaffe@gmail.com>2009-10-27 17:30:24 +0800
commit11ff6a0e6f18d434ae0f9502ae0711977db6c22e (patch)
tree560bfb6ee41d98a4b552dda20d3d1913d3e305e6 /src/egl/drivers/android/droid.h
parentb4bf8be5470d54381878bf97750d958281a7c9c3 (diff)
egl_android: Set surface type and native visual type.
Diffstat (limited to 'src/egl/drivers/android/droid.h')
-rw-r--r--src/egl/drivers/android/droid.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/egl/drivers/android/droid.h b/src/egl/drivers/android/droid.h
index 1793f6a78c..06ca7ab9e7 100644
--- a/src/egl/drivers/android/droid.h
+++ b/src/egl/drivers/android/droid.h
@@ -47,6 +47,7 @@ struct droid_backend {
/* these are usually used by a loader */
const char *driver_name;
int (*initialize)(struct droid_backend *backend, int *fd, int *screen_number);
+ int (*process_config)(struct droid_backend *backend, _EGLConfig *conf);
void (*destroy)(struct droid_backend *backend);
__DRIbuffer *(*get_native_buffer)(struct droid_backend *backend,
@@ -96,7 +97,7 @@ droid_screen_create(struct droid_backend *backend);
void
droid_screen_destroy(struct droid_screen *screen);
-void
+int
droid_screen_convert_config(struct droid_screen *screen,
const __DRIconfig *conf, _EGLConfig *egl_conf);