srp
software rendering pipeline
Loading...
Searching...
No Matches
point.c File Reference
#include <math.h>
#include "raster/point.h"
#include "raster/fragment.h"
#include "pipeline/vertex_processing.h"
#include "srp/context.h"
#include "srp/color.h"
#include "math/utils.h"
Include dependency graph for point.c:

Functions

static bool computeMathAndRasterBoundaries (vec3 ss, float pointSize, const SRPFramebuffer *fb, vec2 *outMinBP, vec2 *outMaxBP, int *outMinX, int *outMaxX, int *outMinY, int *outMaxY)
 
void rasterizePoint (SRPPoint *point, const SRPFramebuffer *fb, const SRPShaderProgram *restrict sp)
 
void setupPoint (SRPPoint *p)
 

Detailed Description

Point rasterization implementation