summaryrefslogtreecommitdiff
path: root/src/lib/ector/software/ector_software_gradient.h
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2019-12-19 20:27:11 +0900
committerHermet Park <hermetpark@gmail.com>2019-12-19 20:30:31 +0900
commit11a1fc9f2b6c6da4bc0000acfdb7840248bb6c78 (patch)
tree5730cddbb9f449ff1f03e98bfdaf55c55d2b5dd3 /src/lib/ector/software/ector_software_gradient.h
parente2887ec2aaddb3176be180fc0bfc050508559773 (diff)
ector software: catch up losing tasks among the threads.
This is a subsequent change after 8465904c19ea3de2c94c25259ca6a75d0241b4f1. The major change is almost same but just for gradient stuff.
Diffstat (limited to 'src/lib/ector/software/ector_software_gradient.h')
-rw-r--r--src/lib/ector/software/ector_software_gradient.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/ector/software/ector_software_gradient.h b/src/lib/ector/software/ector_software_gradient.h
index 2cbf2f99d7..38731de97d 100644
--- a/src/lib/ector/software/ector_software_gradient.h
+++ b/src/lib/ector/software/ector_software_gradient.h
@@ -18,6 +18,10 @@
18#define FIXPT_BITS 8 18#define FIXPT_BITS 8
19#define FIXPT_SIZE (1<<FIXPT_BITS) 19#define FIXPT_SIZE (1<<FIXPT_BITS)
20 20
21#define CTABLE_NOT_READY 0
22#define CTABLE_PROCESSING 1
23#define CTABLE_READY_DONE 2
24
21static inline int 25static inline int
22_gradient_clamp(const Ector_Renderer_Software_Gradient_Data *data, int ipos) 26_gradient_clamp(const Ector_Renderer_Software_Gradient_Data *data, int ipos)
23{ 27{