Mercurial > hg > Game > Cerium
comparison TaskManager/Test/test_render/spe/DrawSpan.cpp @ 203:1eba8570808c draft
fix CreateSpan::run
author | gongo@localhost.localdomain |
---|---|
date | Mon, 26 Jan 2009 18:30:35 +0900 |
parents | efd7e4712342 |
children | de235e3ef9d3 |
comparison
equal
deleted
inserted
replaced
202:76bf19f9e305 | 203:1eba8570808c |
---|---|
267 // このタスクが担当する x の範囲 | 267 // このタスクが担当する x の範囲 |
268 int rangex = rangex_end - rangex_start + 1; | 268 int rangex = rangex_end - rangex_start + 1; |
269 | 269 |
270 // y の範囲 | 270 // y の範囲 |
271 int rangey = smanager->get_param(4); | 271 int rangey = smanager->get_param(4); |
272 | 272 |
273 hash = (TileHashPtr)smanager->global_get(GLOBAL_TEXTURE_HASH); | 273 hash = (TileHashPtr)smanager->global_get(GLOBAL_TEXTURE_HASH); |
274 tileList = (TileListPtr)smanager->global_get(GLOBAL_TILE_LIST); | 274 tileList = (TileListPtr)smanager->global_get(GLOBAL_TILE_LIST); |
275 | 275 |
276 zRow = zRow_init(rangex, rangey); | 276 zRow = zRow_init(rangex, rangey); |
277 linebuf = linebuf_init(rangex, rangey, 0xffffffff); | 277 linebuf = linebuf_init(rangex, rangey, 0xffffffff); |
568 } | 568 } |
569 } | 569 } |
570 } | 570 } |
571 } | 571 } |
572 | 572 |
573 | |
574 smanager->dma_wait(SPAN_PACK_LOAD); | 573 smanager->dma_wait(SPAN_PACK_LOAD); |
575 | 574 |
576 SpanPackPtr tmp_spack = spack; | 575 SpanPackPtr tmp_spack = spack; |
577 spack = next_spack; | 576 spack = next_spack; |
578 next_spack = tmp_spack; | 577 next_spack = tmp_spack; |