2010/2/4 Jesse Barnes <jbar...@virtuousgeek.org>: > Nice, I agree. This looks a lot like what I was hoping it would. > Aside from fixing the obvious stuff like /home/krh (I don't think > everyone has a /home/krh, though maybe we should codify that :) and > swapbuffers, we'll also need to add a TFP like extension, or is that > already handled by Mesa's EGL core with the current setTexBuffer stuff? setTexBuffer can be used to implement eglBindTexImage. But that is for texture-from-pbuffer.
For texture-from-pixmap, the suggested way to do it in EGL is through http://www.khronos.org/registry/egl/extensions/KHR/EGL_KHR_image_pixmap.txt http://www.khronos.org/registry/gles/extensions/OES/OES_EGL_image.txt The former allows EGL to create an EGLImage from a pixmap; The latter allows OpenGL ES to bind an EGLImage as a texture image. There is nothing stop the latter extension to be implemented for OpenGL. I've done some work a while ago for my Android port. These two commits implement GL_OES_EGL_image for intel dri driver http://gitorious.org/android-eeepc/mesa/commit/c4a8ce7ffdf603c515b5202e2322e1b965f69f3a http://gitorious.org/android-eeepc/mesa/commit/4e5934fed17373e55bd2bac6a35632734beeab30 EGL_KHR_image_base and EGL_KHR_image_pixmap are also implemented in egl_android driver. I am slowly adding EGLImage support to st/egl. It takes a different route and it depends on a new st_api.h (replacing st_public.h) that was discussed last month. > We'll probably also want an INTEL_swap_event for EGL like we have for > GLX, though apparently the common practice for EGL apps is to just have > swapbuffers called in a separate thread, so it may not be that > important. > I'll find you on IRC to talk about some of the other things we might > do; got some interesting suggestions from the Clutter and Qt guys about > handling swapbuffers even better... swapbuffers behavior is one field that hasn't been explored in the EGL implementation. Is there an IRC channel for Mesa-dev? I would like to join the channel. -olv ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev