Mesa (master): cell: remove old surface_map code

Brian Paul brianp at kemper.freedesktop.org
Thu Feb 19 04:50:42 UTC 2009


Module: Mesa
Branch: master
Commit: 734dc502b866995884fdbcae9c716b26c7838b9c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=734dc502b866995884fdbcae9c716b26c7838b9c

Author: Brian Paul <brianp at vmware.com>
Date:   Wed Feb 18 21:35:56 2009 -0700

cell: remove old surface_map code

---

 src/gallium/drivers/cell/ppu/cell_clear.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/src/gallium/drivers/cell/ppu/cell_clear.c b/src/gallium/drivers/cell/ppu/cell_clear.c
index c2e2769..39c5f93 100644
--- a/src/gallium/drivers/cell/ppu/cell_clear.c
+++ b/src/gallium/drivers/cell/ppu/cell_clear.c
@@ -77,11 +77,6 @@ cell_clear_surface(struct pipe_context *pipe, struct pipe_surface *ps,
    if (cell->dirty)
       cell_update_derived(cell);
 
-
-   if (!cell->cbuf_map[0])
-      cell->cbuf_map[0] = screen->surface_map(screen, ps,
-                                              PIPE_BUFFER_USAGE_GPU_WRITE);
-
    if (ps == cell->framebuffer.zsbuf) {
       /* clear z/stencil buffer */
       surfIndex = 1;




More information about the mesa-commit mailing list