Module: Mesa
Branch: gallium-resources
Commit: f07b2c836958bee5796899123eca4ed05ac6242b
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f07b2c836958bee5796899123eca4ed05ac6242b

Author: Keith Whitwell <[email protected]>
Date:   Sat Mar 20 11:47:03 2010 +0000

r300: convert to pipe_resources

Do a very shallow conversion - basically keeping the existing
buffer and texture code intact and using a vtbl struct
inside our resource struct to select between the two implementations.

The buffer and texture treatments could be further merged without
much effort, but try to keep the existing code working at this point.

---

 src/gallium/drivers/r300/Makefile             |    1 +
 src/gallium/drivers/r300/r300_context.c       |   31 +--
 src/gallium/drivers/r300/r300_context.h       |   10 +-
 src/gallium/drivers/r300/r300_emit.c          |    6 +-
 src/gallium/drivers/r300/r300_emit.h          |    2 +-
 src/gallium/drivers/r300/r300_query.c         |   19 +-
 src/gallium/drivers/r300/r300_render.c        |   92 +++++----
 src/gallium/drivers/r300/r300_render.h        |    6 +-
 src/gallium/drivers/r300/r300_resource.c      |  100 +++++++++
 src/gallium/drivers/r300/r300_screen.c        |    3 +-
 src/gallium/drivers/r300/r300_screen.h        |    2 +
 src/gallium/drivers/r300/r300_screen_buffer.c |  284 +++++++++++++++---------
 src/gallium/drivers/r300/r300_screen_buffer.h |   23 ++-
 src/gallium/drivers/r300/r300_state.c         |   27 ++--
 src/gallium/drivers/r300/r300_state_derived.c |    4 +-
 src/gallium/drivers/r300/r300_texture.c       |  243 +++++++++++----------
 src/gallium/drivers/r300/r300_texture.h       |   39 +++-
 src/gallium/drivers/r300/r300_transfer.c      |  129 +++++------
 src/gallium/drivers/r300/r300_transfer.h      |   20 ++-
 src/gallium/drivers/r300/r300_winsys.h        |    9 +-
 20 files changed, 630 insertions(+), 420 deletions(-)

Diff:   
http://cgit.freedesktop.org/mesa/mesa/diff/?id=f07b2c836958bee5796899123eca4ed05ac6242b
_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to