evas: clean up GL images for emojis when GL context is free'd in shutdown process 10/116710/1
authorYoungbok Shin <youngb.shin@samsung.com>
Sun, 26 Feb 2017 04:34:38 +0000 (13:34 +0900)
committerYoungbok Shin <youngb.shin@samsung.com>
Tue, 28 Feb 2017 01:51:56 +0000 (17:51 -0800)
commit0165f5b957c54f8ce0643a0616a0a27c1fc2319b
tree1044f557f8eb9ec2972f23c10a83b333cbd9be65
parent40610094df72410c42af1b5b9bfa44892c80f8b8
evas: clean up GL images for emojis when GL context is free'd in shutdown process

If GL context is free'd before processing font shutdown,
textures for emoji glyph's GL images will be free'd without clean up its GL images.
It causes eina mempool infinite loop issue when emoji's GL images are free'd
in shutdown process.
So, the patch will make a list for emoji's GL images in context and clean up them
when the context is free'd. Just like font textures in context.

@tizen_fix

Change-Id: I3904f9aff74888e227a4f2143c4ff607ebb82415
(cherry picked from commit cecaf12a3bea725b53041126031c58035d76dfd1)
src/lib/evas/common/evas_draw.h
src/lib/evas/common/evas_draw_main.c
src/lib/evas/common/evas_font_draw.c
src/lib/evas/include/evas_common_private.h
src/modules/evas/engines/gl_common/evas_gl_common.h
src/modules/evas/engines/gl_common/evas_gl_context.c
src/modules/evas/engines/gl_common/evas_gl_image.c