[waffle] waffle for android-4.1.2_r1
Arun Sl
arun.sl at tcs.com
Thu Feb 27 01:43:37 PST 2014
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/waffle/attachments/20140227/624e8874/attachment.html>
More information about the waffle
mailing list