comparison TaskManager/Test/test_render/spe/DrawSpan.cpp @ 318:7efc5ede2c03

Document/Cerium_2009.mm
author aaa
date Tue, 09 Jun 2009 22:55:00 +0900
parents 2ddf79a7c5fb
children f64d75473f95
comparison
equal deleted inserted replaced
317:ca2d52243f92 318:7efc5ede2c03
1 #define DEBUG
2 #include "error.h"
3
4 #include <stdlib.h> 1 #include <stdlib.h>
5 #include <string.h> 2 #include <string.h>
6 #include <spu_intrinsics.h> 3 #include <spu_intrinsics.h>
7 #include "DrawSpan.h" 4 #include "DrawSpan.h"
8 #include "polygon_pack.h" 5 #include "polygon_pack.h"
558 } 555 }
559 556
560 int 557 int
561 DrawSpan::run(void *rbuf, void *wbuf) 558 DrawSpan::run(void *rbuf, void *wbuf)
562 { 559 {
563 __debug_spe("DrawSpan\n");
564 SpanPackPtr spack = (SpanPackPtr)smanager->get_input(0); 560 SpanPackPtr spack = (SpanPackPtr)smanager->get_input(0);
565 SpanPackPtr next_spack = (SpanPackPtr)smanager->allocate(sizeof(SpanPack)); 561 SpanPackPtr next_spack = (SpanPackPtr)smanager->allocate(sizeof(SpanPack));
566 SpanPackPtr free_spack = next_spack; // next_spack の free() 用 562 SpanPackPtr free_spack = next_spack; // next_spack の free() 用
567 Span *span; 563 Span *span;
568 564