Evas filters: Remove (never implemented) motion blur

This commit is contained in:
Jean-Philippe Andre 2014-01-08 11:12:03 +09:00
parent 209a7077a0
commit e08a8fd934
3 changed files with 1 additions and 5 deletions

View File

@ -608,7 +608,6 @@ evas_filter_command_blur_add(Evas_Filter_Context *ctx, void *drawctx,
if (dy < 0) dy = 0;
if (!dx && !dy) goto fail;
break;
case EVAS_FILTER_BLUR_MOTION:
default:
CRI("Not implemented yet!");
goto fail;

View File

@ -1490,8 +1490,6 @@ _instr2cmd_blur(Evas_Filter_Context *ctx, Evas_Filter_Program *pgm,
type = EVAS_FILTER_BLUR_GAUSSIAN;
else if (!strcasecmp(typestr, "box"))
type = EVAS_FILTER_BLUR_BOX;
else if (!strcasecmp(typestr, "motion"))
type = EVAS_FILTER_BLUR_MOTION;
else if (!strcasecmp(typestr, "default"))
type = EVAS_FILTER_BLUR_DEFAULT;
else

View File

@ -38,8 +38,7 @@ enum _Evas_Filter_Mode
enum _Evas_Filter_Blur_Type
{
EVAS_FILTER_BLUR_GAUSSIAN = 0x0, // Gaussian or sine curve. O(nm)
EVAS_FILTER_BLUR_BOX = 0x1, // Optimizable. But, UGLY. O(n)
EVAS_FILTER_BLUR_MOTION = 0x2, // Not implemented
EVAS_FILTER_BLUR_BOX = 0x1, // Optimizable on CPU. But, UGLY. O(n)
EVAS_FILTER_BLUR_LAST,
EVAS_FILTER_BLUR_DEFAULT = EVAS_FILTER_BLUR_GAUSSIAN
};