diff options
author | Jean-Philippe Andre <jp.andre@samsung.com> | 2017-01-17 16:13:35 +0900 |
---|---|---|
committer | Jean-Philippe Andre <jp.andre@samsung.com> | 2017-04-14 11:26:42 +0900 |
commit | 0740010a061d15a4ecaa00dc21c10301e0af4847 (patch) | |
tree | ecd597c41438ca03a1f85cfb5a09bfbcffe6d094 /src/lib/evas/common | |
parent | f370ea803b977c245f173bae1b3b904e9bb68e38 (diff) |
evas filters: Move blend to software_generic (1/8)
This is an attempt at refactoring the filters code so I can
later implement GL support. This patch adds a few extra changes
to remove avoid calling functions of libevas from the software
engine: use the draw functions from static_libs/draw rather
than evas_common APIs.
Diffstat (limited to 'src/lib/evas/common')
-rw-r--r-- | src/lib/evas/common/evas_font_compress.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/evas/common/evas_font_compress.c b/src/lib/evas/common/evas_font_compress.c index e923e17251..3a0e90c64f 100644 --- a/src/lib/evas/common/evas_font_compress.c +++ b/src/lib/evas/common/evas_font_compress.c | |||
@@ -508,8 +508,8 @@ evas_common_font_glyph_draw(RGBA_Font_Glyph *fg, | |||
508 | // FIXME: Font draw not optimized for Alpha targets! SLOW! | 508 | // FIXME: Font draw not optimized for Alpha targets! SLOW! |
509 | // This is not pretty :) | 509 | // This is not pretty :) |
510 | 510 | ||
511 | Alpha_Gfx_Func func; | ||
512 | DATA8 *src8, *dst8; | 511 | DATA8 *src8, *dst8; |
512 | Draw_Func_Alpha func; | ||
513 | int row; | 513 | int row; |
514 | 514 | ||
515 | if (EINA_UNLIKELY(x < 0)) | 515 | if (EINA_UNLIKELY(x < 0)) |
@@ -534,7 +534,7 @@ evas_common_font_glyph_draw(RGBA_Font_Glyph *fg, | |||
534 | { | 534 | { |
535 | DATA8 *d = dst8 + ((row - y1) * dst_pitch); | 535 | DATA8 *d = dst8 + ((row - y1) * dst_pitch); |
536 | DATA8 *s = src8 + (row * w) + x1; | 536 | DATA8 *s = src8 + (row * w) + x1; |
537 | func(s, d, x2 - x1); | 537 | func(d, s, x2 - x1); |
538 | } | 538 | } |
539 | free(src8); | 539 | free(src8); |
540 | } | 540 | } |