Evas GL: Add indirect surface fallback and yinvert callback 49/47449/4
authorDongyeon Kim <dy5.kim@samsung.com>
Fri, 17 Apr 2015 06:56:14 +0000 (15:56 +0900)
committerDaeKwang Ryu <dkdk.ryu@samsung.com>
Wed, 16 Sep 2015 12:06:09 +0000 (21:06 +0900)
commit0f562086227e8e40910dda086f6db8ac19a2c24e
tree5519ef11e2110c1495a638a92e230a468bd682e1
parent9fab530ab5aa08e9204a4e8cb3942c0a3dda8bfa
Evas GL: Add indirect surface fallback and yinvert callback

Summary:
When either FBO or EGL image from texture extension is not supported,
we can use pixmap surface as indirect surface fallback.
Since native pixmaps have (0,0) in the upper left while
FBOs have (0,0) in the lower left, we should invert the y coordinates
when native pixmaps are used as the render target.
To accomodate run-time y-invert check we add a new callback for
EVAS_NATIVE_SURFACE_EVASGL type.

Change-Id: I7d7dcb0b96589692f1171ad01b14de4804d28d83
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_core.c
src/modules/evas/engines/gl_common/evas_gl_core.h
src/modules/evas/engines/gl_common/evas_gl_core_private.h
src/modules/evas/engines/gl_x11/evas_engine.c