forked from enlightenment/efl
ector: add FIXME for coming issues.
We have no any test resouce but it seems very weird code... Leave a comment for future task.
This commit is contained in:
parent
f90c8b8910
commit
c5b88ca745
|
@ -284,6 +284,7 @@ _blend_gradient(int count, const SW_FT_Span *spans, void *user_data)
|
||||||
while (length)
|
while (length)
|
||||||
{
|
{
|
||||||
l = MIN(length, BLEND_GRADIENT_BUFFER_SIZE);
|
l = MIN(length, BLEND_GRADIENT_BUFFER_SIZE);
|
||||||
|
//FIXME: span->x must have adding an offset as much as subtracted length...
|
||||||
fetchfunc(buffer, sd, spans->y, spans->x, l);
|
fetchfunc(buffer, sd, spans->y, spans->x, l);
|
||||||
comp_func(target, buffer, l, sd->mul_col, spans->coverage);
|
comp_func(target, buffer, l, sd->mul_col, spans->coverage);
|
||||||
target += l;
|
target += l;
|
||||||
|
@ -323,6 +324,7 @@ _blend_gradient_alpha(int count, const SW_FT_Span *spans, void *user_data)
|
||||||
while (length)
|
while (length)
|
||||||
{
|
{
|
||||||
int l = MIN(length, BLEND_GRADIENT_BUFFER_SIZE);
|
int l = MIN(length, BLEND_GRADIENT_BUFFER_SIZE);
|
||||||
|
//FIXME: span->x must have adding an offset as much as subtracted length...
|
||||||
fetchfunc(gbuffer, sd, spans->y, spans->x, l);
|
fetchfunc(gbuffer, sd, spans->y, spans->x, l);
|
||||||
uint32_t *temp = gbuffer;
|
uint32_t *temp = gbuffer;
|
||||||
|
|
||||||
|
@ -371,6 +373,7 @@ _blend_gradient_alpha_inv(int count, const SW_FT_Span *spans, void *user_data)
|
||||||
while (length)
|
while (length)
|
||||||
{
|
{
|
||||||
int l = MIN(length, BLEND_GRADIENT_BUFFER_SIZE);
|
int l = MIN(length, BLEND_GRADIENT_BUFFER_SIZE);
|
||||||
|
//FIXME: span->x must have adding an offset as much as subtracted length...
|
||||||
fetchfunc(gbuffer, sd, spans->y, spans->x, l);
|
fetchfunc(gbuffer, sd, spans->y, spans->x, l);
|
||||||
uint32_t *temp = gbuffer;
|
uint32_t *temp = gbuffer;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue