Hi Jerome,<br><br>I've ported your R600 Gallium3D driver to current mesa git. The list of changes:<br><br>- Wrapped the buffer and texture create/destroy/transfer/... functions using u_resource, which is then used to implement the resource functions.<br>
- Implemented texture transfers. I left the buffer and texture transfers separate because one day we'll need a special codepath for textures.<br>- Added index_bias to the draw_*elements functions.<br>- Removed nonexistent *REP and *FOR instructions.<br>
- Some pipe formats have changed channel ordering, so I've removed/fixed nonexistent ones.<br>- Added stubs for create/set/destroy sampler views.<br>- Added a naive implementation of vertex elements state (new CSO).<br>
- Reworked {texture,buffer}_{from,to}_handle.<br>- Reorganized winsys files, removed dri,egl,python directories (other hw drivers don't have them too).<br>- Added a new build target dri-r600.<br><br>The winsys code is untouched besides r600_drm.c, which had to be ported too. The scons build is not wired up yet. Other than that, it's compile- and link-tested.<br>
<br>It's all here: <a href="http://cgit.freedesktop.org/%7Emareko/mesa/log/?h=r600g" target="_blank">http://cgit.freedesktop.org/~mareko/mesa/log/?h=r600g</a><br>Sorry for making just one commit (it wouldn't compile in between). Given the list of changes here, it shouldn't be hard to follow it.<br>
<br>-Marek<br>