Mesa (lp-surface-tiling): llvmpipe: rename some functions

Brian Paul brianp at kemper.freedesktop.org
Wed Apr 7 23:06:21 UTC 2010


Module: Mesa
Branch: lp-surface-tiling
Commit: b7d0ea9c687ac8773b083791623826fa604adf21
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b7d0ea9c687ac8773b083791623826fa604adf21

Author: Brian Paul <brianp at vmware.com>
Date:   Mon Apr  5 14:54:04 2010 -0600

llvmpipe: rename some functions

---

 src/gallium/drivers/llvmpipe/lp_rast.c |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/src/gallium/drivers/llvmpipe/lp_rast.c b/src/gallium/drivers/llvmpipe/lp_rast.c
index 4ebc90a..3cc4d7a 100644
--- a/src/gallium/drivers/llvmpipe/lp_rast.c
+++ b/src/gallium/drivers/llvmpipe/lp_rast.c
@@ -177,7 +177,7 @@ lp_rast_end( struct lp_rasterizer *rast )
  * \param y  window Y position of the tile, in pixels
  */
 static void
-lp_rast_start_tile(struct lp_rasterizer_task *task,
+lp_rast_tile_begin(struct lp_rasterizer_task *task,
                    unsigned x, unsigned y)
 {
 
@@ -540,7 +540,7 @@ outline_subtiles(uint8_t *tile)
  * This is just a debug hook.
  */
 static void
-lp_rast_finish_color_tile(struct lp_rasterizer_task *task)
+lp_rast_tile_end(struct lp_rasterizer_task *task)
 {
    struct lp_rasterizer *rast = task->rast;
    unsigned i;
@@ -589,7 +589,7 @@ rasterize_bin(struct lp_rasterizer_task *task,
    struct cmd_block *block;
    unsigned k;
 
-   lp_rast_start_tile( task, x * TILE_SIZE, y * TILE_SIZE );
+   lp_rast_tile_begin( task, x * TILE_SIZE, y * TILE_SIZE );
 
    /* simply execute each of the commands in the block list */
    for (block = commands->head; block; block = block->next) {
@@ -598,9 +598,7 @@ rasterize_bin(struct lp_rasterizer_task *task,
       }
    }
 
-   /* Done writing colors to this tile.
-    */
-   lp_rast_finish_color_tile(task);
+   lp_rast_tile_end(task);
 
    /* Free data for this bin.
     */




More information about the mesa-commit mailing list