2010/2/18 Chia-I Wu <olva...@gmail.com>: > On Thu, Feb 18, 2010 at 12:04:14PM -0500, Kristian Høgsberg wrote: >> 2010/2/12 Ian Romanick <i...@freedesktop.org>: ... >> > Since applications call this function directly, should this give an >> > error if dri2_dpy->image is NULL, or is it okay to just segfault? >> If __DRIimage isn't available, eglInitializeDisplay fails. I suppose >> we should make that optional and just not advertise any EGLImage >> extensions instead. > It should be noted that eglapi.c does not check if an extension is > available before dispatching (while it probably should). > > BTW, it seems > > dri2_dpy->base.Extensions.KHR_image_base and > dri2_dpy->base.Extensions.KHR_image_pixmap > > are not set in the patch to advertise the extensions.
Done. thanks, Kristian ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev