- change the software renderer to render to a DSimpleCanvas like the old D3D9 target did. Then use the drawer threads to memcpy the result to the PBO
This commit is contained in:
parent
4d35b12808
commit
a841602d70
15 changed files with 70 additions and 28 deletions
|
|
@ -153,8 +153,8 @@ void ScreenTriangle::Draw(const TriDrawTriangleArgs *args, PolyTriangleThreadDat
|
|||
int x = leftEdge[y];
|
||||
int xend = rightEdge[y];
|
||||
|
||||
float *zbufferLine = args->zbuffer + args->pitch * y;
|
||||
uint8_t *stencilLine = args->stencilbuffer + args->pitch * y;
|
||||
float *zbufferLine = args->zbuffer + args->stencilpitch * y;
|
||||
uint8_t *stencilLine = args->stencilbuffer + args->stencilpitch * y;
|
||||
|
||||
float startX = x + (0.5f - v1X);
|
||||
float startY = y + (0.5f - v1Y);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue