Re: [Mesa3d-dev] Bringing i965g to master

2010-02-05 Thread Keith Whitwell
On Fri, Feb 5, 2010 at 12:15 AM, Mike Lothian wrote: > On 21 December 2009 22:02, Keith Whitwell wrote: >> I put i965g on a branch initially, but there's no particular reason for it >> being there - other drivers are being developed on master and it would be >> preferable to have it up-to-date

Re: [Mesa3d-dev] [Nouveau] [RFC] Merge of a reincarnation of the nouveau classic mesa driver.

2010-02-05 Thread Keith Whitwell
On Thu, Feb 4, 2010 at 6:39 PM, Keith Whitwell wrote: > On Tue, Feb 2, 2010 at 11:45 PM, Brian Paul wrote: >> Xavier Chantry wrote: >>> On Tue, Feb 2, 2010 at 12:01 PM, Francisco Jerez >>> wrote: For a long time the gallium pipe drivers for nvidia fixed function cards (nv0x, nv1x and,

[Mesa3d-dev] call for testers: galllium-screen-context branch

2010-02-05 Thread Keith Whitwell
We've had a couple of cleanups that we've wanted to do in gallium for as long as I can remember. One of which is to remove all the random context-creation calls and funnel them through something sensible like a context_create() call in pipe_screen. The gallium-screen-context branch does exactly t

Re: [Mesa3d-dev] [RFC] gallium-cylindrical-wrap branch

2010-02-05 Thread michal
Brian Paul wrote on 2010-02-04 22:07: > michal wrote: > >> Brian Paul wrote on 2010-02-03 17:58: >> >>> Keith Whitwell wrote: >>> >>> >> Michal, >> >> why do you need this for linear interpolator and not perspective? I >> think d3d mobile let you disable perspectiv

[Mesa3d-dev] Continue to allow building src/glx on current distros

2010-02-05 Thread Keith Whitwell
Jesse, Can you take a look at the attached patch? I'd really like to be able to build mesa and the DRI drivers on current distros (eg Ubuntu 9.10) without having to pull in heaps of dependencies. The patch adds #ifdefs to protect against the newer DRI2 protocol changes, meaning I can build-test

Re: [Mesa3d-dev] st_api: a replacement for st_public.h

2010-02-05 Thread José Fonseca
On Thu, 2010-02-04 at 21:23 -0800, Chia-I Wu wrote: > Hi Keith, > > Thanks for having a closer look. > > On Thu, Feb 4, 2010 at 9:31 PM, Keith Whitwell > wrote: > >> As st_api.h can be implemented parallelly with st_public.h, a possible > >> route I > >> would like to take is to (in this order)

[Mesa3d-dev] empty vertex buffers

2010-02-05 Thread Joakim Sindholt
Let's assume I have an array of vertex elements that indicate position/color in vertex buffer #3. Let's also for the sake of argument say that there is nothing else in my vertex elements. No other buffers are being pointed to. Is it legal for me to pipe_context::set_vertex_buffers with an array siz

Re: [Mesa3d-dev] st_api: a replacement for st_public.h

2010-02-05 Thread Chia-I Wu
On Fri, Feb 5, 2010 at 7:40 PM, José Fonseca wrote: > On Thu, 2010-02-04 at 21:23 -0800, Chia-I Wu wrote: >> On Thu, Feb 4, 2010 at 9:31 PM, Keith Whitwell >> wrote: >> >> As st_api.h can be implemented parallelly with st_public.h, a possible >> >> route I >> >> would like to take is to (in this

Re: [Mesa3d-dev] [RFC] gallium-cylindrical-wrap branch

2010-02-05 Thread michal
michal wrote on 2010-02-05 11:05: > Brian Paul wrote on 2010-02-04 22:07: > >> michal wrote: >> >> >>> Brian Paul wrote on 2010-02-03 17:58: >>> >>> Keith Whitwell wrote: >>> Michal, >>> >>> why do you need this for linear in

Re: [Mesa3d-dev] Continue to allow building src/glx on current distros

2010-02-05 Thread Jesse Barnes
On Fri, 5 Feb 2010 10:08:44 + Keith Whitwell wrote: > Jesse, > > Can you take a look at the attached patch? I'd really like to be able > to build mesa and the DRI drivers on current distros (eg Ubuntu 9.10) > without having to pull in heaps of dependencies. The patch adds > #ifdefs to prot

Re: [Mesa3d-dev] [RFC] gallium-cylindrical-wrap branch

2010-02-05 Thread Brian Paul
michal wrote: > michal wrote on 2010-02-05 11:05: >> Brian Paul wrote on 2010-02-04 22:07: >> >>> michal wrote: >>> >>> Brian Paul wrote on 2010-02-03 17:58: > Keith Whitwell wrote: > > > Michal, why

[Mesa3d-dev] OSMesa symbol exports

2010-02-05 Thread tom fogal
A couple symbols are missing from the osmesa.def file. On Windows, this causes OSMesaGetProcAddress to be named "_osmesagetprocaddr...@4", which breaks some of our code to dynamically load OpenGL. The attached patch fixes the symbol names, verified via depends.exe. It's against 7_7_branch but pro

[Mesa3d-dev] [PATCH] Fix a typo in mesa3d.org HTML

2010-02-05 Thread tom fogal
From 99fbfe43dad3efae04749ab9da164c0e849bd836 Mon Sep 17 00:00:00 2001 From: Tom Fogal Date: Fri, 5 Feb 2010 13:11:25 -0700 Subject: [PATCH] Fix a typo in mesa3d.org HTML. --- docs/repository.html |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/docs/repository.html b/do

Re: [Mesa3d-dev] OSMesa symbol exports

2010-02-05 Thread Brian Paul
tom fogal wrote: > A couple symbols are missing from the osmesa.def file. On Windows, > this causes OSMesaGetProcAddress to be named "_osmesagetprocaddr...@4", > which breaks some of our code to dynamically load OpenGL. > > The attached patch fixes the symbol names, verified via depends.exe. > It

Re: [Mesa3d-dev] [PATCH] Fix a typo in mesa3d.org HTML

2010-02-05 Thread Brian Paul
Committed. Thanks. -Brian -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management service

[Mesa3d-dev] [RFC] reduce number of visuals exposed by Intel drivers

2010-02-05 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'd like to remove a bunch of the visuals and fbconfigs exposed by the Intel drivers. There are several categories of visuals that are likely not useful to anyone. A couple of our test suites (e.g., glean) like to run over every possible visual. As

Re: [Mesa3d-dev] [RFC] reduce number of visuals exposed by Intel drivers

2010-02-05 Thread Corbin Simpson
I'm cool with that. There's actually a couple Gallium fbconfig things I wanna bring up, but I'll start another thread for those. On Fri, Feb 5, 2010 at 1:01 PM, Ian Romanick wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I'd like to remove a bunch of the visuals and fbconfigs expose

Re: [Mesa3d-dev] [Intel-gfx] [RFC] reduce number of visuals exposed by Intel drivers

2010-02-05 Thread Kristian Høgsberg
On Fri, Feb 5, 2010 at 4:01 PM, Ian Romanick wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I'd like to remove a bunch of the visuals and fbconfigs exposed by the > Intel drivers.  There are several categories of visuals that are likely > not useful to anyone.  A couple of our test s

[Mesa3d-dev] Gallium DRI fbconfig/visual setup

2010-02-05 Thread Corbin Simpson
Two things... Are accumbufs still slow in Gallium-land? Should we still mark them as slow? How many multisamples should we actually pretend/advertise? Should we have a cap to check the number of multisamples supported? Should we just say that four samples are done for the fbconfig/visual, and the

Re: [Mesa3d-dev] [RFC] reduce number of visuals exposed by Intel drivers

2010-02-05 Thread Brian Paul
Ian Romanick wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I'd like to remove a bunch of the visuals and fbconfigs exposed by the > Intel drivers. There are several categories of visuals that are likely > not useful to anyone. A couple of our test suites (e.g., glean) like to > ru

[Mesa3d-dev] [Bug 25994] [i915][GLSL] 'return' statement in vertex shader may cause GPU hang

2010-02-05 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=25994 Jesse Barnes changed: What|Removed |Added AssignedTo|jbar...@virtuousgeek.org|i...@freedesktop.org -- Configure bug

[Mesa3d-dev] [PATCH 1/2] libgl: Enable compiling libGL without GLX functions and X dependencies

2010-02-05 Thread Kristian Høgsberg
This lets us link EGL apps with libGL without pulling in X dependencies. --- configs/autoconf.in |2 + configure.ac| 99 +++ src/gallium/state_trackers/egl/Makefile |1 + src/glx/x11/Makefile|

[Mesa3d-dev] [PATCH 0/2] Make GLX optional in libGL

2010-02-05 Thread Kristian Høgsberg
These two patches move things around in GLX a bit. To make it possible to use libGL with EGL on framebuffer without pulling in X dependencies this patch make the GLX entry points and all the indirect API a ./configure time option. When disabled, libGL is essentially just glapi and needs libEGL to

Re: [Mesa3d-dev] Gallium DRI fbconfig/visual setup

2010-02-05 Thread Roland Scheidegger
On 05.02.2010 22:48, Corbin Simpson wrote: > Two things... > > Are accumbufs still slow in Gallium-land? Should we still mark them as slow? > > How many multisamples should we actually pretend/advertise? Should we > have a cap to check the number of multisamples supported? Should we > just say th

[Mesa3d-dev] [PATCH] Gallium: Add Solaris atomic function definitions to u_atomic.h

2010-02-05 Thread Alan Coopersmith
Signed-off-by: Alan Coopersmith --- src/gallium/auxiliary/util/u_atomic.h | 36 - 1 files changed, 35 insertions(+), 1 deletions(-) diff --git a/src/gallium/auxiliary/util/u_atomic.h b/src/gallium/auxiliary/util/u_atomic.h index 540112f..e4750c0 100644 --- a/sr

Re: [Mesa3d-dev] [PATCH] Gallium: Add Solaris atomic function definitions to u_atomic.h

2010-02-05 Thread Jose Fonseca
From: Alan Coopersmith [alan.coopersm...@sun.com] Sent: Saturday, February 06, 2010 3:37 To: mesa3d-dev@lists.sourceforge.net Cc: Alan Coopersmith Subject: [Mesa3d-dev] [PATCH] Gallium: Add Solaris atomic function definitions to u_atomic.h Signed-off

Re: [Mesa3d-dev] [PATCH] Gallium: Add Solaris atomic function definitions to u_atomic.h

2010-02-05 Thread Alan Coopersmith
Jose Fonseca wrote: > +#ifdef __cplusplus > +extern "C" { > +#endif > + > +#include > > It's probably fine for Solaris, but putting OS includes inside extern "C" > sometimes causes problems -- it does with certain MS headers. > > Other than that it looks fine. Hmm, hadn't thought about it - do

Re: [Mesa3d-dev] [PATCH] Gallium: Add Solaris atomic function definitions to u_atomic.h

2010-02-05 Thread Jose Fonseca
I think nested extern "C" is alright. The problem I hit was that the header provided some optional C++ interfaces, and the compiler barfed at having C++ inside extern "C" { .. }. Jose From: alan.coopersm...@sun.com [alan.coopersm...@sun.com] Sent: Saturd