Re: [Mesa-dev] TLS autodetection support in the X server

2010-12-22 Thread tom fogal
Alan Coopersmith writes: > On 12/22/10 02:30 PM, tom fogal wrote: > > We generally don't copy macros from the autoconf-archive into > xorg-macros, we just use them as is - adding *.m4 files to > packages that need them (especially when it's just one or two > packages, not most of X.Org's 200+ pac

Re: [Mesa-dev] TLS autodetection support in the X server

2010-12-22 Thread Alan Coopersmith
On 12/22/10 02:30 PM, tom fogal wrote: > I'm not really sure about any policy of adding a macro and requiring > it in another package; I had to bump the version number so that the X > server could be sure the macro exists. Not sure if that's the correct > thing to do. Please educate me. That is

[Mesa-dev] TLS autodetection support in the X server

2010-12-22 Thread tom fogal
Attached are two patches, one for util/macros and the second for xorg/xserver, which are aimed at getting --enable/--disable-glx-tls to be identified automatically, instead of defaulting to disabled. Lack of TLS leads to non-PIC code, which is particularly annoying in an SELinux environment. See:

[Mesa-dev] Floating-point formats from GL_ARB_texture_rg implemented

2010-12-22 Thread Marek Olšák
Hi, in case anyone is interested, I have implemented the floating-point formats from GL_ARB_texture_rg, namely R16F, RG16F, R32F, RG32F, for both core Mesa and st/mesa. The commits are here: http://cgit.freedesktop.org/~mareko/mesa/commit/?h=floating2&id=a68e9890451140f493d09f1dd2dd8dfc77ed29de h

[Mesa-dev] [Bug 32560] To fix: 64-bit-portabilty-issue state_tracker/st_program.c:427

2010-12-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=32560 Johannes Obermayr changed: What|Removed |Added AssignedTo|mesa-...@lists.freedesktop. |bri...@vmware.com

[Mesa-dev] [PATCH] mesa: preserve 10 bits of precision in the texstore general path for ARGB2101010

2010-12-22 Thread Marek Olšák
Use make_temp_float_image instead of _make_temp_chan_image. The latter converts the texture to 8 bits/component, losing 2 bits. This is a follow-up to my last patch series. --- src/mesa/main/colormac.h |6 +- src/mesa/main/texfetch_tmp.h |2 +- src/mesa/main/texstore.c | 32

Re: [Mesa-dev] XvMC gets iDCT support (at least on R600)

2010-12-22 Thread Andy Furniss
Christian König wrote: Thanks for the info, I fixed at least one bug which could cause this, but there are probably a bunch more. Please try again. I'm currently optimizing the shader generation in r600g a bit, I will try to fix the rest of the bugs when this is done. OK. It still crashes on q

Re: [Mesa-dev] [PATCH 01/12] st/mesa: use DXT SRGB formats for COMPRESSED_SRGB

2010-12-22 Thread Keith Whitwell
Marek, This series looks good to me. Keith On Tue, 2010-12-21 at 19:00 -0800, Marek Olšák wrote: > And also check if the formats are supported to return something meaningful > if compression cannot be used. > --- > src/mesa/state_tracker/st_format.c | 20 > 1 files change