Jon Smirl wrote:
On 7/3/05, Adam Jackson <[EMAIL PROTECTED]> wrote:

Why aren't the DRI drivers themselves EGL drivers?  That's sort of the model I
was anticipating:

- eglChooseDisplayMESA("display/0")
- EGL translates to /dev/dri/card0, opens it
- ioctl: what's the DRI driver name for this device?
- kernel: i915
- EGL loads i915_dri.so, calls its egl setup
- eglCreateContext notices the attached dri driver, does device setup

I guess I don't see the point of loading one module to have it load another,
particularly if that first module is always getting loaded.


Brian wants to keep libEGL crossplatform and generic so this forces me
into a third library.

I said I'd like to keep the src/egl/main/ directory cross-platform. The Linux version of libEGL.so could certainly have additional code in it. But I'm certainly open to ideas. I just don't have much time to spend on this project.


I'm putting all of the common code into the
third library too. It contains code similar to miniglx.c

-Brian


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to