Re: [Mesa3d-dev] [radeonhd] Re: Status of s3tc patent in respect to open-source drivers and workarounds

2010-03-29 Thread SpliFF
On 03/29/10 15:34, Corbin Simpson wrote: There is already a non-infringing decoder inside Mesa, wired up correctly, that kicks in when the HW supports it, but there's no extension that exposes only decoding and loading functionality. As Ian said, you need an encoder as well, and no HW has it,

Re: [Mesa3d-dev] [Nouveau] [radeonhd] Re: Status of s3tc patent in respect to open-source drivers and workarounds

2010-03-29 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stephane Marchesin wrote: The core issue is that some people do not want to see this code in mesa in whatever form, because they're afraid of lawsuits. Rumour has it that VIA told them that they would sue. And the same things happened with SGI

Re: [Mesa3d-dev] [radeonhd] Re: Status of s3tc patent in respect to open-source drivers and workarounds

2010-03-29 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 SpliFF wrote: So to clarify, you're saying a partial implementation (decoder only) isn't an option at all? If you expose an extension it must be complete? See the documentation for glGetCompressedTexImage. -BEGIN PGP SIGNATURE- Version:

Re: [Mesa3d-dev] gallium raw interfaces

2010-03-29 Thread Chia-I Wu
On Mon, Mar 29, 2010 at 1:51 AM, Keith Whitwell keith.whitw...@googlemail.com wrote: I've just pushed a variation on a theme a couple of people have explored in the past, ie. an interface to gallium without an intervening state-tracker. The purpose of this is for writing minimal test programs

Re: [Mesa3d-dev] [Nouveau] [radeonhd] Re: Status of s3tc patent in respect to open-source drivers and workarounds

2010-03-29 Thread Luca Barbieri
Interestingly, the post-trial judge opinion at http://wi.findacase.com/research/wfrmDocViewer.aspx/xq/fac.%5CFDCT%5CWWI%5C2008%5C20080801_734.WWI.htm/qx contains the following text: Plaintiff’s expert, Dr. Stevenson, testified that the ‘327 patent is directed to “a special purpose hardware

Re: [Mesa3d-dev] Status of s3tc patent in respect to open-source drivers and workarounds

2010-03-29 Thread SpliFF
On 03/29/10 17:06, Ian Romanick wrote: SpliFF wrote: So to clarify, you're saying a partial implementation (decoder only) isn't an option at all? If you expose an extension it must be complete? See the documentation for glGetCompressedTexImage. That does not appear to imply a run-time

Re: [Mesa3d-dev] Status of s3tc patent in respect to open-source drivers and workarounds

2010-03-29 Thread Corbin Simpson
On Mon, Mar 29, 2010 at 1:20 AM, SpliFF spl...@warriorhut.org wrote: On 03/29/10 17:06, Ian Romanick wrote: SpliFF wrote: So to clarify, you're saying a partial implementation (decoder only) isn't an option at all? If you expose an extension it must be complete? See the documentation for

Re: [Mesa3d-dev] gallium cached bufmgr busy change

2010-03-29 Thread José Fonseca
On Tue, 2010-03-23 at 02:07 -0700, Dave Airlie wrote: On Mon, Mar 8, 2010 at 5:51 PM, Jose Fonseca jfons...@vmware.com wrote: Dave, I don't oppose this new method -- it shouldn't be necessary to add fencing just to use pb_cache --, but this method adds a new way of doing the same

Re: [Mesa3d-dev] [PATCH] glsl: optimize sqrt

2010-03-29 Thread Roland Scheidegger
On 29.03.2010 04:50, Marek Olšák wrote: We were talking a bit on IRC that the GLSL compiler implements the sqrt function somewhat inefficiently. Instead of rsq+rcp+cmp instructions as is in the original code, the proposed patch uses just rsq+mul. Please see the patch log for further

Re: [Mesa3d-dev] Separate demos repository

2010-03-29 Thread José Fonseca
On Wed, 2010-03-24 at 15:11 -0700, Eric Anholt wrote: People that hang out on IRC have probably heard about my build system work. One of the first steps I've been working on finishing is splitting out the demos repository. We're currently distributing the Mesa progs/ separately from the main

