|
|
|
@@ -27,6 +27,9 @@ |
|
|
|
#include <ggi/internal/ggi-dl.h> |
|
|
|
#include <ggi/mesa/ggimesa_int.h> |
|
|
|
|
|
|
|
#include "../../swrast/swrast.h" |
|
|
|
#include "../../swrast_setup/swrast_setup.h" |
|
|
|
|
|
|
|
/**********************************************************************/ |
|
|
|
/***** Write spans of pixels *****/ |
|
|
|
/**********************************************************************/ |
|
|
|
@@ -313,6 +316,9 @@ int GGIsetup_driver(GGIMesaContext ggictx,struct ggi_mesa_info *info) |
|
|
|
ctx->Driver.ReadRGBASpan = GGIread_rgba_span; |
|
|
|
ctx->Driver.ReadCI32Pixels = GGIread_ci32_pixels; |
|
|
|
ctx->Driver.ReadRGBAPixels = GGIread_rgba_pixels; |
|
|
|
|
|
|
|
ctx->Driver.RegisterVB = _swsetup_RegisterVB; |
|
|
|
ctx->Driver.RegisterVB = _swsetup_UnregisterVB; |
|
|
|
|
|
|
|
return 0; |
|
|
|
} |
|
|
|
@@ -339,7 +345,7 @@ void GGItriangle_flat(GLcontext *ctx,GLuint v0,GLuint v1,GLuint v2,GLuint pv) |
|
|
|
#define INNER_LOOP(LEFT,RIGHT,Y) \ |
|
|
|
ggiDrawHLine(VIS,LEFT,FLIP(Y),RIGHT-LEFT); |
|
|
|
|
|
|
|
#include "tritemp.h" |
|
|
|
//#include "tritemp.h" |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@@ -380,7 +386,7 @@ void GGItriangle_flat_depth(GLcontext *ctx, GLuint v0, GLuint v1, GLuint v2, GLu |
|
|
|
if (length) ggiDrawHLine(VIS,startx,yy,length); \ |
|
|
|
} |
|
|
|
|
|
|
|
#include "tritemp.h" |
|
|
|
//#include "tritemp.h" |
|
|
|
} |
|
|
|
|
|
|
|
|