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:
Hermet Park 2019-09-04 20:01:53 +09:00
parent f90c8b8910
commit c5b88ca745
1 changed files with 3 additions and 0 deletions

View File

@ -284,6 +284,7 @@ _blend_gradient(int count, const SW_FT_Span *spans, void *user_data)
while (length)
{
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);
comp_func(target, buffer, l, sd->mul_col, spans->coverage);
target += l;
@ -323,6 +324,7 @@ _blend_gradient_alpha(int count, const SW_FT_Span *spans, void *user_data)
while (length)
{
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);
uint32_t *temp = gbuffer;
@ -371,6 +373,7 @@ _blend_gradient_alpha_inv(int count, const SW_FT_Span *spans, void *user_data)
while (length)
{
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);
uint32_t *temp = gbuffer;