projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14d5250
)
enable depth+stencil bits for x11 gl compositor canvas creation
author
Mike Blumenkrantz
<zmike@osg.samsung.com>
Thu, 17 Sep 2015 20:31:53 +0000
(16:31 -0400)
committer
Mike Blumenkrantz
<zmike@osg.samsung.com>
Thu, 17 Sep 2015 20:54:00 +0000
(16:54 -0400)
src/bin/e_comp_x_randr.c
patch
|
blob
|
history
diff --git
a/src/bin/e_comp_x_randr.c
b/src/bin/e_comp_x_randr.c
index
5a42be1
..
73ff806
100644
(file)
--- a/
src/bin/e_comp_x_randr.c
+++ b/
src/bin/e_comp_x_randr.c
@@
-872,6
+872,14
@@
e_comp_x_randr_canvas_new(Ecore_Window parent, int w, int h)
}
if (opt_i > 0)
{
+ opt[opt_i] = ECORE_EVAS_GL_X11_OPT_GL_DEPTH;
+ opt_i++;
+ opt[opt_i] = 24;
+ opt_i++;
+ opt[opt_i] = ECORE_EVAS_GL_X11_OPT_GL_STENCIL;
+ opt_i++;
+ opt[opt_i] = 8;
+ opt_i++;
opt[opt_i] = ECORE_EVAS_GL_X11_OPT_NONE;
e_comp->ee = ecore_evas_gl_x11_options_new(NULL, parent, 0, 0, w, h, opt);
}