|
srp
software rendering pipeline
|
#include <math.h>#include <stdlib.h>#include "raster/line.h"#include "raster/fragment.h"#include "pipeline/interpolation.h"#include "pipeline/vertex_processing.h"#include "srp/context.h"#include "utils/voidptr.h"#include "utils/message_callback_p.h"
Functions | |
| static void | lineInterpolateData (SRPLine *line, float t, const SRPShaderProgram *restrict sp, SRPInterpolated *pInterpolatedBuffer, float *depth, float *recIntInvW) |
| void | rasterizeLine (SRPLine *line, const SRPFramebuffer *fb, const SRPShaderProgram *restrict sp, void *interpolatedBuffer) |
| void | setupLine (SRPLine *line, const SRPFramebuffer *fb) |
Line rasterization implementation