I have been having no intentions to merge the draw, softpipe, and llvmpipe commits (assuming the floating2 merge will ever happen). Those are for you guys to decide if you want them or not.<br><br>Marek<br><br><div class="gmail_quote">
On Mon, Mar 7, 2011 at 9:41 AM, Jose Fonseca <span dir="ltr"><<a href="mailto:jfonseca@vmware.com">jfonseca@vmware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Ok. Thanks.<br>
<br>
My comments to Luca concerning llvmpipe changes still hold true -- this is not how I want this to be implemented in llvmpipe and I'd prefer to see the llvmpipe changes backed out. I don't want the 99% common case (bgra8 unorm) to be slower, just to cover the 1% (everything else).<br>
<br>
Otherwise I have no objection to merge the branch, and unconditionally enable the extensions in question for swrast/softpipe/llvmpipe, given that there is prior art of sampling/renderingfloating point textures in software by the patent author's own admission.<br>
<br>
I'll leave to others to decide what to do for other hardware drivers.<br>
<br>
Jose<br>
<br>
________________________________________<br>
From: Marek Olšák [<a href="mailto:maraeo@gmail.com">maraeo@gmail.com</a>]<br>
Sent: Sunday, March 06, 2011 18:50<br>
To: Jose Fonseca<br>
Cc: Lucas Stach; Mesa Devel List<br>
<div class="im">Subject: Re: [Mesa-dev] Merge floating to master<br>
<br>
</div><div class="im">José,<br>
<br>
I think he was referrring to this branch:<br>
<br>
</div><a href="http://cgit.freedesktop.org/%7Emareko/mesa/log/?h=floating2" target="_blank">http://cgit.freedesktop.org/~mareko/mesa/log/?h=floating2</a><<a href="http://cgit.freedesktop.org/%7Emareko/mesa/log/?h=floating2" target="_blank">http://cgit.freedesktop.org/%7Emareko/mesa/log/?h=floating2</a>><br>
<div class="im"><br>
It's based on the Luca Barbieri's branch with additional bug fixes and improvements and it's been tested with r300g, which now has *complete* floating-point texture and renderbuffer support, in addition to softpipe.<br>
<br>
There are a lot of piglit tests for ARB_texture_float and ARB_color_buffer_float, which test these features:<br>
- texturing and wrap modes<br>
- texture swizzling<br>
- texture border color<br>
- mipmapping and generatemipmap<br>
- clearing<br>
- blending<br>
- alphatest<br>
- clamping controls<br>
all with floating-point formats.<br>
<br>
The display list support for glClampColorARB is missing, but otherwise the float support can be considered stable and it passes most of the tests (more than proprietary drivers do).<br>
<br>
I constantly keep it in sync with master (recently I have been rebasing it instead of doing git merges). The Luca's commits are squashed to have one commit per feature/component and to allow for easier review. Each commit has its own history for reference.<br>
<br>
Marek<br>
<br>
<br>
</div><div class="im">On Sun, Mar 6, 2011 at 7:09 PM, Jose Fonseca <<a href="mailto:jfonseca@vmware.com">jfonseca@vmware.com</a><mailto:<a href="mailto:jfonseca@vmware.com">jfonseca@vmware.com</a>>> wrote:<br>
Lucas,<br>
<br>
First things first: what branch are you referring to exactly? The floating branch doesn't match your description -- it hasn't been updated my Marek or anybody else in a long time.<br>
<br>
Jose<br>
<br>
________________________________________<br>
</div>From: mesa-dev-bounces+jfonseca=<a href="http://vmware.com" target="_blank">vmware.com</a><<a href="http://vmware.com" target="_blank">http://vmware.com</a>>@<a href="http://lists.freedesktop.org" target="_blank">lists.freedesktop.org</a><<a href="http://lists.freedesktop.org" target="_blank">http://lists.freedesktop.org</a>> [mesa-dev-bounces+jfonseca=<a href="http://vmware.com" target="_blank">vmware.com</a><<a href="http://vmware.com" target="_blank">http://vmware.com</a>>@<a href="http://lists.freedesktop.org" target="_blank">lists.freedesktop.org</a><<a href="http://lists.freedesktop.org" target="_blank">http://lists.freedesktop.org</a>>] On Behalf Of Lucas Stach [<a href="mailto:dev@lynxeye.de">dev@lynxeye.de</a><mailto:<a href="mailto:dev@lynxeye.de">dev@lynxeye.de</a>>]<br>
<div><div></div><div class="h5">Sent: Sunday, March 06, 2011 13:13<br>
To: Mesa Devel List<br>
Subject: Re: [Mesa-dev] Merge floating to master<br>
<br>
Am Mittwoch, den 02.03.2011, 08:22 +0100 schrieb Lucas Stach:<br>
> Hello all,<br>
><br>
> I want to bring up a an issue discussed some time ago. The support for<br>
> floating point textures and rendertargets currently lives in a branch<br>
> maintained by Marek Olšák. It's nice to see Marek rebases this branch<br>
> from time to time, to bring it up to date, but I don't think this should<br>
> be a permanent state.<br>
><br>
> We need to discuss how we want to deal with patented features. I doubt<br>
> floating point support will be the last patented feature in the OpenGL<br>
> evolution.<br>
><br>
> I think the best way to go is to merge floating to master but only<br>
> expose the extensions in question if the user specifies something like<br>
> --enable-patented at compile time. From a lawyers sight it shouldn't<br>
> make a difference since currently the code for patented features like<br>
> s3tc and floating point support is laying around on the same public git<br>
> servers as mesa.<br>
><br>
> Merging this code into master should make it easier to maintain and I<br>
> see no legal problem if we let it up to the user whether to use this<br>
> code or compile his mesa without any patented features.<br>
><br>
> --Lucas<br>
<br>
This matter won't go away if we ignore it. We will never get full OpenGL<br>
3.0+ compliance if we don't merge in the floating branch.<br>
<br>
Attached you will find a patch against Marek's floating branch to hide<br>
the patented extensions behind a configure switch. Please ACK if you<br>
think we could merge in floating or give some opinion why you think we<br>
couldn't merge.<br>
<br>
Thanks,<br>
-- Lucas<br>
<br>
_______________________________________________<br>
mesa-dev mailing list<br>
</div></div><a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><mailto:<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a>><br>
<div><div></div><div class="h5"><a href="http://lists.freedesktop.org/mailman/listinfo/mesa-dev" target="_blank">http://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
<br>
</div></div></blockquote></div><br>