Re: [Mesa3d-dev] RFC: gallium-embedded

2010-02-09 Thread Kristian Høgsberg
On Tue, Feb 9, 2010 at 9:49 AM, José Fonseca wrote: > On Tue, 2010-02-09 at 06:37 -0800, Kristian Høgsberg wrote: >> On Wed, Feb 3, 2010 at 1:41 PM, José Fonseca wrote: >> ... >> >> This reminds me there's a patch series from mesa3d-dev that removed a >> >> bunch of Mesa's std C wrappers (like _m

Re: [Mesa3d-dev] RFC: gallium-embedded

2010-02-09 Thread José Fonseca
On Tue, 2010-02-09 at 06:37 -0800, Kristian Høgsberg wrote: > On Wed, Feb 3, 2010 at 1:41 PM, José Fonseca wrote: > ... > >> This reminds me there's a patch series from mesa3d-dev that removed a > >> bunch of Mesa's std C wrappers (like _mesa_memcpy()). Mabye some of > >> those could be applied a

Re: [Mesa3d-dev] RFC: gallium-embedded

2010-02-09 Thread Kristian Høgsberg
On Wed, Feb 3, 2010 at 1:41 PM, José Fonseca wrote: ... >> This reminds me there's a patch series from mesa3d-dev that removed a >> bunch of Mesa's std C wrappers (like _mesa_memcpy()).  Mabye some of >> those could be applied after gallium-embedded but before the >> src/platform work. > > Great.

Re: [Mesa3d-dev] RFC: gallium-embedded

2010-02-03 Thread José Fonseca
On Wed, 2010-02-03 at 09:01 -0800, Brian Paul wrote: > José Fonseca wrote: > > On Wed, 2010-02-03 at 08:00 -0800, Kristian Høgsberg wrote: > >> On Wed, Feb 3, 2010 at 10:51 AM, José Fonseca wrote: > >>> On Wed, 2010-02-03 at 07:38 -0800, Kristian Høgsberg wrote: > On Wed, Feb 3, 2010 at 10:31

Re: [Mesa3d-dev] RFC: gallium-embedded

2010-02-03 Thread Brian Paul
José Fonseca wrote: > On Wed, 2010-02-03 at 08:00 -0800, Kristian Høgsberg wrote: >> On Wed, Feb 3, 2010 at 10:51 AM, José Fonseca wrote: >>> On Wed, 2010-02-03 at 07:38 -0800, Kristian Høgsberg wrote: On Wed, Feb 3, 2010 at 10:31 AM, Keith Whitwell wrote: > Historically we had a lot of

Re: [Mesa3d-dev] RFC: gallium-embedded

2010-02-03 Thread José Fonseca
On Wed, 2010-02-03 at 08:00 -0800, Kristian Høgsberg wrote: > On Wed, Feb 3, 2010 at 10:51 AM, José Fonseca wrote: > > On Wed, 2010-02-03 at 07:38 -0800, Kristian Høgsberg wrote: > >> On Wed, Feb 3, 2010 at 10:31 AM, Keith Whitwell wrote: > >> > Historically we had a lot of helpers in gallium/inc

Re: [Mesa3d-dev] RFC: gallium-embedded

2010-02-03 Thread Kristian Høgsberg
On Wed, Feb 3, 2010 at 10:51 AM, José Fonseca wrote: > On Wed, 2010-02-03 at 07:38 -0800, Kristian Høgsberg wrote: >> On Wed, Feb 3, 2010 at 10:31 AM, Keith Whitwell wrote: >> > Historically we had a lot of helpers in gallium/include, which have been >> > incrementally moved out to gallium/auxili

Re: [Mesa3d-dev] RFC: gallium-embedded

2010-02-03 Thread José Fonseca
On Wed, 2010-02-03 at 07:38 -0800, Kristian Høgsberg wrote: > On Wed, Feb 3, 2010 at 10:31 AM, Keith Whitwell wrote: > > Historically we had a lot of helpers in gallium/include, which have been > > incrementally moved out to gallium/auxiliary. > > Is there a way we can structure the code so that

Re: [Mesa3d-dev] RFC: gallium-embedded

2010-02-03 Thread Keith Whitwell
On Wed, 2010-02-03 at 07:38 -0800, Kristian Høgsberg wrote: > On Wed, Feb 3, 2010 at 10:31 AM, Keith Whitwell wrote: > > Historically we had a lot of helpers in gallium/include, which have been > > incrementally moved out to gallium/auxiliary. > > Is there a way we can structure the code so that

Re: [Mesa3d-dev] RFC: gallium-embedded

2010-02-03 Thread Kristian Høgsberg
On Wed, Feb 3, 2010 at 10:31 AM, Keith Whitwell wrote: > Historically we had a lot of helpers in gallium/include, which have been > incrementally moved out to gallium/auxiliary. Is there a way we can structure the code so that the atomic operations can be made available for core mesa (I guess I'm

Re: [Mesa3d-dev] RFC: gallium-embedded

2010-02-03 Thread Keith Whitwell
On Wed, 2010-02-03 at 07:12 -0800, Jakob Bornecrantz wrote: > Also the removal of some of the inlines seems a bit to harsh as well, > the pipe_buffer_{unmap|map} inlines for instance holds a bit of > semantics in them. In short about this and the p_atomic functions, I > view them as apart of the i

Re: [Mesa3d-dev] RFC: gallium-embedded

2010-02-03 Thread José Fonseca
On Wed, 2010-02-03 at 07:12 -0800, Jakob Bornecrantz wrote: > On Wed, Feb 3, 2010 at 12:58 PM, José Fonseca wrote: > > On Mon, 2010-02-01 at 08:31 -0800, José Fonseca wrote: > >> I've just started another feature branch, gallium-embedded. > >> > >> > >> The objectives of this branch are two-fold:

Re: [Mesa3d-dev] RFC: gallium-embedded

2010-02-03 Thread Jakob Bornecrantz
On Wed, Feb 3, 2010 at 12:58 PM, José Fonseca wrote: > On Mon, 2010-02-01 at 08:31 -0800, José Fonseca wrote: >> I've just started another feature branch, gallium-embedded. >> >> >> The objectives of this branch are two-fold: >> >> - remove all inlines and os dependencies from src/gallium/include/

Re: [Mesa3d-dev] RFC: gallium-embedded

2010-02-03 Thread José Fonseca
On Mon, 2010-02-01 at 08:31 -0800, José Fonseca wrote: > I've just started another feature branch, gallium-embedded. > > > The objectives of this branch are two-fold: > > - remove all inlines and os dependencies from src/gallium/include/pipe > headers, so that gallium interfaces become pure inte

[Mesa3d-dev] RFC: gallium-embedded

2010-02-01 Thread José Fonseca
I've just started another feature branch, gallium-embedded. The objectives of this branch are two-fold: - remove all inlines and os dependencies from src/gallium/include/pipe headers, so that gallium interfaces become pure interfaces and therefore everything else becomes optional - move all OS