<div class="__aliyun_email_body_block"><div  style="line-height:1.7;font-family:microsoft yahei;font-size:18.0px;color:#000000;"><div  class="markdown-here-wrapper" data-md-url="http://mail.hichina.com/alimail/#h=WyJmbV81YzNGdFh6TTJYekUyTURVMU9URTRNVGt6TmpFX0UiLFsiNSIsInNxbV8zNl8xNjA1NTkxODE5MzYxIix7InR5cGUiOiJkcmFmdCIsIm1haWxJZCI6IjVfMDpEenp6enlVSDhXcyQtLS0uSXhoYmJFZyJ9LHsibGFiZWwiOiJNdXN0IGVnbENyZWF0ZUltYWdlS0hSIHN1cHBvcnQgZ2JtX2JvIGFzIEVHTEltYWdlIHNvdXJjZSBpbiBvcmRlciB0byB1c2UgZ2xhbW9yPyJ9XV0=" markdown-here-wrapper-content-modified="true"><p  style="margin-bottom:19.0px;margin-top:.0px;margin-right:.0px;margin-left:.0px;">greetings to all,</p><p  style="margin-bottom:19.0px;margin-top:.0px;margin-right:.0px;margin-left:.0px;">recently I am plumbing how to use glamor to accelerate 2D rendering.  I found that it seems to require gbm and EGL_KHR_image_pixmap.</p><div  style="clear:both;">Bool</div><div  style="clear:both;">glamor_egl_create_textured_pixmap_from_gbm_bo(PixmapPtr pixmap, struct gbm_bo *bo, Bool used_modifiers)</div><div  style="clear:both;">{</div><div  style="clear:both;">    ...</div><div  style="clear:both;">    image = eglCreateImageKHR(glamor_egl->display, glamor_egl->context, EGL_NATIVE_PIXMAP_KHR, bo, NULL);</div><div  style="clear:both;">    ...<br ></div><div  style="clear:both;">}</div><p  style="margin-bottom:19.0px;margin-top:.0px;margin-right:.0px;margin-left:.0px;"></p><div  style="clear:both;"><br ></div><div  style="clear:both;">if an implementation of eglCreateImageKHR have no support for gbm_bo, it'll return EGL_NO_IMAGE_KHR. </div><div  style="clear:both;">So my question is, is that necessary to have eglCreateImageKHR supported for gbm_bo in order to get glamor worked?</div><div  style="clear:both;"><br ></div><div  style="clear:both;">thanks,</div><div  style="clear:both;">Luc</div><p ></p><p  style="margin-bottom:19.0px;margin-top:.0px;margin-right:.0px;margin-left:.0px;"><span  style="font-weight:700;"></span><br ></p><div  title="MDH:PGRpdiBzdHlsZT0ibGluZS1oZWlnaHQ6IDEuNzsgZm9udC1mYW1pbHk6ICZxdW90O21pY3Jvc29m
dCB5YWhlaSZxdW90OzsgZm9udC1zaXplOiAxOHB4OyBjb2xvcjogcmdiKDAsIDAsIDApOyIgY2xh
c3M9IiBfX2FsaXl1bl9ub2RlX2hhc19jb2xvciI+PGRpdiBzdHlsZT0iY2xlYXI6IGJvdGg7Ij5n
cmVldGluZ3MgdG8gYWxsLDwvZGl2PjxkaXYgc3R5bGU9ImNsZWFyOiBib3RoOyI+PGJyPjwvZGl2
PjxkaXYgc3R5bGU9ImNsZWFyOiBib3RoOyI+cmVjZW50bHkgSSBhbSBwbHVtYmluZyBob3cgdG8g
dXNlIGdsYW1vciB0byBhY2NlbGVyYXRlIDJEIHJlbmRlcmluZy4mbmJzcDsgSSBmb3VuZCB0aGF0
IHJlcXVpcmVzIGdibSBhbmQgRUdMX0tIUl9pbWFnZV9waXhtYXAuJm5ic3A7PC9kaXY+PGRpdiBz
dHlsZT0iY2xlYXI6IGJvdGg7Ij5nbGFtb3JfZWdsX2NyZWF0ZV90ZXh0dXJlZF9waXhtYXBfZnJv
bV9nYm1fYm8oUGl4bWFwPC9kaXY+PGRpdiBzdHlsZT0iY2xlYXI6IGJvdGg7Ij48YnI+PC9kaXY+
PC9kaXY+" style="width:.0px;overflow:hidden;font-size:.0em;padding:.0px;margin:.0px;"></div></div></div></div>