[Mesa-dev] [PATCH 0/5] GL_EXT_texture_shared_exponent
Marek Olšák
maraeo at gmail.com
Wed Apr 27 04:48:34 PDT 2011
On Tue, Apr 26, 2011 at 4:57 PM, Brian Paul <brianp at vmware.com> wrote:
> On 04/26/2011 04:57 AM, Marek Olšák wrote:
>
>> Hi,
>>
>> this series implements GL_EXT_texture_shared_exponent.
>>
>> The file rgb9e5.h has all its functions inline, because it's shared
>> between classic and gallium. In that file, there are functions
>> rgb9e5_to_float3 and float3_to_rgb9e5, which are used pretty much
>> everywhere.
>>
>
> I think I'd opt to put the code for this in gallium/util and include it in
> Mesa with a wrapper header. In the future I think we're more likely to use
> additional Gallium utility code in Mesa than vice versa.
Here's a follow-up patch incorporating most of the suggestions:
http://cgit.freedesktop.org/~mareko/mesa/commit/?id=1ac0d968df40dcb6911567bec1d8ec4ebcb6a2d2
Not sure how you would like the wrapper header to look like. FWIW I don't
think it's terribly important though.
Marek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110427/c6b11ffe/attachment.htm>
More information about the mesa-dev
mailing list