diff options
author | rodri <rgl@antares-labs.eu> | 2024-03-25 22:25:32 +0000 |
---|---|---|
committer | rodri <rgl@antares-labs.eu> | 2024-03-25 22:25:32 +0000 |
commit | 0874435504c0816c0e5f11a2e852507626fe185e (patch) | |
tree | ac42078e476358ce3c0131e6a5da19fc4aebd9e8 /internal.h | |
parent | 764afe37e2438498bcace9de56b9618565b7cd34 (diff) | |
download | libgraphics-0874435504c0816c0e5f11a2e852507626fe185e.tar.gz libgraphics-0874435504c0816c0e5f11a2e852507626fe185e.tar.bz2 libgraphics-0874435504c0816c0e5f11a2e852507626fe185e.zip |
implement a (partially) concurrent pipeline.
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -1,3 +1,10 @@ +typedef struct Jobqueue Jobqueue; + +struct Jobqueue +{ + Renderjob *hd, *tl; +}; + /* alloc */ void *emalloc(ulong); void *erealloc(void*, ulong); @@ -9,9 +16,6 @@ void rmfb(Framebuf*); Framebufctl *mkfbctl(Rectangle); void rmfbctl(Framebufctl*); -/* render */ -void shade(Framebuf*, Scene*, Shader*); - /* vertex */ Vertex dupvertex(Vertex*); void lerpvertex(Vertex*, Vertex*, Vertex*, double); |