evas gl: make 9 patch work 44/248044/1 accepted/tizen/unified/20201124.123027 submit/tizen/20201122.211513
authorShinwoo Kim <cinoo.kim@samsung.com>
Fri, 20 Nov 2020 02:22:54 +0000 (11:22 +0900)
committerShinwoo Kim <cinoo.kim@samsung.com>
Fri, 20 Nov 2020 03:10:45 +0000 (12:10 +0900)
commitdfd0a7997fcc5309ccffd7ce289d74a3382e6320
treefaec34cd1d7a0b0d6479fe952275c2c4a694b433
parent29569710bfe4978fd5e8b5915a72364f09e8d637
evas gl: make 9 patch work

Summary:
The 9 patch is using image_stretch_region_get, but GL did not override it.
So the 9 patch did not work for GL engine at all.

Test Plan:
Evas_Object*img = evas_object_image_filled_add(evas);
evas_object_image_file_set(img, "test.9.png", 0);
evas_object_show(img);

Reviewers: Hermet, jsuya, herb, cedric

Reviewed By: Hermet

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D12192

Change-Id: I3e455a9d0b89a82c3cf2f16683454d2e7c120e43
src/modules/evas/engines/gl_generic/evas_engine.c