Hello, I have tried latest waffle against android-4.1.2_r1 but it segfaults.
So to avoid the same, I did make the following changes: struct wcore_window* droid_window_create(struct wcore_platform *wc_plat, struct wcore_config *wc_config, int width, int height) { struct droid_window *self; struct wegl_config *config = wegl_config(wc_config); struct droid_display *dpy = droid_display(wc_config->display); bool ok = true; self = wcore_calloc(sizeof(*self)); if (self == NULL) return NULL; self->pANWContainer = droid_create_surface(width, height, dpy->pSFContainer); if (!self->pANWContainer) goto error1; ok = wegl_window_init(&self->wegl, wc_config, (intptr_t) *((intptr_t*)(self->pANWContainer))); if (!ok) goto error; return &self->wegl.wcore; error: droid_window_destroy(&self->wegl.wcore); error1: return NULL; } The waffle is still not working against even gl_basic, I am getting the following error: gl_basic --platform=android --api=gles2 gl_basic: error: WAFFLE_ERROR_UNKNOWN: Unable to get android::SurfaceControl Can anyone guide me here? Thanks & Regards Arun S L =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you
_______________________________________________ waffle mailing list waffle@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/waffle