Re: [Mesa3d-dev] Status of s3tc patent in respect to open-source drivers and workarounds

2010-03-29 Thread Philipp Klaus Krause
Corbin Simpson schrieb: After re-reading ARB_texture_compression, it does seem like it is legal for extensions such as EXT_texture_compression_s3tc to fall back, using a basic mechanism: glGetTexLevelParameter can return GL_FALSE for GL_TEXTURE_COMPRESSED_ARB (now GL_TEXTURE_COMPRESSED) if

Re: [Mesa3d-dev] [Mesa3d-announce] Mesa 7.7.1 and Mesa 7.8 released!

2010-03-29 Thread Brian Paul
Ian Romanick wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Final versions of both Mesa 7.8 and 7.7.1 have been released. Links on the Mesa website will still need to be updated, but I think Brian has to do that. I'll do that soon. The tag in the GIT repository for Mesa 7.8 is

Re: [Mesa3d-dev] [PATCH] glsl: optimize sqrt

2010-03-29 Thread Brian Paul
Roland Scheidegger wrote: On 29.03.2010 04:50, Marek Olšák wrote: We were talking a bit on IRC that the GLSL compiler implements the sqrt function somewhat inefficiently. Instead of rsq+rcp+cmp instructions as is in the original code, the proposed patch uses just rsq+mul. Please see the

Re: [Mesa3d-dev] [Mesa3d-announce] Mesa 7.7.1 and Mesa 7.8 released!

2010-03-29 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian Paul wrote: Ian Romanick wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Final versions of both Mesa 7.8 and 7.7.1 have been released. Links on the Mesa website will still need to be updated, but I think Brian has to do that.

Re: [Mesa3d-dev] [Mesa3d-announce] Mesa 7.7.1 and Mesa 7.8 released!

2010-03-29 Thread Brian Paul
Ian Romanick wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian Paul wrote: Ian Romanick wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Final versions of both Mesa 7.8 and 7.7.1 have been released. Links on the Mesa website will still need to be updated, but I think Brian

Re: [Mesa3d-dev] [Mesa3d-announce] Mesa 7.7.1 and Mesa 7.8 released!

2010-03-29 Thread Brian Paul
Brian Paul wrote: Ian Romanick wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian Paul wrote: Ian Romanick wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Final versions of both Mesa 7.8 and 7.7.1 have been released. Links on the Mesa website will still need to be updated,

Re: [Mesa3d-dev] Status of s3tc patent in respect to open-source drivers and workarounds

2010-03-29 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 SpliFF wrote: On 03/29/10 17:06, Ian Romanick wrote: SpliFF wrote: So to clarify, you're saying a partial implementation (decoder only) isn't an option at all? If you expose an extension it must be complete? See the documentation for

Re: [Mesa3d-dev] Status of s3tc patent in respect to open-source drivers and workarounds

2010-03-29 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Philipp Klaus Krause wrote: Corbin Simpson schrieb: After re-reading ARB_texture_compression, it does seem like it is legal for extensions such as EXT_texture_compression_s3tc to fall back, using a basic mechanism: glGetTexLevelParameter can

Re: [Mesa3d-dev] Status of s3tc patent in respect to open-source drivers and workarounds

2010-03-29 Thread Philipp Klaus Krause
Ian Romanick schrieb: Philipp Klaus Krause wrote: Corbin Simpson schrieb: After re-reading ARB_texture_compression, it does seem like it is legal for extensions such as EXT_texture_compression_s3tc to fall back, using a basic mechanism: glGetTexLevelParameter can return GL_FALSE for

[Mesa3d-dev] [Bug 17659] driver_configs never deallocated

2010-03-29 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=17659 --- Comment #2 from Kristof Ralovich kristof.ralov...@gmail.com 2010-03-29 12:54:52 PST --- (In reply to comment #1) (In reply to comment #0) Created an attachment (id=19010) -- (http://bugs.freedesktop.org/attachment.cgi?id=19010)

