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 interfaces and therefore
> everything else becomes optional
> 
> - move all OS abstractions to a separate optional module so that porting
> to new platforms is easier -- there will be a clear list of functions
> that need to be implemented
> 
> 
> The only planned interface change is pipe_reference -- it will be
> reduced to an ordinary int32_t -- which is key to achieve the above.
> Implementations of gallium should use p_atomic or their version of
> atomic operations. For platforms without hardware-support atomic
> operations (I personally don't know any interesting platform that fits
> the profile) gallium will either be single threaded or a global mutex
> should be acquired before incrementing refcounts. 
> 
> 
> In summary there will be three levels of integration with gallium:
> 
> 1 - just the gallium interfaces, mean and lean
> 
> 2 - gallium interfaces and auxiliary modules but no OS abstractions
> (e.g. for embedded platforms)
> 
> 3 - everything (interfaces + auxiliary + os abstractions). all existing
> platforms (linux, windows, etc)
> 
> 
> If there are any concerns with this direction please let me know as soon
> as possible.
> 
> 
> Jose

The branch is ready for merge.

There are no gallium interface per se, just shuffling stuff around. The
interesting bits are:

 - 
http://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/auxiliary/os?h=gallium-embedded
 - 
http://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/include/pipe?h=gallium-embedded

  git diff --diff-filter=M 
5cc20a06b05bd551b663c050fb4802e2658decd5..origin/gallium-embedded -- 
src/gallium/include/pipe/

Let me know there are objections/suggestionns.

Jose


------------------------------------------------------------------------------
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 services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to