1 #include "evas_common.h" /* Also includes international specific stuff */
2 #include "evas_private.h"
11 static int cpunum = 0;
12 static int _evas_soft_gen_log_dom = -1;
15 eng_output_dump(void *data __UNUSED__)
17 evas_common_image_image_all_unload();
18 evas_common_font_font_all_unload();
22 eng_context_new(void *data __UNUSED__)
24 return evas_common_draw_context_new();
28 eng_context_free(void *data __UNUSED__, void *context)
30 evas_common_draw_context_free(context);
34 eng_context_clip_set(void *data __UNUSED__, void *context, int x, int y, int w, int h)
36 evas_common_draw_context_set_clip(context, x, y, w, h);
40 eng_context_clip_clip(void *data __UNUSED__, void *context, int x, int y, int w, int h)
42 evas_common_draw_context_clip_clip(context, x, y, w, h);
46 eng_context_clip_unset(void *data __UNUSED__, void *context)
48 evas_common_draw_context_unset_clip(context);
52 eng_context_clip_get(void *data __UNUSED__, void *context, int *x, int *y, int *w, int *h)
54 *x = ((RGBA_Draw_Context *)context)->clip.x;
55 *y = ((RGBA_Draw_Context *)context)->clip.y;
56 *w = ((RGBA_Draw_Context *)context)->clip.w;
57 *h = ((RGBA_Draw_Context *)context)->clip.h;
58 return ((RGBA_Draw_Context *)context)->clip.use;
62 eng_context_color_set(void *data __UNUSED__, void *context, int r, int g, int b, int a)
64 evas_common_draw_context_set_color(context, r, g, b, a);
68 eng_context_color_get(void *data __UNUSED__, void *context, int *r, int *g, int *b, int *a)
70 *r = (int)(R_VAL(&((RGBA_Draw_Context *)context)->col.col));
71 *g = (int)(G_VAL(&((RGBA_Draw_Context *)context)->col.col));
72 *b = (int)(B_VAL(&((RGBA_Draw_Context *)context)->col.col));
73 *a = (int)(A_VAL(&((RGBA_Draw_Context *)context)->col.col));
78 eng_context_multiplier_set(void *data __UNUSED__, void *context, int r, int g, int b, int a)
80 evas_common_draw_context_set_multiplier(context, r, g, b, a);
84 eng_context_multiplier_unset(void *data __UNUSED__, void *context)
86 evas_common_draw_context_unset_multiplier(context);
90 eng_context_multiplier_get(void *data __UNUSED__, void *context, int *r, int *g, int *b, int *a)
92 *r = (int)(R_VAL(&((RGBA_Draw_Context *)context)->mul.col));
93 *g = (int)(G_VAL(&((RGBA_Draw_Context *)context)->mul.col));
94 *b = (int)(B_VAL(&((RGBA_Draw_Context *)context)->mul.col));
95 *a = (int)(A_VAL(&((RGBA_Draw_Context *)context)->mul.col));
96 return ((RGBA_Draw_Context *)context)->mul.use;
100 eng_context_mask_set(void *data __UNUSED__, void *context, void *mask, int x, int y, int w, int h)
102 evas_common_draw_context_set_mask(context, mask, x, y, w, h);
106 eng_context_mask_unset(void *data __UNUSED__, void *context)
108 evas_common_draw_context_unset_mask(context);
112 eng_context_mask_get(void *data __UNUSED__, void *context)
114 return ((RGBA_Draw_Context *)context)->mask.mask;
118 eng_context_cutout_add(void *data __UNUSED__, void *context, int x, int y, int w, int h)
120 evas_common_draw_context_add_cutout(context, x, y, w, h);
124 eng_context_cutout_clear(void *data __UNUSED__, void *context)
126 evas_common_draw_context_clear_cutouts(context);
130 eng_context_anti_alias_set(void *data __UNUSED__, void *context, unsigned char aa)
132 evas_common_draw_context_set_anti_alias(context, aa);
136 eng_context_anti_alias_get(void *data __UNUSED__, void *context)
138 return ((RGBA_Draw_Context *)context)->anti_alias;
142 eng_context_color_interpolation_set(void *data __UNUSED__, void *context, int color_space)
144 evas_common_draw_context_set_color_interpolation(context, color_space);
148 eng_context_color_interpolation_get(void *data __UNUSED__, void *context)
150 return ((RGBA_Draw_Context *)context)->interpolation.color_space;
154 eng_context_render_op_set(void *data __UNUSED__, void *context, int op)
156 evas_common_draw_context_set_render_op(context, op);
160 eng_context_render_op_get(void *data __UNUSED__, void *context)
162 return ((RGBA_Draw_Context *)context)->render_op;
168 eng_rectangle_draw(void *data __UNUSED__, void *context, void *surface, int x, int y, int w, int h)
170 #ifdef BUILD_PIPE_RENDER
172 #ifdef EVAS_FRAME_QUEUING
173 && evas_common_frameq_enabled()
176 evas_common_pipe_rectangle_draw(surface, context, x, y, w, h);
180 evas_common_rectangle_draw(surface, context, x, y, w, h);
181 evas_common_cpu_end_opt();
186 eng_line_draw(void *data __UNUSED__, void *context, void *surface, int x1, int y1, int x2, int y2)
188 #ifdef BUILD_PIPE_RENDER
190 #ifdef EVAS_FRAME_QUEUING
191 && evas_common_frameq_enabled()
194 evas_common_pipe_line_draw(surface, context, x1, y1, x2, y2);
198 evas_common_line_draw(surface, context, x1, y1, x2, y2);
199 evas_common_cpu_end_opt();
204 eng_polygon_point_add(void *data __UNUSED__, void *context __UNUSED__, void *polygon, int x, int y)
206 return evas_common_polygon_point_add(polygon, x, y);
210 eng_polygon_points_clear(void *data __UNUSED__, void *context __UNUSED__, void *polygon)
212 return evas_common_polygon_points_clear(polygon);
216 eng_polygon_draw(void *data __UNUSED__, void *context, void *surface, void *polygon, int x, int y)
218 #ifdef BUILD_PIPE_RENDER
220 #ifdef EVAS_FRAME_QUEUING
221 && evas_common_frameq_enabled()
224 evas_common_pipe_poly_draw(surface, context, polygon, x, y);
228 evas_common_polygon_draw(surface, context, polygon, x, y);
229 evas_common_cpu_end_opt();
234 eng_image_alpha_get(void *data __UNUSED__, void *image)
238 if (!image) return 1;
242 case EVAS_COLORSPACE_ARGB8888:
243 if (im->flags.alpha) return 1;
251 eng_image_colorspace_get(void *data __UNUSED__, void *image)
255 if (!image) return EVAS_COLORSPACE_ARGB8888;
261 eng_image_mask_create(void *data __UNUSED__, void *image)
270 if (im->mask.mask && !im->mask.dirty) return;
272 if (im->mask.mask) free(im->mask.mask);
273 sz = im->cache_entry.w * im->cache_entry.h;
274 im->mask.mask = malloc(sz);
277 evas_cache_image_load_data(&im->cache_entry);
278 src = im->image.data;
279 for (end = dst + sz ; dst < end ; dst ++, src ++)
286 eng_image_alpha_set(void *data __UNUSED__, void *image, int has_alpha)
290 if (!image) return NULL;
292 if (im->cache_entry.space != EVAS_COLORSPACE_ARGB8888)
294 im->cache_entry.flags.alpha = 0;
297 im = (RGBA_Image *) evas_cache_image_alone(&im->cache_entry);
298 evas_common_image_colorspace_dirty(im);
300 im->cache_entry.flags.alpha = has_alpha ? 1 : 0;
305 eng_image_border_set(void *data __UNUSED__, void *image, int l __UNUSED__, int r __UNUSED__, int t __UNUSED__, int b __UNUSED__)
314 eng_image_border_get(void *data __UNUSED__, void *image, int *l __UNUSED__, int *r __UNUSED__, int *t __UNUSED__, int *b __UNUSED__)
322 eng_image_comment_get(void *data __UNUSED__, void *image, char *key __UNUSED__)
326 if (!image) return NULL;
328 return im->info.comment;
332 eng_image_format_get(void *data __UNUSED__, void *image __UNUSED__)
338 eng_image_colorspace_set(void *data __UNUSED__, void *image, int cspace)
344 evas_cache_image_colorspace(im, cspace);
348 eng_image_native_set(void *data __UNUSED__, void *image, void *native __UNUSED__)
354 eng_image_native_get(void *data __UNUSED__, void *image __UNUSED__)
360 eng_image_load(void *data __UNUSED__, const char *file, const char *key, int *error, Evas_Image_Load_Opts *lo)
362 *error = EVAS_LOAD_ERROR_NONE;
363 return evas_common_load_image_from_file(file, key, lo, error);
367 eng_image_new_from_data(void *data __UNUSED__, int w, int h, DATA32 *image_data, int alpha, int cspace)
369 return evas_cache_image_data(evas_common_image_cache_get(), w, h, image_data, alpha, cspace);
373 eng_image_new_from_copied_data(void *data __UNUSED__, int w, int h, DATA32 *image_data, int alpha, int cspace)
375 return evas_cache_image_copied_data(evas_common_image_cache_get(), w, h, image_data, alpha, cspace);
379 eng_image_free(void *data __UNUSED__, void *image)
381 evas_cache_image_drop(image);
385 eng_image_size_get(void *data __UNUSED__, void *image, int *w, int *h)
395 eng_image_size_set(void *data __UNUSED__, void *image, int w, int h)
400 return evas_cache_image_size_set(image, w, h);
404 eng_image_dirty_region(void *data __UNUSED__, void *image, int x, int y, int w, int h)
406 Image_Entry *im = image;
408 if (!image) return NULL;
409 return evas_cache_image_dirty(im, x, y, w, h);
413 eng_image_data_get(void *data __UNUSED__, void *image, int to_write, DATA32 **image_data)
423 evas_cache_image_load_data(&im->cache_entry);
424 switch (im->cache_entry.space)
426 case EVAS_COLORSPACE_ARGB8888:
428 im = (RGBA_Image *) evas_cache_image_alone(&im->cache_entry);
429 *image_data = im->image.data;
431 case EVAS_COLORSPACE_YCBCR422P601_PL:
432 case EVAS_COLORSPACE_YCBCR422P709_PL:
433 *image_data = im->cs.data;
443 eng_image_data_put(void *data, void *image, DATA32 *image_data)
445 RGBA_Image *im, *im2;
447 if (!image) return NULL;
449 switch (im->cache_entry.space)
451 case EVAS_COLORSPACE_ARGB8888:
452 if (image_data != im->image.data)
456 w = im->cache_entry.w;
457 h = im->cache_entry.h;
458 im2 = eng_image_new_from_data(data, w, h, image_data,
459 eng_image_alpha_get(data, image),
460 eng_image_colorspace_get(data, image));
461 evas_cache_image_drop(&im->cache_entry);
465 case EVAS_COLORSPACE_YCBCR422P601_PL:
466 case EVAS_COLORSPACE_YCBCR422P709_PL:
467 if (image_data != im->cs.data)
471 if (!im->cs.no_free) free(im->cs.data);
473 im->cs.data = image_data;
474 evas_common_image_colorspace_dirty(im);
485 eng_image_data_preload_request(void *data __UNUSED__, void *image, const void *target)
487 RGBA_Image *im = image;
490 evas_cache_image_preload_data(&im->cache_entry, target);
494 eng_image_data_preload_cancel(void *data __UNUSED__, void *image, const void *target)
496 RGBA_Image *im = image;
499 evas_cache_image_preload_cancel(&im->cache_entry, target);
503 eng_image_draw(void *data __UNUSED__, void *context, void *surface, void *image, int src_x, int src_y, int src_w, int src_h, int dst_x, int dst_y, int dst_w, int dst_h, int smooth)
509 #ifdef BUILD_PIPE_RENDER
511 #ifdef EVAS_FRAME_QUEUING
512 && evas_common_frameq_enabled()
516 evas_common_rgba_image_scalecache_prepare((Image_Entry *)(im),
517 surface, context, smooth,
518 src_x, src_y, src_w, src_h,
519 dst_x, dst_y, dst_w, dst_h);
521 evas_common_pipe_image_draw(im, surface, context, smooth,
522 src_x, src_y, src_w, src_h,
523 dst_x, dst_y, dst_w, dst_h);
528 // if (im->cache_entry.space == EVAS_COLORSPACE_ARGB8888)
529 // evas_cache_image_load_data(&im->cache_entry);
530 // evas_common_image_colorspace_normalize(im);
531 evas_common_rgba_image_scalecache_prepare(&im->cache_entry, surface, context, smooth,
532 src_x, src_y, src_w, src_h,
533 dst_x, dst_y, dst_w, dst_h);
534 evas_common_rgba_image_scalecache_do(&im->cache_entry, surface, context, smooth,
535 src_x, src_y, src_w, src_h,
536 dst_x, dst_y, dst_w, dst_h);
539 evas_common_scale_rgba_in_to_out_clip_smooth(im, surface, context,
540 src_x, src_y, src_w, src_h,
541 dst_x, dst_y, dst_w, dst_h);
543 evas_common_scale_rgba_in_to_out_clip_sample(im, surface, context,
544 src_x, src_y, src_w, src_h,
545 dst_x, dst_y, dst_w, dst_h);
547 evas_common_cpu_end_opt();
552 eng_image_map_draw(void *data __UNUSED__, void *context, void *surface, void *image, int npoints, RGBA_Map_Point *p, int smooth, int level)
557 if (npoints < 3) return;
560 if ((p[0].x == p[3].x) &&
561 (p[1].x == p[2].x) &&
562 (p[0].y == p[1].y) &&
563 (p[3].y == p[2].y) &&
564 (p[0].x <= p[1].x) &&
565 (p[0].y <= p[2].y) &&
568 (p[1].u == (int)(im->cache_entry.w << FP)) &&
570 (p[2].u == (int)(im->cache_entry.w << FP)) &&
571 (p[2].v == (int)(im->cache_entry.h << FP)) &&
573 (p[3].v == (int)(im->cache_entry.h << FP)) &&
574 (p[0].col == 0xffffffff) &&
575 (p[1].col == 0xffffffff) &&
576 (p[2].col == 0xffffffff) &&
577 (p[3].col == 0xffffffff))
583 dw = (p[2].x >> FP) - dx;
584 dh = (p[2].y >> FP) - dy;
586 (data, context, surface, image,
587 0, 0, im->cache_entry.w, im->cache_entry.h,
588 dx, dy, dw, dh, smooth);
592 #ifdef BUILD_PIPE_RENDER
594 # ifdef EVAS_FRAME_QUEUING
595 && evas_common_frameq_enabled()
598 evas_common_pipe_map_draw(im, surface, context, npoints, p, smooth, level);
601 evas_common_map_rgba(im, surface, context, npoints, p, smooth, level);
603 evas_common_cpu_end_opt();
607 eng_image_map_draw(data, context, surface, image, npoints - 2, p + 2,
613 eng_image_map_surface_new(void *data __UNUSED__, int w, int h, int alpha)
617 surface = evas_cache_image_copied_data(evas_common_image_cache_get(),
619 EVAS_COLORSPACE_ARGB8888);
620 pixels = evas_cache_image_pixels(surface);
625 eng_image_map_surface_free(void *data __UNUSED__, void *surface)
627 evas_cache_image_drop(surface);
631 eng_image_scale_hint_set(void *data __UNUSED__, void *image, int hint)
637 im->scale_hint = hint;
641 eng_image_scale_hint_get(void *data __UNUSED__, void *image)
645 if (!image) return EVAS_IMAGE_SCALE_HINT_NONE;
647 return im->scale_hint;
651 eng_image_cache_flush(void *data __UNUSED__)
655 tmp_size = evas_common_image_get_cache();
656 evas_common_image_set_cache(0);
657 evas_common_rgba_image_scalecache_flush();
658 evas_common_image_set_cache(tmp_size);
662 eng_image_cache_set(void *data __UNUSED__, int bytes)
664 evas_common_image_set_cache(bytes);
665 evas_common_rgba_image_scalecache_size_set(bytes);
669 eng_image_cache_get(void *data __UNUSED__)
671 return evas_common_image_get_cache();
675 eng_font_load(void *data __UNUSED__, const char *name, int size)
677 return evas_common_font_load(name, size);
681 eng_font_memory_load(void *data __UNUSED__, char *name, int size, const void *fdata, int fdata_size)
683 return evas_common_font_memory_load(name, size, fdata, fdata_size);
687 eng_font_add(void *data __UNUSED__, void *font, const char *name, int size)
689 return evas_common_font_add(font, name, size);
693 eng_font_memory_add(void *data __UNUSED__, void *font, char *name, int size, const void *fdata, int fdata_size)
695 return evas_common_font_memory_add(font, name, size, fdata, fdata_size);
699 eng_font_free(void *data __UNUSED__, void *font)
701 evas_common_font_free(font);
705 eng_font_ascent_get(void *data __UNUSED__, void *font)
707 return evas_common_font_ascent_get(font);
711 eng_font_descent_get(void *data __UNUSED__, void *font)
713 return evas_common_font_descent_get(font);
717 eng_font_max_ascent_get(void *data __UNUSED__, void *font)
719 return evas_common_font_max_ascent_get(font);
723 eng_font_max_descent_get(void *data __UNUSED__, void *font)
725 return evas_common_font_max_descent_get(font);
729 eng_font_string_size_get(void *data __UNUSED__, void *font, const Eina_Unicode *text, const Evas_Text_Props *text_props, int *w, int *h)
731 evas_common_font_query_size(font, text, text_props, w, h);
735 eng_font_inset_get(void *data __UNUSED__, void *font, const Evas_Text_Props *text_props)
737 return evas_common_font_query_inset(font, text_props);
741 eng_font_right_inset_get(void *data __UNUSED__, void *font, const Evas_Text_Props *text_props)
743 return evas_common_font_query_right_inset(font, text_props);
747 eng_font_h_advance_get(void *data __UNUSED__, void *font, const Eina_Unicode *text, const Evas_Text_Props *text_props)
751 evas_common_font_query_advance(font, text, text_props, &h, &v);
756 eng_font_v_advance_get(void *data __UNUSED__, void *font, const Eina_Unicode *text, const Evas_Text_Props *text_props)
760 evas_common_font_query_advance(font, text, text_props, &h, &v);
765 eng_font_pen_coords_get(void *data __UNUSED__, void *font, const Eina_Unicode *text, const Evas_Text_Props *text_props, int pos, int *cpen_x, int *cy, int *cadv, int *ch)
767 return evas_common_font_query_pen_coords(font, text, text_props, pos, cpen_x, cy, cadv, ch);
771 eng_font_text_props_info_create(void *data __UNUSED__, void *font, Eina_Unicode *text, Evas_Text_Props *text_props, const Evas_BiDi_Paragraph_Props *par_props, size_t pos, size_t len)
779 #if !defined(OT_SUPPORT) && defined(BIDI_SUPPORT)
780 evas_bidi_shape_string(text, par_props, pos, len);
782 return evas_common_text_props_content_create(font, text, text_props, len);
786 eng_font_char_coords_get(void *data __UNUSED__, void *font, const Eina_Unicode *text, const Evas_Text_Props *text_props, int pos, int *cx, int *cy, int *cw, int *ch)
788 return evas_common_font_query_char_coords(font, text, text_props, pos, cx, cy, cw, ch);
792 eng_font_char_at_coords_get(void *data __UNUSED__, void *font, const Eina_Unicode *text, const Evas_Text_Props *text_props, int x, int y, int *cx, int *cy, int *cw, int *ch)
794 return evas_common_font_query_char_at_coords(font, text, text_props, x, y, cx, cy, cw, ch);
798 eng_font_last_up_to_pos(void *data __UNUSED__, void *font, const Eina_Unicode *text, const Evas_Text_Props *text_props, int x, int y)
800 return evas_common_font_query_last_up_to_pos(font, text, text_props, x, y);
804 eng_font_draw(void *data __UNUSED__, void *context, void *surface, void *font, int x, int y, int w __UNUSED__, int h __UNUSED__, int ow __UNUSED__, int oh __UNUSED__, const Eina_Unicode *text, const Evas_Text_Props *text_props)
806 #ifdef BUILD_PIPE_RENDER
808 #ifdef EVAS_FRAME_QUEUING
809 && evas_common_frameq_enabled()
812 evas_common_pipe_text_draw(surface, context, font, x, y, text, text_props);
816 evas_common_font_draw(surface, context, font, x, y, text, text_props);
817 evas_common_cpu_end_opt();
822 eng_font_cache_flush(void *data __UNUSED__)
826 tmp_size = evas_common_font_cache_get();
827 evas_common_font_cache_set(0);
828 evas_common_font_flush();
829 evas_common_font_cache_set(tmp_size);
833 eng_font_cache_set(void *data __UNUSED__, int bytes)
835 evas_common_font_cache_set(bytes);
839 eng_font_cache_get(void *data __UNUSED__)
841 return evas_common_font_cache_get();
845 eng_font_hinting_set(void *data __UNUSED__, void *font, int hinting)
847 evas_common_font_hinting_set(font, hinting);
851 eng_font_hinting_can_hint(void *data __UNUSED__, int hinting)
853 return evas_common_hinting_available(hinting);
857 eng_canvas_alpha_get(void *data __UNUSED__, void *info __UNUSED__)
870 static Evas_Func func =
886 /* draw context virtual methods */
888 eng_canvas_alpha_get,
890 eng_context_clip_set,
891 eng_context_clip_clip,
892 eng_context_clip_unset,
893 eng_context_clip_get,
894 eng_context_mask_set,
895 eng_context_mask_unset,
896 eng_context_color_set,
897 eng_context_color_get,
898 eng_context_multiplier_set,
899 eng_context_multiplier_unset,
900 eng_context_multiplier_get,
901 eng_context_cutout_add,
902 eng_context_cutout_clear,
903 eng_context_anti_alias_set,
904 eng_context_anti_alias_get,
905 eng_context_color_interpolation_set,
906 eng_context_color_interpolation_get,
907 eng_context_render_op_set,
908 eng_context_render_op_get,
909 /* rect draw funcs */
911 /* line draw funcs */
913 /* polygon draw funcs */
914 eng_polygon_point_add,
915 eng_polygon_points_clear,
917 /* image draw funcs */
919 eng_image_new_from_data,
920 eng_image_new_from_copied_data,
925 eng_image_dirty_region,
928 eng_image_data_preload_request,
929 eng_image_data_preload_cancel,
932 eng_image_border_set,
933 eng_image_border_get,
935 eng_image_comment_get,
936 eng_image_format_get,
937 eng_image_colorspace_set,
938 eng_image_colorspace_get,
939 eng_image_mask_create,
940 eng_image_native_set,
941 eng_image_native_get,
942 /* image cache funcs */
943 eng_image_cache_flush,
946 /* font draw functions */
948 eng_font_memory_load,
953 eng_font_descent_get,
954 eng_font_max_ascent_get,
955 eng_font_max_descent_get,
956 eng_font_string_size_get,
958 eng_font_h_advance_get,
959 eng_font_v_advance_get,
960 eng_font_char_coords_get,
961 eng_font_char_at_coords_get,
963 /* font cache functions */
964 eng_font_cache_flush,
967 /* font hinting functions */
968 eng_font_hinting_set,
969 eng_font_hinting_can_hint,
970 eng_image_scale_hint_set,
971 eng_image_scale_hint_get,
972 /* more font draw functions */
973 eng_font_last_up_to_pos,
975 eng_image_map_surface_new,
976 eng_image_map_surface_free,
977 NULL, // eng_image_content_hint_set - software doesn't use it
978 NULL, // eng_image_content_hint_get - software doesn't use it
979 eng_font_pen_coords_get,
980 eng_font_text_props_info_create,
981 eng_font_right_inset_get,
982 NULL, // FIXME: need software mesa for gl rendering <- gl_surface_create
983 NULL, // FIXME: need software mesa for gl rendering <- gl_surface_destroy
984 NULL, // FIXME: need software mesa for gl rendering <- gl_context_create
985 NULL, // FIXME: need software mesa for gl rendering <- gl_context_destroy
986 NULL, // FIXME: need software mesa for gl rendering <- gl_make_current
987 NULL, // FIXME: need software mesa for gl rendering <- gl_proc_address_get
988 NULL // FIXME: need software mesa for gl rendering <- gl_native_surface_get
989 /* FUTURE software generic calls go here */
995 ** MODULE ACCESSIBLE API API
1001 module_open(Evas_Module *em)
1004 _evas_soft_gen_log_dom = eina_log_domain_register
1005 ("evas-software_generic", EVAS_DEFAULT_LOG_COLOR);
1006 if(_evas_soft_gen_log_dom<0)
1008 EINA_LOG_ERR("Can not create a module log domain.");
1011 em->functions = (void *)(&func);
1012 cpunum = eina_cpu_count();
1017 module_close(Evas_Module *em __UNUSED__)
1019 eina_log_domain_unregister(_evas_soft_gen_log_dom);
1022 static Evas_Module_Api evas_modapi =
1024 EVAS_MODULE_API_VERSION,
1033 EVAS_MODULE_DEFINE(EVAS_MODULE_TYPE_ENGINE, engine, software_generic);
1035 #ifndef EVAS_STATIC_BUILD_SOFTWARE_GENERIC
1036 EVAS_EINA_MODULE_DEFINE(engine, software_generic);