From: hk57.kim Date: Mon, 5 Oct 2015 06:12:52 +0000 (+0900) Subject: [Cairo Evasgl Sample] Add evasgl config X-Git-Tag: tizen_3.0/TD_SYNC/20161201~419 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8e7c387bed217f55303b84e087424617483ae596;p=sdk%2Fonline-doc.git [Cairo Evasgl Sample] Add evasgl config Change-Id: I49843977a7590a10d504f3d570cdd34d83c90290 Signed-off-by: hk57.kim --- diff --git a/org.tizen.sampledescriptions/html/mobile_n/cairo_evasgl_sd_mn.htm b/org.tizen.sampledescriptions/html/mobile_n/cairo_evasgl_sd_mn.htm index a5f2204..4917751 100644 --- a/org.tizen.sampledescriptions/html/mobile_n/cairo_evasgl_sd_mn.htm +++ b/org.tizen.sampledescriptions/html/mobile_n/cairo_evasgl_sd_mn.htm @@ -107,6 +107,8 @@ Evas_Native_Surface ns; ad->evas_gl = evas_gl_new(evas_object_evas_get(ad->img)); ad->evas_gl_config = evas_gl_config_new(); ad->evas_gl_config->color_format = EVAS_GL_RGBA_8888; +ad->evas_gl_config->stencil_bits = EVAS_GL_STANCIL_BIT_8; +ad->evas_gl_config->multisample_bits = EVAS_GL_MULTISAMPLE_MED; ad->evas_gl_surface = evas_gl_surface_create(ad->evas_gl, ad->evas_gl_config, ad->width, ad->height); ad->evas_gl_context = evas_gl_context_create(ad->evas_gl, NULL); evas_gl_native_surface_get(ad->evas_gl, ad->evas_gl_surface, &ns); @@ -279,4 +281,4 @@ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga - \ No newline at end of file + diff --git a/org.tizen.sampledescriptions/html/wearable_n/cairo_evasgl_sd_wn.htm b/org.tizen.sampledescriptions/html/wearable_n/cairo_evasgl_sd_wn.htm index 802283e..541bc8e 100644 --- a/org.tizen.sampledescriptions/html/wearable_n/cairo_evasgl_sd_wn.htm +++ b/org.tizen.sampledescriptions/html/wearable_n/cairo_evasgl_sd_wn.htm @@ -107,6 +107,8 @@ Evas_Native_Surface ns; ad->evas_gl = evas_gl_new(evas_object_evas_get(ad->img)); ad->evas_gl_config = evas_gl_config_new(); ad->evas_gl_config->color_format = EVAS_GL_RGBA_8888; +ad->evas_gl_config->stencil_bits = EVAS_GL_STANCIL_BIT_8; +ad->evas_gl_config->multisample_bits = EVAS_GL_MULTISAMPLE_MED; ad->evas_gl_surface = evas_gl_surface_create(ad->evas_gl, ad->evas_gl_config, ad->width, ad->height); ad->evas_gl_context = evas_gl_context_create(ad->evas_gl, NULL); evas_gl_native_surface_get(ad->evas_gl, ad->evas_gl_surface, &ns); @@ -279,4 +281,4 @@ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga - \ No newline at end of file +