[prev in list] [next in list] [prev in thread] [next in thread]
List: mesa3d-dev
Subject: Re: [Mesa3d-dev] Re: Proposal to re-work GL dispatch
From: Ian Romanick <idr () us ! ibm ! com>
Date: 2005-06-29 15:44:02
Message-ID: 42C2C1C2.50304 () us ! ibm ! com
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Philippe Houdoin wrote:
>>Ian Romanick wrote:
>>
>>>I've attached a patch that does this. A script creates a header file
>>>containing tables of functions and extensions. Each driver '#define
>>>need_GL_foo' for each extension that the driver can export and calls
>>>either driInitExtensions or driInitSingleExtension to enable it.
>
> Does this new GL extensions dispatching specific only to DRI drivers, or can it
> be generalized to non-DRI drivers?
> AFAIK, src/mesa/glapi/* stuffs was drivers agnostic, right?
>
> Can't the extension_helper.h designed and generated to be shared from
> src/mesa/drivers/common/. instead DRI's src/mesa/drivers/dri/common/.
I consider stand-alone Mesa to be a different beast than the DRI setup.
I think it is completely reasonable for stand-alone Mesa to continue
exporting whatever entry-points it supports. This means that
stand-alone Mesa wouldn't need _glapi_add_dispatch (the new function) or
_glapi_add_entrypoint (the old function) at all.
If we restrict the DRI libGL to only the symbols required by the Linux
OpenGL ABI, stand-alone Mesa would need different API files (e.g.,
glapitemp.h, etc.). Perhaps it could be handled by #ifdef's in the
existing files. We'll have to cross that bridge when we get to it.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCwsHBX1gOwKyEAw8RAsO/AJ4y2bkE2D6oZEgfGBAbbinJ8nMPfwCcDRKg
aaWc49jXR5sypFPqM7Kh3oE=
=qI6G
-----END PGP SIGNATURE-----
-------------------------------------------------------
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
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic