diff options
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 24 |
1 files changed, 16 insertions, 8 deletions
@@ -1,21 +1,29 @@ typedef struct Tilerparam Tilerparam; +typedef struct Rasterparam Rasterparam; typedef struct Rastertask Rastertask; -struct Rastertask -{ - SUparams *params; - Rectangle wr; /* working rect */ - Primitive p; -}; - struct Tilerparam { + int id; Channel *paramsc; - Channel **tasksc; /* Channel*[nproc] */ + Channel **taskchans; /* Channel*[nproc] */ Rectangle *wr; /* Rectangle[nproc] */ ulong nproc; }; +struct Rasterparam +{ + int id; + Channel *taskc; +}; + +struct Rastertask +{ + SUparams *params; + Rectangle wr; /* working rect */ + Primitive p; +}; + /* alloc */ void *emalloc(ulong); void *erealloc(void*, ulong); |