[Mesa3d-dev] [Bug 17659] driver_configs never deallocated

2010-03-29 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=17659 --- Comment #3 from Kristof Ralovich kristof.ralov...@gmail.com 2010-03-29 12:56:10 PST --- Also have a look at: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ce0ad53281f236424a72ae021f293a3a5ca69217 and

[Mesa3d-dev] [Bug 17659] driver_configs never deallocated

2010-03-29 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=17659 --- Comment #4 from Kristof Ralovich kristof.ralov...@gmail.com 2010-03-29 12:57:15 PST --- http://cgit.freedesktop.org/mesa/mesa/commit/?id=45f4e8842e3dae9d8be2a38769a57a524fdc335f -- Configure bugmail:

Re: [Mesa3d-dev] [Mesa3d-announce] Mesa 7.7.1 and Mesa 7.8 released!

2010-03-29 Thread Dan Nicholson
On Mon, Mar 29, 2010 at 11:03 AM, Brian Paul bri...@vmware.com wrote: Brian Paul wrote: Ian Romanick wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian Paul wrote: Ian Romanick wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Final versions of both Mesa 7.8 and 7.7.1 have

Re: [Mesa3d-dev] [Mesa3d-announce] Mesa 7.7.1 and Mesa 7.8 released!

2010-03-29 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dan Nicholson wrote: On Mon, Mar 29, 2010 at 11:03 AM, Brian Paul bri...@vmware.com wrote: Brian Paul wrote: Ian Romanick wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian Paul wrote: Ian Romanick wrote: -BEGIN PGP SIGNED

Re: [Mesa3d-dev] Status of s3tc patent in respect to open-source drivers and workarounds

2010-03-29 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Philipp Klaus Krause wrote: Well, there is TexSubImage2D. Assuming we have a compressed texture stored internally as some S3TC format and then the application replaces part of it using TexSubImage2D. According to ARB_texture_compression we may

Re: [Mesa3d-dev] Merging gallium-st-api

2010-03-29 Thread Chia-I Wu
On Tue, Mar 30, 2010 at 5:53 AM, José Fonseca jfons...@vmware.com wrote: This is visinfo:  {visual = 0x617588, visualid = 37, screen = 0, depth = 16, class = 4, red_mask = 63, green_mask = 1984, blue_mask = 63488, colormap_size = 64,  bits_per_rgb = 8} The problem is that

Re: [Mesa3d-dev] Status of s3tc patent in respect to open-source drivers and workarounds

2010-03-29 Thread Corbin Simpson
On Mon, Mar 29, 2010 at 5:50 PM, Ian Romanick i...@freedesktop.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Philipp Klaus Krause wrote: Well, there is TexSubImage2D. Assuming we have a compressed texture stored internally as some S3TC format and then the application replaces

Re: [Mesa3d-dev] GSOC: Gallium R300 driver

2010-03-29 Thread Tom Stellard
On Sat, Mar 27, 2010 at 02:11:54AM +0100, Marek Olšák wrote: From the driver point of view, we don't have to work on the GLSL compiler itself. The Mesa state tracker compiles GLSL to an assembler-like language called TGSI which is then translated ([1]) to the R300 compiler ([2]) shader

Re: [Mesa3d-dev] GSOC: Gallium R300 driver

2010-03-29 Thread Corbin Simpson
On Mon, Mar 29, 2010 at 10:09 PM, Tom Stellard tstel...@gmail.com wrote: On Sat, Mar 27, 2010 at 02:11:54AM +0100, Marek Olšák wrote: From the driver point of view, we don't have to work on the GLSL compiler itself. The Mesa state tracker compiles GLSL to an assembler-like language called

Re: [Mesa3d-dev] Status of s3tc patent in respect to open-source drivers and workarounds

2010-03-29 Thread Philipp Klaus Krause
Corbin Simpson schrieb: On Mon, Mar 29, 2010 at 5:50 PM, Ian Romanick i...@freedesktop.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Philipp Klaus Krause wrote: Well, there is TexSubImage2D. Assuming we have a compressed texture stored internally as some S3TC format and then the